Re: How to obtain exclusive access to a microphone?

Posted by fredvs on
URL: http://uos-forum.108.s1.nabble.com/How-to-obtain-exclusive-access-to-a-microphone-tp1139p1142.html

I fear that Portaudio cannot do that.

Also it is highly OS and sound-card dependent.

Anyway, you may take a look at those projects to change the general volume and his parameters of the system-mixer:

For Windows:
https://github.com/fredvs/win_mixer

For Linux:
https://github.com/fredvs/alsa_mixer

The code deals only with the general volume of the sound card but you may get the idea how to do for each elements of the mixer.