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
Solved

Audio Compression Managers?

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

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

Suggested Solutions

Title # Comments Views Activity
code issue 8 156
How to define IfThen functions in one common unit? 4 60
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 71
Graphics32 under Delphi 10.1 Berlin 2 103
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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