mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-07 23:48:40 +01:00
[ALL][RPI] Switch xvf3510 channel split toward ALSA itself
This commit is contained in:
parent
f6a47e9398
commit
fe5ec77a81
@ -1,19 +0,0 @@
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-loopback
|
||||
args = {
|
||||
node.description = "VocalFusion ASR recording"
|
||||
capture.props = {
|
||||
node.name = capture.VF_ASR_L"
|
||||
audio.position = [ FL ]
|
||||
stream.dont-remix = true
|
||||
target.object = "alsa_input.platform-asoc-simple-card.0.xvf3510-2mic"
|
||||
node.passive = true
|
||||
}
|
||||
playback.props = {
|
||||
node.name = "VF_ASR_L"
|
||||
media.class = "Audio/Source"
|
||||
audio.position = [ MONO ]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
@ -3,12 +3,21 @@
|
||||
[General]
|
||||
auto-profiles = no
|
||||
|
||||
[Mapping xvf3510-2mic]
|
||||
[Mapping xvf3510-asr]
|
||||
device-strings = hw:%f
|
||||
channel-map = front-left,front-right
|
||||
channel-map = front-left
|
||||
exact-channels = yes
|
||||
fallback = yes
|
||||
paths-input = xvf3510-2mic
|
||||
paths-input = xvf3510-asr
|
||||
priority = 2
|
||||
direction = input
|
||||
|
||||
[Mapping xvf3510-comms]
|
||||
device-strings = hw:%f
|
||||
channel-map = front-right
|
||||
exact-channels = yes
|
||||
fallback = yes
|
||||
paths-input = xvf3510-comms
|
||||
priority = 3
|
||||
direction = input
|
||||
|
||||
@ -21,9 +30,9 @@ paths-output = xvf3510-stereo-output
|
||||
direction = output
|
||||
priority = 2
|
||||
|
||||
[Profile output:xvf3510-stereo-output+input:xvf3510-2mic]
|
||||
[Profile output:xvf3510-stereo-output+input:xvf3510-asr]
|
||||
output-mappings = xvf3510-stereo-output
|
||||
input-mappings = xvf3510-2mic
|
||||
input-mappings = xvf3510-asr
|
||||
priority = 100
|
||||
skip-probe = yes
|
||||
|
||||
@ -32,7 +41,12 @@ output-mappings = xvf3510-stereo-output
|
||||
priority = 4
|
||||
skip-probe = yes
|
||||
|
||||
[Profile input:xvf3510-2mic]
|
||||
input-mappings = xvf3510-2mic
|
||||
[Profile input:xvf3510-asr]
|
||||
input-mappings = xvf3510-asr
|
||||
priority = 5
|
||||
skip-probe = yes
|
||||
|
||||
[Profile input:xvf3510-comms]
|
||||
input-mappings = xvf3510-comms
|
||||
priority = 6
|
||||
skip-probe = yes
|
||||
|
@ -1,38 +0,0 @@
|
||||
# /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
|
@ -1,28 +0,0 @@
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-combine-stream
|
||||
args = {
|
||||
combine.mode = sink
|
||||
node.name = "ovos_combined_sink"
|
||||
node.description = "OpenVoiceOS combined sound output"
|
||||
combine.latency-compensate = false
|
||||
combine.props = {
|
||||
audio.position = [ FL FR ]
|
||||
}
|
||||
stream.props = {
|
||||
}
|
||||
stream.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
media.class = "Audio/Sink"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
create-stream = {
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user