BASS_CONFIG_WMA_BASSFILE config option
Have BASS handle the reading of WMA files?
BASS_SetConfig( BASS_CONFIG_WMA_BASSFILE, BOOL bassfile );
Parameters
bassfile | BASS 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 isn't fully supported. ID3 and ID3v2 tags aren't read (they shouldn't really 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's 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.