| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#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! |
|
#3
|
|||
|
|||
|
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 |
|
#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! |
|
#5
|
|||
|
|||
|
Re: How to control the microphone volume using DirectX C++?
Quote:
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. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|