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
[DllImportAttribute("bass_vst")] 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: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
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 = new BASS_VST_INFO(); if ( BassVst.BASS_VST_GetInfo(vstHandle, vstInfo)) Console.WriteLine(vstInfo.ToString());
See Also