BASS_CONFIG_WMA_BASSFILE config option

Have BASS handle the reading of WMA files?

BASS_SetConfig(
    BASS_CONFIG_WMA_BASSFILE,
    BOOL bassfile
);

Parameters

bassfileBASS should handle file reading?

Remarks

By default, BASSWMA will let the Windows Media modules handle the reading of WMA files, which disables some features. The offset and length BASS_WMA_StreamCreateFile (and BASS_StreamCreateFile via the plugin system) parameters are ignored. BASS_StreamGetFilePosition is not fully supported. ID3 and ID3v2 tags are not read (they should not be used in WMA files anyway).

Using this config option, BASS can be made to handle the WMA file reading instead, re-enabling the aforementioned features. There is a down side though, in that it is not possible to play WMA files while they are still being encoded.

BASS will only handle the reading of local WMA files. Internet files/streams will always be handled by the Windows Media modules, regardless of this config setting.

See also

BASS_WMA_StreamCreateFile

BASS_GetConfig, BASS_SetConfig