Media Foundation codec information

Started by MB_SOFT,

MB_SOFT

Hi Ian,
when ctype is BASS_CTYPE_STREAM_MF additional format information is available from BASS_ChannelGetTags (BASS_TAG_WAVEFORMAT).

how i can learn the type of codec? do you have a little sample

also i see there is a BASS_TAG_MF in which situation can be used? 

Ian @ un4seen

The codec type is in the WAVEFORMATEX wFormatTag field. An example of using that info can be found in the PLUGINS.C example included in the BASS package.

The BASS_TAG_MF tag contains metadata from Media Foundation (IMFMetadata). From what I've seen, it only seems to be available for WMA files (where it's identical to BASS_TAG_WMA).