How to set volume of Wave in

Jan 3, 2012 at 3:53 PM

Sorry,

How can I set recording volume with Naudio.dll?

Is there an API for this request?

Thx

 

Coordinator
Jan 3, 2012 at 3:56 PM

you use the Mixer API to do this, but it can be a real tear your hair out experience trying to work out which the right mixer control to tweak is.Code that works on XP doesn't work on Windows 7 and vice versa. My best attempt so far can be seen in the source code for the .NET Voice Recorder. See the TryGetVolumeControl function here:

http://voicerecorder.codeplex.com/SourceControl/changeset/view/f652f98eb1ff#VoiceRecorder.Audio%2fAudioRecorder.cs