BASS.NET API for the Un4seen BASS Audio Library

BassWinampBASS_WINAMP_GetExtentionsFilter Method

BASS.NET API for the Un4seen BASS Audio Library
Gets the supported file filter extensions of the given winamp input plug-in.

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

public static string BASS_WINAMP_GetExtentionsFilter(
	int handle
)

Parameters

handle
Type: SystemInt32
The handle of the winamp input plugin.

Return Value

Type: String
Returns a file filter string in the format: "Layer 3 MPEG|*.mp3;*.mp2|Layer 2 MPEG|*.mp2|Layer 1 MPEG|*.mpg". Returns NULL, if an error occurred.
Remarks

Uses BASS_WINAMP_GetExtentions(Int32) internally.
Examples

C#
int pluginHandle = BassWinamp.BASS_WINAMP_LoadPlugin( @"C:\Programme\Winamp\Plugins\in_mp3.dll" );
if (pluginHandle != 0)
{
    Console.WriteLine( BassWinamp.BASS_WINAMP_GetExtentionsFilter(pluginHandle) );
}
See Also

Reference