Solved

Line in and mic volume

Posted on 1999-01-12
7
952 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 50 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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…

742 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