BASS.NET API for the Un4seen BASS Audio Library

BassWaDspBASS_WADSP_GetModuleCount Method

BASS.NET API for the Un4seen BASS Audio Library
Returns the number of modules contained in the loaded Winamp DSP.

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

[DllImportAttribute("bass_wadsp")]
public static int BASS_WADSP_GetModuleCount(
	int plugin
)

Parameters

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

Return Value

Type: Int32
The number of available modules or -1 if an error occured. Use BASS_ErrorGetCode to get the error code.
Remarks

Winamp DSPs might implement multiple different modules within the same DSP plugin.

ERROR CODEDescription
BASS_ERROR_HANDLEThe plugin is not a valid plugin handle.

See Also

Reference