BASS.NET API for the Un4seen BASS Audio LibraryBassVstBASS_VST_ChannelFree Method BASS.NET API for the Un4seen BASS Audio Library
Deletes and frees a VST instrument channel.

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_ChannelFree(
	int vstHandle
)

Parameters

vstHandle
Type: SystemInt32
The VSTi channel to delete (as created by BASS_VST_ChannelCreate(Int32, Int32, String, BASSFlag)).

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

Note, that you cannot delete VST effects assigned to this channels this way; for this purpose, please call BASS_VST_ChannelRemoveDSP(Int32, Int32).
See Also

Reference