Restores all default values for all VST effect parameters (on the current selected program).
Namespace: Un4seen.Bass.AddOn.Vst
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- vstHandle
- Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).
Remarks
Examples
// assign a Vst effect to a channel int vst = BassVst.BASS_VST_ChannelSetDSP(_stream, "C:\\VstPlugins\\Ambience.dll", BASSVSTDsp.BASS_VST_DEFAULT, 0); // change some parameters (e.g. #1 to 0.75) BassVst.BASS_VST_SetParam(vst, 1, 0.75f); // restore all parameters to it's default values BassVst.BASS_VST_SetParamRestoreDefaults(vst);
See Also