Question

I am using the Lame library in a C++ application to encode wav files to mp3 files.

It works ok for 16-bit wavs, but now I need to convert some 24-bit wavs and I cannot seem to find the way. In particular, I cannot find a function for setting the "bitwidth" parameter taken as a switch by the lame command line. (The command line executable does convert 24-bit wavs correctly when setting "bitwidth" to 24, so I think it must be possible.)

Thank you in advance for any hint!

Was it helpful?

Solution

The command line executable does convert 24-bit wavs correctly when setting "bitwidth" to 24, so I think it must be possible

Perhaps the solution then is to look at the source-code for the command line utility, or even step it in your debugger and see how it does it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top