Sound & Music

Moderators: Sephiroth
Number of threads: 611
Number of posts: 1220

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
WaveIn Recording Level Posted by Jason Sulzberger on 23 Jun 2000 at 9:55 PM
I am trying to set the record level for the wavein device. I need to be able to adjust this when recording. (Similar to MS Netmeeting).<br>
<br>
Any help<br>
<br>
Thanks<br>
<br>
Jason


Edit Report
Re: WaveIn Recording Level Posted by Rich on 26 Jun 2000 at 7:17 AM
: I am trying to set the record level for the wavein device. I need to be able to adjust this when recording. (Similar to MS Netmeeting).<br>
: <br>
: Any help<br>
: <br>
: Thanks<br>
: <br>
: Jason<br>
: <br>
<br>
Jason,<br>
<br>
The device model for Windows audio doesn't in general have a record level for the waveIn device (that's why there's no waveInSetVolume() function). It DOES, however, usually have volume fader controls associated with the different sound sources that the mixer can route to waveIn, including, for example, a sound card's microphone. <br>
<br>
MSDN has a couple of articles online that describe how to get and set microphone volume levels, so I'd suggest taking a look at those. Be advised, however, that doing this in your program is a bit complicated, and I've heard rumor that it's VERY difficult to come up with an implementation that works reliably across different sound card vendors' products. You might be better off asking your users to adjust the volume themselves using the mixer application...


Edit Report
Re: WaveIn Recording Level Posted by Ronald Ammann on 28 Sept 2000 at 2:25 AM
I've tried to use the mixer functions from the Windows platform SDK, I tried the source samples from the codeguru webpage (www.codeguru.com) and I tried to mix my own work with the other samples. But nothing did work at all! The only thing I can do is adjusting the output volume, but the wave-in/microphone-level seems to be unable to adjust!? Does anyone have some ideas? It's very urgent!!


Report
Re: WaveIn Recording Level Posted by cauly on 25 Aug 2001 at 4:06 AM
: I've tried to use the mixer functions from the Windows platform SDK, I tried the source samples from the codeguru webpage (www.codeguru.com) and I tried to mix my own work with the other samples. But nothing did work at all! The only thing I can do is adjusting the output volume, but the wave-in/microphone-level seems to be unable to adjust!? Does anyone have some ideas? It's very urgent!!
:
:
Just a stupid idea but why not call the sndvol32.exe file in the windows directory musing the shell API ?
This has all your mic in, line in, volumes etc on it!

Cauly





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.