mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Some ALSA devices have minimum HW volume value that is muted. ALSA indicates it with SND_CTL_TLV_DB_GAIN_MUTE = -9999999 dB/100 volume dB. When rounding down to HW volume, we may get this muted value. When determining splitting of volumes to mixers and soft volume, we don't want HW mixers to set volume to muted, unless the target volume is actually muted. Fix by adding element_ask_unmuted_dB_vol() that rounds up if the asked rounding mode resulted to mute. This fixes mic getting muted at low volume despite ALSA reporting the dB values correctly. Fixes #4890 |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||