Trying to do/make a pulseaudio profile for multichannel sound cards so they don't "look" like a surround card in the channel names..
(also see here on why surround channel names suck when creating custom pulseaudio scripts)
Trying to understand this page: https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Prof…
# untested.. but this is CLOSE to how one can change the channel names in Pulseaudio for XR18 (and eventually X32)
# create a udev rule file in /etc/udev/rules.d/90-behringer-pulseaudio.conf:
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="1397", ATTRS{idProduct}=="00d4", ENV{PULSE_PROFILE_SET}="behringer-xr18.conf"
#
# -or- add to USB section/lib/udev/rules.d/90-pulseaudio.rules:
#ATTRS{idVendor}=="1397", ATTRS{idProduct}=="00d4", ENV{PULSE_PROFILE_SET}="behringer-xr18.conf"
#
# by default channels have the names:
# front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9
#
# when then REALLY should have the names:
# ch01, ch02, ch03, ch04, ch05, ch06, ch0 , ch08, ch09, ch10, ch11, ch12, ch13, ch14, ch15, ch16, aux
#
#put this file in /usr/share/pulseaudio/alsa-mixer/profile-sets/behringer-xr18.conf[General]
auto-profiles = no[Mapping ch01]
description = ch01
device-strings = hw:%f,0
channel-map = front-left
direction = any[Mapping ch02]
description = ch02
device-strings = hw:%f,0
channel-map = front-right
direction = any[Mapping ch03]
description = ch03
device-strings = hw:%f,0
channel-map = rear-left
direction = any[Mapping ch04]
description = ch04
device-strings = hw:%f,0
channel-map = rear-right
direction = any[Mapping ch05]
description = ch05
device-strings = hw:%f,0
channel-map = front-center
direction = any[Mapping ch06]
description = ch06
device-strings = hw:%f,0
channel-map = lfe
direction = any[Mapping ch07]
description = ch07
device-strings = hw:%f,0
channel-map = side-left
direction = any[Mapping ch08]
description = ch08
device-strings = hw:%f,0
channel-map = side-right
direction = any[Mapping ch09]
description = ch09
device-strings = hw:%f,0
channel-map = aux0
direction = any[Mapping ch10]
description = ch10
device-strings = hw:%f,0
channel-map = aux1
direction = any[Mapping ch11]
description = ch11
device-strings = hw:%f,0
channel-map = aux2
direction = any[Mapping ch12]
description = ch12
device-strings = hw:%f,0
channel-map = aux3
direction = any[Mapping ch13]
description = ch13
device-strings = hw:%f,0
channel-map = aux4
direction = any[Mapping ch14]
description = ch14
device-strings = hw:%f,0
channel-map = aux5
direction = any[Mapping ch15]
description = ch15
device-strings = hw:%f,0
channel-map = aux6[Mapping ch16]
description = ch16
device-strings = hw:%f,0
channel-map = aux7
direction = any[Mapping aux]
description = ch17
device-strings = hw:%f,0
channel-map = aux8,aux9
direction = any[Profile xr18-mixer-mapping]
description = XR18 Mixer Mappings
output-mappings = ch01 ch02 ch03 ch04 ch05 ch06 ch07 ch08 ch09 ch10 ch11 ch12 ch13 ch14 ch15 ch16 aux
input-mappings = ch01 ch02 ch03 ch04 ch05 ch06 ch07 ch08 ch09 ch10 ch11 ch12 ch13 ch14 ch15 ch16 aux
priority = 100
skip-probe = no
- Log in to post comments