mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-09 08:28:50 +01:00
Have a dedicated pulse profile for sj-201 and load it by udev
This commit is contained in:
parent
53bae2b9e0
commit
a019105f81
@ -64,8 +64,8 @@ load-module module-position-event-sounds
|
||||
### OpenVoiceOS Audio Settings
|
||||
load-module module-role-ducking
|
||||
load-module module-combine-sink sink_name=OpenVoiceOS
|
||||
load-module module-remap-source source_name=VF_ASR_L source_properties="device.description='VocalFusion ASR recording'" master=alsa_input.platform-asoc-simple-card.0.stereo-fallback remix=no master_channel_map=front-left channel_map=mono
|
||||
load-module module-remap-source source_name=VF_Comms_R source_properties="device.description='VocalFusion Comms recording'" master=alsa_input.platform-asoc-simple-card.0.stereo-fallback remix=no master_channel_map=front-right channel_map=mono
|
||||
load-module module-remap-source source_name=VF_ASR_L source_properties="device.description='VocalFusion ASR recording'" master=alsa_input.platform-asoc-simple-card.0.xvf3510-2mic remix=no master_channel_map=front-left channel_map=mono
|
||||
load-module module-remap-source source_name=VF_Comms_R source_properties="device.description='VocalFusion Comms recording'" master=alsa_input.platform-asoc-simple-card.0.xvf3510-2mic remix=no master_channel_map=front-right channel_map=mono
|
||||
set-default-source VF_ASR_L
|
||||
set-default-sink OpenVoiceOS
|
||||
|
@ -0,0 +1,7 @@
|
||||
SUBSYSTEM!="sound", GOTO="vocalfusion_end"
|
||||
ACTION!="change", GOTO="vocalfusion_end"
|
||||
KERNEL!="card*", GOTO="vocalfusion_end"
|
||||
|
||||
ATTR{id}=="sndxmosvocalfus",ENV{PULSE_PROFILE_SET}="xvf3510.conf"
|
||||
|
||||
LABEL="vocalfusion_end"
|
@ -0,0 +1,38 @@
|
||||
# /usr/share/pulseaudio/alsa-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
|
Loading…
x
Reference in New Issue
Block a user