Merge branch 'develop' of github.com:OpenVoiceOS/ovos-buildroot into develop

This commit is contained in:
j1nx 2023-11-01 08:11:13 +00:00
commit 13dadc8944
2 changed files with 42 additions and 0 deletions

View File

@ -2,6 +2,10 @@ SUBSYSTEM!="sound", GOTO="vocalfusion_end"
ACTION!="change", GOTO="vocalfusion_end"
KERNEL!="card*", GOTO="vocalfusion_end"
# PulseAudio profile sets
ATTR{id}=="sndxmosvocalfus",ENV{PULSE_PROFILE_SET}="xvf3510.conf"
# ALSA profile sets
ATTR{id}=="sndxmosvocalfus",ENV{ACP_PROFILE_SET}="xvf3510.conf"
LABEL="vocalfusion_end"

View File

@ -0,0 +1,38 @@
# /usr/share/alsa-card-profile/mixer/profile-sets/xvf3510.conf
[General]
auto-profiles = no
[Mapping xvf3510-2mic]
device-strings = hw:%f
channel-map = front-left,front-right
exact-channels = yes
fallback = yes
paths-input = xvf3510-2mic
priority = 3
direction = input
[Mapping xvf3510-stereo-output]
device-strings = hw:%f
channel-map = front-left,front-right
exact-channels = yes
fallback = yes
paths-output = xvf3510-stereo-output
direction = output
priority = 2
[Profile output:xvf3510-stereo-output+input:xvf3510-2mic]
output-mappings = xvf3510-stereo-output
input-mappings = xvf3510-2mic
priority = 100
skip-probe = yes
[Profile output:xvf3510-stereo-output]
output-mappings = xvf3510-stereo-output
priority = 4
skip-probe = yes
[Profile input:xvf3510-2mic]
input-mappings = xvf3510-2mic
priority = 5
skip-probe = yes