BASS.NET API for the Un4seen BASS Audio Library

BassVstBASS_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.17.5
Syntax

[DllImportAttribute("bass_vst")]
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