Re: wireless audio: how to mute microphone / stack source by default?

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Wed, 06 Aug 2025 21:08:05 UTC
On Wed, Aug 6, 2025 at 10:12 PM Tomek CEDRO <tomek@cedro.info> wrote:
> (..)
> On FreeBSD most of the time I have this low quality HFP audio, even if
> microphone is not used, even if microphone is muted both on headset
> and PC. On windoze and mac I have A2DP high quality audio unless some
> application opens a microphone then A2DP is deactiated and HFP is
> selected until mic gets inactive.

Okay I found someone on Linux has the same (functional) problem, using
Bluez stack, but it turns out PulseAudio has this "set-card-profile"
option that can be used to switch between HFP and A2DP.

https://ansonvandoren.com/posts/pulseaudio-auto-bluetooth-hfp-profile/

Do we have something like this at sysctl level in the audio stack? Can
this be set to auto-switch to HFP whenever microphone is opened and
then reverted to default A2DP?

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info