Solved

Using the Audio Compression Manager

Posted on 1998-02-15
6
470 Views
Last Modified: 2013-12-03
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).
0
Comment
Question by:llorenz
6 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1411303
There is a multimedia sample "ACMapp: Wave Files" that comes with Visual C++, Platform SDK (Win32 SDK).

This is a sample application that:

- Demonstrates how to use the Audio Compression Manager API's in Windows
- Can be used as an ACM driver test
- Displays wave file format, and plays, records, and converts wave files

0
 

Author Comment

by:llorenz
ID: 1411304
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.
0
 

Expert Comment

by:RLM
ID: 1411305
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.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Expert Comment

by:dell_z
ID: 2245471
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.
0
 

Author Comment

by:llorenz
ID: 2245497
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.
0
 
LVL 23

Expert Comment

by:chensu
ID: 2245590
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
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question