Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Line in and mic volume

Posted on 1999-01-12
7
Medium Priority
?
992 Views
Last Modified: 2011-11-09
How can I do to control the line in and mic volume with delphi?
0
Comment
Question by:logosapience
[X]
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
7 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1356043
I guess you'll have to use the mixer*** functions. Look at the following site. Perhaps it'll help you to start digging into this complex theme:

http://www.wilsonc.demon.co.uk/delphi.htm 

Regards, Madshi.
0
 
LVL 1

Expert Comment

by:skatan187
ID: 1356044
{=====================================================|
| WaveControl 1.00 - (c) 1998 by John Mogesnen, DK    |
use this component
|-----------------------------------------------------|
| Change the WAV-Volume settings for Delphi 3         |
| (16 and 32 bits)                                    |
|-----------------------------------------------------|
| E-Mail:    JMogensnen@Web4you.dk                    |
|=====================================================}
(* Attention: To enabled componentuser to change the
              Update time remove the {} from the Code!*)
0
 
LVL 1

Expert Comment

by:skatan187
ID: 1356045
The api's in the component:

WaveOutSetVolume(VolumeControlHandle, CurrentVolumeLevel);
WaveOutGetVolume(VolumeControlHandle, pCurrentVolumeLevel);
line and mic will have api-functions like
lineoutset...
micoutset...
// not sure.. :-|

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 20

Expert Comment

by:Madshi
ID: 1356046
There IS a WaveOutSetVolume, but NO line- or mic-OutSetVolume...   :-(

Regards, Madshi.
0
 
LVL 1

Author Comment

by:logosapience
ID: 1356047
I don't see how does it work and I'm not sure that it controls the volume for recording mic and line.
0
 
LVL 15

Accepted Solution

by:
simonet earned 200 total points
ID: 1356048
Go to http://www.bhnet.com.br/~simonet, then to the How-To Projects page and download the " How To Detect Multimedia Devices and Set their Volume" project. Full source code is included and it fully answers your question.

However, if you want a quick answer, check the

auxSetVolume API. It lets you set the volume for auxiliary devices (such as the mic and the CD player).

Yours,

Alex S. Abreu
0
 

Expert Comment

by:makadam
ID: 37108557
The Link is out.
There's other suggestion....
Thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

636 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