Assembly: Bass.Net (in Bass.Net.dll) Version: 188.8.131.52
public static BASS_VST_INFO BASS_VST_GetInfo( int vstHandle )
Public Shared Function BASS_VST_GetInfo ( vstHandle As Integer ) As BASS_VST_INFO
- Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).
Return ValueType: 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.
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 Console.WriteLine(vstInfo.ToString()) End If
BASS_VST_INFO vstInfo = BassVst.BASS_VST_GetInfo(vstHandle); if (vstInfo != null) Console.WriteLine(vstInfo.ToString());