How to obtain exclusive access to a microphone?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to obtain exclusive access to a microphone?

volenrog
Is this possible?
Reply | Threaded
Open this post in threaded view
|

Re: How to obtain exclusive access to a microphone?

fredvs
Administrator
Hello.

Please, can you explain what you mean with "exclusive access to a microphone"?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: How to obtain exclusive access to a microphone?

volenrog
fredvs wrote
Hello.

Please, can you explain what you mean with "exclusive access to a microphone"?

Thanks.
Hi. Other programs cannot access it... For them "mic is busy".
Reply | Threaded
Open this post in threaded view
|

Re: How to obtain exclusive access to a microphone?

fredvs
Administrator
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.
Reply | Threaded
Open this post in threaded view
|

Re: How to obtain exclusive access to a microphone?

volenrog
Ok, thanks!