BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_Stop Method BASS.NET API for the Un4seen BASS Audio Library
Stops a Winamp DSP.

Namespace: Un4seen.Bass.AddOn.WaDsp
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("bass_wadsp.dll", CharSet = CharSet.Auto)]
public static bool BASS_WADSP_Stop(
	int plugin
)

Parameters

plugin
Type: SystemInt32
The plugin handle (returned by BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).

Return Value

Type: Boolean
on success, else . Use BASS_ErrorGetCode to get the error code.
Remarks

If the Winamp DSP was already assigned to a channel using BASS_WADSP_ChannelSetDSP(Int32, Int32, Int32) the DSP will be removed automatically from the channel when it is stopped.

ERROR CODEDescription
BASS_ERROR_HANDLEThe plugin is not a valid plugin handle.
BASS_ERROR_STARTBASS_WADSP_Start(Int32, Int32, Int32) has not been called before.

See Also

Reference