alsa-card-profiles: move HDMI/AC3 profiles to separate profile set

These shouldn't be enabled by default, because they cannot be
autodetected, and if the configuration is not a supported one, they
produce loud BRRRT at 100% volume and ALSA errors.
This commit is contained in:
Pauli Virtanen 2024-11-23 14:51:25 +02:00
parent c36c028dd2
commit e08846dc9c
2 changed files with 110 additions and 88 deletions

View file

@ -237,14 +237,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround]
description = Digital Surround 5.1 (HDMI/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,3'"}
paths-output = hdmi-output-0
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra1]
description = Digital Stereo (HDMI 2)
device-strings = hdmi:%f,1
@ -277,14 +269,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra1]
description = Digital Surround 5.1 (HDMI 2/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,7'"}
paths-output = hdmi-output-1
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra2]
description = Digital Stereo (HDMI 3)
device-strings = hdmi:%f,2
@ -317,14 +301,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra2]
description = Digital Surround 5.1 (HDMI 3/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,8'"}
paths-output = hdmi-output-2
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra3]
description = Digital Stereo (HDMI 4)
device-strings = hdmi:%f,3
@ -357,14 +333,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra3]
description = Digital Surround 5.1 (HDMI 4/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,9'"}
paths-output = hdmi-output-3
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra4]
description = Digital Stereo (HDMI 5)
device-strings = hdmi:%f,4
@ -397,14 +365,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra4]
description = Digital Surround 5.1 (HDMI 5/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,10'"}
paths-output = hdmi-output-4
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra5]
description = Digital Stereo (HDMI 6)
device-strings = hdmi:%f,5
@ -437,14 +397,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra5]
description = Digital Surround 5.1 (HDMI 6/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,11'"}
paths-output = hdmi-output-5
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra6]
description = Digital Stereo (HDMI 7)
device-strings = hdmi:%f,6
@ -477,14 +429,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra6]
description = Digital Surround 5.1 (HDMI 7/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,12'"}
paths-output = hdmi-output-6
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra7]
description = Digital Stereo (HDMI 8)
device-strings = hdmi:%f,7
@ -517,14 +461,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra7]
description = Digital Surround 5.1 (HDMI 8/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,13'"}
paths-output = hdmi-output-7
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra8]
description = Digital Stereo (HDMI 9)
device-strings = hdmi:%f,8
@ -557,14 +493,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra8]
description = Digital Surround 5.1 (HDMI 9/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,14'"}
paths-output = hdmi-output-8
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra9]
description = Digital Stereo (HDMI 10)
device-strings = hdmi:%f,9
@ -597,14 +525,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra9]
description = Digital Surround 5.1 (HDMI 10/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,15'"}
paths-output = hdmi-output-9
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping hdmi-stereo-extra10]
description = Digital Stereo (HDMI 11)
device-strings = hdmi:%f,10
@ -637,14 +557,6 @@ channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 6
direction = output
[Mapping hdmi-ac3-surround-extra10]
description = Digital Surround 5.1 (HDMI 11/AC3)
device-strings = plug:{SLAVE="a52:%f,'hw:%f,16'"}
paths-output = hdmi-output-10
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 1
direction = output
[Mapping multichannel-output]
device-strings = hw:%f
channel-map = left,right,rear-left,rear-right