I need to write an app that allows to change the bitrate of mp3-files. I read the file, convert it to PCM and convert it back to mp3 with a different bitrate (sometimes I have to do a PCM-PCM-conversion if the sample-rate changes).
The only problem: I'm not able to detect the source-format (bitrate) of the mp3-source-file. How can I do this?
I'm working with ACM and I have to specify the source-format when calling acmStreamOpen.