BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_PluginInfoGetModuleName Method BASS.NET API for the Un4seen BASS Audio Library
Returns the name of a certain module of a Winamp DSP which has been loaded into the temporary plugin info workspace.

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

public static string BASS_WADSP_PluginInfoGetModuleName(
	int module


Type: SystemInt32
The module number to get the name from (the first module is 0).

Return Value

Type: String
The name of the module on success or on error (or if no module with that number exists). Use BASS_ErrorGetCode to get the error code.

Winamp DSPs might provide multiple independent modules. You might get the number of available modules with BASS_WADSP_PluginInfoGetModuleCount.

You can use this method in a setup dialog to list all the available modules of a Winamp DSP.

The BASS.NET API offers an additional helper class WINAMP_DSP which internally uses the temporary plugin info workspace and makes it obsolete to use these methods directly.

ERROR CODEDescription
BASS_ERROR_INITBASS_WADSP_PluginInfoLoad(String) has not been called.
BASS_ERROR_ILLPARAMThe module number is invalid.


Dim n As Integer = 0
Dim name As String = ""
While Not (name Is Nothing)
  name = BassWaDsp.BASS_WADSP_PluginInfoGetModuleName(n)
  n += 1
  If Not (name Is Nothing) Then
  End If
End While
string name;
for (int n=0; (name = BassWaDsp.BASS_WADSP_PluginInfoGetModuleName(n)) != null; n++)
See Also