Help - Search - Members - Calendar
Full Version: check if file is VBR
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
musicmusic
What is the best way to check if a file has a VBR?

I couldn't find a better way so I was doing this previously:
CODE
            bool vbr = (info->info_exists("extrainfo") && !stricmp_utf8(info->info_get("extrainfo"), "VBR")) ? true : false;


Now, obviously this is broken with 0.9.4 and I would like to know which way to do it that isn't susceptible to breaking in the future. I am only interested in checking this for MP3s.
Andreasvb
I use %codec_profile%
Seems to work, for now.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.