Solved

Audio Compression Managers?

Posted on 2001-06-09
3
298 Views
Last Modified: 2010-04-06
Hello,

I'm trying to write a text and voice chat program and when I get to the part where I wanna record my audio, I have a couple problems. For one, I'd really like to use mp3 compression for the audio, and I've found several components that allow this, or any other installed codec. The problem is, all of them come with code or components to show this "acm dialog" that makes the user have to PICK what compression format to use. What I'm looking for is a way to specify, specifically an mp3 format, so the user never has the chance to mess things up like that.

The recording and playback components I really want to use require a pointer to specify the compression method of the audio. Now if someone could give me some example pointers of different mp3 bitdepths and so on, I'd really appreciate it... Either that or a component that let's you select the format at design time.


Now I'm going to be very strict with question acceptance here. So don't just blurt out some half assed solution please, I really wanna get right down to it cause I don't have time to waste on this anymore. Appreciate the help.

Thanks guys,

Psylord
0
Comment
Question by:Psylord
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
AvonWyss earned 200 total points
ID: 6172944
The code you have (in components) will do a call to acmFormatChoose in order to get a valid format record. However, instead of this call, the acmFormatEnum function can be used to enumerate the available formats and choose one of these, thus bypassing the dialog.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6184756
Psylord, did the suggestion work out?
0
 

Author Comment

by:Psylord
ID: 6185165
I haven't tried it yet, but I did breifly look at the call in the help so I know it exists. I need to finish up the text stuff before I can test this though.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can't find the executable in Simulator 1 90
I want to use librsync in my Delphi backup application. 3 50
RESTRequest Parameter 4 31
enhance the following code 3 32
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

778 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