[RPI] Implement respeaker also profiles for pipewire to use.
This commit is contained in:
parent
1f37a5d29f
commit
a3dac255fc
|
@ -0,0 +1,13 @@
|
||||||
|
SUBSYSTEM!="sound", GOTO="seeedvoicecard_end"
|
||||||
|
ACTION!="change", GOTO="seeedvoicecard_end"
|
||||||
|
KERNEL!="card*", GOTO="seeedvoicecard_end"
|
||||||
|
|
||||||
|
# PulseAudio profile sets
|
||||||
|
ATTR{id}=="seeed4micvoicec",ENV{PULSE_PROFILE_SET}="seeed-voicecard-4mic.conf"
|
||||||
|
ATTR{id}=="seeed8micvoicec",ENV{PULSE_PROFILE_SET}="seeed-voicecard-8mic.conf"
|
||||||
|
|
||||||
|
# ALSA profile sets
|
||||||
|
ATTR{id}=="seeed4micvoicec",ENV{ACP_PROFILE_SET}="seeed-voicecard-4mic.conf"
|
||||||
|
ATTR{id}=="seeed8micvoicec",ENV{ACP_PROFILE_SET}="seeed-voicecard-8mic.conf"
|
||||||
|
|
||||||
|
LABEL="seeedvoicecard_end"
|
|
@ -0,0 +1,17 @@
|
||||||
|
# /usr/share/pulseaudio/alsa-mixer/profile-sets/seeed-voicecard.conf
|
||||||
|
|
||||||
|
[General]
|
||||||
|
auto-profiles = no
|
||||||
|
[Mapping seeed-source]
|
||||||
|
device-strings = hw:%f
|
||||||
|
channel-map = front-left,front-right,rear-left,rear-right
|
||||||
|
exact-channels = false
|
||||||
|
fallback = yes
|
||||||
|
paths-input = seeed-source
|
||||||
|
priority = 3
|
||||||
|
direction = input
|
||||||
|
|
||||||
|
[Profile input:seeed-source]
|
||||||
|
input-mappings = seeed-source
|
||||||
|
priority = 5
|
||||||
|
skip-probe = yes
|
|
@ -0,0 +1,34 @@
|
||||||
|
# /usr/share/pulseaudio/alsa-mixer/profile-sets/seeed-voiced.conf
|
||||||
|
|
||||||
|
[General]
|
||||||
|
auto-profiles = no
|
||||||
|
[Mapping seeed-8ch]
|
||||||
|
device-strings = hw:%f
|
||||||
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
|
||||||
|
exact-channels = false
|
||||||
|
fallback = yes
|
||||||
|
paths-input = seeed-8ch
|
||||||
|
priority = 3
|
||||||
|
direction = input
|
||||||
|
[Mapping seeed-2ch]
|
||||||
|
device-strings = hw:%f
|
||||||
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
|
||||||
|
exact-channels = false
|
||||||
|
exact-channels = false
|
||||||
|
fallback = yes
|
||||||
|
paths-output = seeed-2ch
|
||||||
|
direction = output
|
||||||
|
priority = 2
|
||||||
|
[Profile output:seeed-2ch+input:seeed-8ch]
|
||||||
|
output-mappings = seeed-2ch
|
||||||
|
input-mappings = seeed-8ch
|
||||||
|
priority = 100
|
||||||
|
skip-probe = yes
|
||||||
|
[Profile output:seeed-2ch]
|
||||||
|
output-mappings = seeed-2ch
|
||||||
|
priority = 4
|
||||||
|
skip-probe = yes
|
||||||
|
[Profile input:seeed-8ch]
|
||||||
|
input-mappings = seeed-8ch
|
||||||
|
priority = 5
|
||||||
|
skip-probe = yes
|
Loading…
Reference in New Issue