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: 2.4.12.0
Syntax

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

Parameters

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

Return Value

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

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

Reference