Returns the currently selected plugin module of a Winamp DSP.
Namespace: Un4seen.Bass.AddOn.WaDsp
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- plugin
- Type: SystemInt32
The plugin handle (returned by BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).
Return Value
Type: Int32The selected module number (first = 0), or -1, if an error occured. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | The plugin is not a valid plugin handle. |
BASS_ERROR_START | BASS_WADSP_Start(Int32, Int32, Int32) was not called (no module selected so far). |
See Also