BASS.NET API for the Un4seen BASS Audio Library

UtilsBASSAddOnGetSupportedFileFilter Method (DictionaryInt32, String, String, Boolean, DictionaryString, String)

BASS.NET API for the Un4seen BASS Audio Library
Returns a file filter which can be used in a standard 'OpenFileDialog'.

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

public static string BASSAddOnGetSupportedFileFilter(
	Dictionary<int, string> plugins,
	string allFormatName,
	bool includeBASS,
	Dictionary<string, string> extra
)

Parameters

plugins
Type: System.Collections.GenericDictionaryInt32, String
The hash table as returned by the BASS_PluginLoadDirectory(String) method.
allFormatName
Type: SystemString
The name of the first entry which will describe all available formats. Or , if only the plain formats should be returned.
includeBASS
Type: SystemBoolean
, if also the native BASS formats should be added.
extra
Type: System.Collections.GenericDictionaryString, String
A list of additional filter entries to add (key=name; value=extension; e.g. 'Playlist' - '*.pls').

Return Value

Type: String
The file filter string which can be used in a standard 'OpenFileDialog' in the format: allFormatName|AllExtensions|FormatName1|externtions1|FormatName2|externtions2...
Remarks

This method uses BASSAddOnGetSupportedFileName(String) and BASSAddOnGetSupportedFileExtensions(String) internally.

Note: This list reports a set of file extensions which might be supported. There is no guarantee that the list is complete or might contain formats not being supported on your particular OS/machine (due to additional or missing audio codecs).

See Also

Reference