Link to home
Start Free TrialLog in
Avatar of llorenz
llorenz

asked on

Using the Audio Compression Manager

I'm looking for some sample code on using the ACM API to convert a Wave file to another compression format (like the 56kbps MP3 CODEC).
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of llorenz
llorenz

ASKER

This sample is HORRIBLE. Besides the fact that it crashes under several circumstances, it is a great example of spaghetti code at its worst. Oh well.
The ACM isn't as difficult to use as it may seem. I was able to do what you're trying to do with little effort, making use of the docs available in win32 sdk.
The ACMAPP sample is too complex to your question.

There is a more simple program in MSDN, "conv", which can compress a PCM format audio to TrueSpeech format.
Avatar of llorenz

ASKER

Actually, I ended up using the Windows Media SDK to make a WAV to WMA compressor. The only problem is the inability to edit "tag" information after the WMA file is made. I'll have to look at that example, though, because I was looking into possibly doing MP3 compression in a WindowsCE device. Thanks.
There is a technical article in the MSDN Library as well.

Using CODECs to Compress Wave Audio
http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/techart/msdn_codec.htm