BASS.NET API for the Un4seen BASS Audio Library

WINAMP_DSPFindPlugins Method

BASS.NET API for the Un4seen BASS Audio Library
Finds all Winamp DSP plugins contained in a given directory and stores all related information in the PlugIns list.

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

public static void FindPlugins(
	string path
)

Parameters

path
Type: SystemString
The directory in which to search for Winamp DSP plugins.
Remarks

Using this method subsequently is allowed and ensures, that new Winamp plugins can be loaded and already loaded Winamp plugins are not loaded twice.

Use the PlugIns property to access all found Winamp DSP plugins.

Note, that when calling this method multiple times only newly found Winamp plugins are added to the PlugIns list, already existing plugins will not be loaded or rescanned again.

Examples

WINAMP_DSP.FindPlugins("C:\\Program Files\\Winamp\\Plugins");
this.listBox1.Items.AddRange(WINAMP_DSP.PlugIns);
...
// and display all modules out of a certain dsp...
WINAMP_DSP dsp = (WINAMP_DSP)this.listBox1.SelectedItem;
if (dsp.modulecount > 0)
{
  // display all modules
  this.comboBox1.Items.Clear();
  this.comboBox1.Items.AddRange(dsp.modulenames);
  this.comboBox1.SelectedIndex = 0;
}
See Also

Reference