channelMode()

Scott Wheeler wheeler at kde.org
Thu Dec 15 12:23:34 CET 2005


On Wednesday 14 December 2005 04:28, Andrea G. wrote:
> Is there a way to know if an mp3 is joint-stereo, stereo,dual channel or
> mono? TagLib::MPEG::Properties::channelMode() return the channelMode() only
> for the current frame :-)

Yep, Fred's correct here.  But assuming you're not doing decoding -- i.e. just 
using this for meta-data purposes it's reasonable to just use the value 
reported there.  In pretty much all cases of "normal" mp3s, that value will 
be correct.

Cheers,

-Scott


More information about the taglib-devel mailing list