alsa-mixer: Add support for the Headphone,1 element

System Internals / PulseAudio - Tanu Kaskinen [] - 30 December 2020 15:49 UTC

This is seen at least on HP EliteDesk 800 DM and HP EliteDesk 800 SFF.

This is used by the analog-output-headphones-2 path, but all other paths on the same sink need to handle the element too. The existing configuration is inconsistent between files regarding whether headphone outputs should be muted or not when not using them. I chose to be consistent within files, which means that Headphone,1 handling is inconsistent between files in the same way that the existing Headphone and Headphone2 handling is. (My opinion is that unused paths should be always muted, but I didn't want to do that policy change in this patch.)


21a531041 alsa-mixer: Add support for the Headphone,1 element
src/modules/alsa/mixer/paths/analog-output-headphones-2.conf | 7 +++++++
src/modules/alsa/mixer/paths/analog-output-headphones.conf | 7 +++++++
src/modules/alsa/mixer/paths/analog-output-lineout.conf | 4 ++++
src/modules/alsa/mixer/paths/analog-output-mono.conf | 4 ++++
src/modules/alsa/mixer/paths/analog-output-speaker-always.conf | 4 ++++
src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 ++++
6 files changed, 30 insertions(+)


  • Share