Solved

Audio Compression Managers?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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