tags:

views:

64

answers:

2

How can I convert wav to wma programatically in C++?

+1  A: 

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.

Matthew Flaschen
+2  A: 

Get your hands on the Windows Media Format SDK.

George Edison