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: 2.4.17.5
Syntax
Parameters
- module
- Type: SystemInt32
The module number to get the name from (the first module is 0).
Return Value
Type: StringThe 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.
Remarks
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 CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_WADSP_PluginInfoLoad(String) has not been called. |
BASS_ERROR_ILLPARAM | The module number is invalid. |
Examples
string name; for (int n=0; (name = BassWaDsp.BASS_WADSP_PluginInfoGetModuleName(n)) != null; n++) { Console.WriteLine(name); }
See Also