Skip to content

Draft: cad-pulse: control mic volume when muting (needs volunteer to take over!)

Dylan Van Assche requested to merge dylanvanassche/callaudiod:mic-mute into master

Hardware mic mute support is not fully supported in PulseAudio. However, setting the mic capture volume to 0 achieves the same as muting the mic in the hardware. Mute the mic and also set the capture volume to 0 when needed. Restore the previous capture volume when mic is unmuted.

Needs UCM files from https://gitlab.com/pine64-org/pine64-alsa-ucm/

However, because of #15 (closed) this won't fully work. It works in GNOME Control Center though: setting the mic capture volume to 0 there mutes the mic in a call, but don't use the mic button as real hardware mute support isn't supported in PulseAudio.

This MR is a draft, anyone who feels eager to work further on this can jump in. I don't see any use for myself at the moment to further work on this and I have no clue why it doesn't work in the first place.

Edited by Dylan Van Assche

Merge request reports