Solved

Line in and mic volume

Posted on 1999-01-12
7
959 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
Technology Partners: 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

Independent Software Vendors: 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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

726 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