-
August 1st, 2005, 03:01 AM
#1
How to control the microphone volume using DirectX C++?
Hi everyone,
I am using Visual C++.net to write a program to control the microphone. I do not know which interfaces to use and how to go about doing it.
Can anyone help me by giving me a headstart? Looking forward for your reply. Thank you.
Best Regards,
Elaine
-
August 1st, 2005, 03:05 AM
#2
Re: How to control the microphone volume using DirectX C++?
What do you mean by 'control the microphone'. If you want to record something, in windows API you would use the waveIn... functions.
Please don't forget to rate users who helped you!
-
August 1st, 2005, 03:16 AM
#3
Re: How to control the microphone volume using DirectX C++?
Hi philkr,
What i mean is controlling the volume of the microphone. Can i use DirectX? How do I record the voice from the microphone?
Thank you.
Best Regards,
Elaine
-
August 1st, 2005, 04:22 AM
#4
Re: How to control the microphone volume using DirectX C++?
To set the playback volume you can use waveOutSetVolume(). Unfortunately there is no waveInSetVolume() function, so in order to set recording volume you will have to use the mixer... API. http://msdn.microsoft.com/library/en..._functions.asp
Please don't forget to rate users who helped you!
-
October 24th, 2008, 01:00 AM
#5
Re: How to control the microphone volume using DirectX C++?
Originally Posted by philkr
Thanks for you all. I can set the volume of my microphone , using mixer api.
But I want to show the volume level of captured audio in slider.As if captured audio is loud this slider will be at high automatically, and if
captured audio is low this slider will go at low automatically and slider will go up and down according to volume level of capturing audio during speaking in microphone.
Can anybody please tell me which apis I have to use to implement it.I am unable to find it out.
Thank u very much in advance.
-
January 6th, 2011, 05:27 AM
#6
Re: How to control the microphone volume using DirectX C++?
How you did that? I am facing the same challange. It is able to change the "Microphone Volume" in Master Volume Control. My Aim is to change it in the Recorder Control
-
January 6th, 2011, 08:33 AM
#7
Re: How to control the microphone volume using DirectX C++?
Are you aware that you're in the Managed C++ and C++/CLI forum here? (Aside from the fact that the most recent post in this thread is about 2½ years old and it's the only post of that user.)
I suppose you found this thread using a forum search. I also have seen your Volume Control thread over there in the VC++ forum and it looks like you're at least pretty close there.
If you're still looking for a .NET way of doing that, I might lend a hand, however.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|