Solved

Audio Compression Managers?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi custom sort exception 6 135
add combobox item based on numbers 9 123
URL for downloading Google Chrome for Win XP 2 121
how can i search if string exist in array ? 3 49
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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