BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_SetFileName Method BASS.NET API for the Un4seen BASS Audio Library
Set the file name for a loaded Winamp DSP plugin.

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

public static bool BASS_WADSP_SetFileName(
	int plugin,
	string file


Type: SystemInt32
The plugin handle (returned by BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).
Type: SystemString
The file name to set.

Return Value

Type: Boolean
on success, else . Use BASS_ErrorGetCode to get the error code.

Some Winamp DSPs require or simply display a current playing file name. Use this method to set this file name. It will then be used in the internal Window message handler for the related fake Winamp windows. In most cases it is not required to set any file name at all.

ERROR CODEDescription
BASS_ERROR_HANDLEThe plugin is not a valid plugin handle.

See Also