BASS.NET API for the Un4seen BASS Audio LibraryBassVstBASS_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:

public static BASS_VST_INFO BASS_VST_GetInfo(
	int vstHandle


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

Return Value

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

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).


Dim vstInfo As BASS_VST_INFO = BassVst.BASS_VST_GetInfo(vstHandle)
If Not (vstInfo Is Nothing) Then
End If
BASS_VST_INFO vstInfo = BassVst.BASS_VST_GetInfo(vstHandle);
if (vstInfo != null)
See Also