BASS.NET API for the Un4seen BASS Audio Library

BassWaDspBASS_WADSP_PluginInfoLoad Method

BASS.NET API for the Un4seen BASS Audio Library
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: Boolean
on success, else . Use BASS_ErrorGetCode to get the error code.
Remarks

The temporary plugin info workspace can be used to retrieve general information about a Winamp DSP without starting it.

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 CODEDescription
BASS_ERROR_FILEOPENThe dspfile can not be found or loaded.
BASS_ERROR_FILEFORMThe dspfile doesn't seem to be a Winamp DSP library file.

See Also

Reference