BASS.NET API for the Un4seen BASS Audio Library

BassVstBASS_VST_GetInfo Method (Int32)

BASS.NET API for the Un4seen BASS Audio Library
Gets general information about a VST effect plugin.

Namespace:  Un4seen.Bass.AddOn.Vst
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public static BASS_VST_INFO BASS_VST_GetInfo(
	int vstHandle
)

Parameters

vstHandle
Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).

Return Value

Type: BASS_VST_INFO
If successful, an instance of the BASS_VST_INFO is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

Some words to the number of input/output channels:

VST effects that have no input channels (so called "Instruments") are not loaded by BASS_VST. So you can assume chansIn and chansOut to be at least 1.

Multi-channel streams should work correctly, if supported by a effect. If not, only the first chansIn channels are processed by the effect, the other ones stay unaffected. The opposite, eg. assigning multi-channel effects to stereo channels, should be no problem at all.

If mono effects are assigned to stereo channels, the result will be mono, expanded to both channels. This behaviour can be switched of using the BASS_VST_KEEP_CHANS in BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).

Examples

BASS_VST_INFO vstInfo = BassVst.BASS_VST_GetInfo(vstHandle);
if (vstInfo != null)
    Console.WriteLine(vstInfo.ToString());
See Also

Reference