BASS.NET API for the Un4seen BASS Audio LibraryUtilsBASSAddOnIsFileSupported Method BASS.NET API for the Un4seen BASS Audio Library
Checks if a certain file is supported by the currently loaded add-ons.

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

public static bool BASSAddOnIsFileSupported(
	Dictionary<int, string> plugins,
	string filename


Type: System.Collections.GenericDictionaryInt32, String
The hash table as returned by the BASS_PluginLoadDirectory(String) method or to only check BASS extensions.
Type: SystemString
The audio filename to check,

Return Value

Type: Boolean
, if the audio file is supported by any of the loaded plugins.

This method uses BASSAddOnGetSupportedFileExtensions(String) internally.

Note: There is no guarantee that the check is complete or might contain formats not being supported on your particular OS/machine (due to additional or missing audio codecs).

See Also