Loads a Winamp DSP library into the temporary plugin info workspace.
Namespace: Un4seen.Bass.AddOn.WaDsp
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bass_wadsp")] public static bool BASS_WADSP_PluginInfoLoad( string dspfile )
Parameters
- dspfile
- Type: SystemString
The fully qualified path and name of the Winamp DSP library you want to load (e.g. "C:\\Program Files\\Winamp\\Plugins\\dsp_ss.dll"). Both Unicode as well as Ansi filenames are supported, whereas Unicode is tried first.
Return Value
Type: Booleanon success, else . Use BASS_ErrorGetCode to get the error code.
Remarks
This method will be used in the same way BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC) is used.
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 this method directly.
NOTE: Do not use this method while you have already loaded the same Winamp plugin (e.g. via BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)) as this might result in any unexpected behavior, since some Winamp plugins might crash when they are loaded twice.
ERROR CODE | Description |
---|---|
BASS_ERROR_FILEOPEN | The dspfile can not be found or loaded. |
BASS_ERROR_FILEFORM | The dspfile doesn't seem to be a Winamp DSP library file. |
See Also