Solved

Using the Audio Compression Manager

Posted on 1998-02-15
6
463 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now