BASS.NET API for the Un4seen BASS Audio LibraryBassVstBASS_VST_GetInfo Method (Int32, BASS_VST_INFO)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.12.0
Syntax

[DllImportAttribute("bass_vst.dll", CharSet = CharSet.Auto)]
public static bool BASS_VST_GetInfo(
	int vstHandle,
	BASS_VST_INFO ret
)

Parameters

vstHandle
Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).
ret
Type: Un4seen.Bass.AddOn.VstBASS_VST_INFO
An instance of the BASS_VST_INFO where to store the parameter information at.

Return Value

Type: Boolean
If successful, 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

VB
Dim vstInfo As New BASS_VST_INFO()
If BassVst.BASS_VST_GetInfo(vstHandle, vstInfo) Then
  Console.WriteLine(vstInfo.ToString())
End If
BASS_VST_INFO vstInfo = new BASS_VST_INFO();
if ( BassVst.BASS_VST_GetInfo(vstHandle, vstInfo))
    Console.WriteLine(vstInfo.ToString());
See Also

Reference