# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

; Profile set with HDMI/AC3 profiles.
;
; You can use udev rules to enable these, for example:
;
; ATTRS{subsystem_vendor}=="0x1849", ATTRS{subsystem_device}=="0xaaf0", ENV{ACP_PROFILE_SET}="hdmi-ac3.conf"

.include default.conf

[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-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-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-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-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-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-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-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-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-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-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
