How can I convert wav to wma programmatically in C++?
How can I开发者_开发问答 convert wav to wma programmatically in C++?
Get your hands on the Windows Media Format SDK.
You should be able to do this with libavcodec. See audio_decode_example and audio_encode_example. They use MP2 as an example, but both WMA and WAV (PCM) are supported formats.
精彩评论