Solved

Using the Audio Compression Manager

Posted on 1998-02-15
6
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Revamp Your Training Process

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

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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