Sets the VST plug-in state with a plain byte array (memory chunk storage).
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). - isPreset
- Type: SystemBoolean
when restoring a single program; for all programs. - chunk
- Type: SystemByte
The byte array containing the memory chunk storage to set.
Return Value
Type: Int32The number of bytes written.
Remarks
After restoring a plug-in state you might need to retrieve the program names again (see BASS_VST_GetProgramName(Int32, Int32) resp. BASS_VST_GetProgramCount(Int32)) as they might have changed.
See Also