Solved

Audio Compression Managers?

Posted on 2001-06-09
3
290 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

26 Experts available now in Live!

Get 1:1 Help Now