Files
dotfiles/wireplumber/.config/wireplumber/wireplumber.conf.d/speaker_mic_combined.json

64 lines
1.6 KiB
JSON

{
"wireplumber.components": [
{
"name": "whisper-combined-setup",
"type": "virtual-item/item",
"provides": "virtual-item"
}
],
"wireplumber.settings": {
"node.rules": [
{
"matches": [
{
"node.name": "whisper-combined"
}
],
"actions": {
"update-props": {
"node.description": "Whisper Combined Audio",
"media.class": "Audio/Sink"
}
}
}
]
},
"context.objects": [
{
"factory": "adapter",
"args": {
"factory.name": "support.null-audio-sink",
"node.name": "whisper-combined",
"node.description": "Whisper Combined Audio",
"media.class": "Audio/Sink",
"audio.channels": 2,
"audio.position": "[ FL FR ]"
}
},
{
"factory": "adapter",
"args": {
"factory.name": "support.null-audio-sink",
"node.name": "whisper-speaker-loopback",
"node.description": "Speaker to Whisper Loopback",
"media.class": "Stream/Output/Audio",
"audio.channels": 2,
"stream.capture.sink": "@DEFAULT_SINK@",
"stream.playback.sink": "whisper-combined"
}
},
{
"factory": "adapter",
"args": {
"factory.name": "support.null-audio-sink",
"node.name": "whisper-mic-loopback",
"node.description": "Mic to Whisper Loopback",
"media.class": "Stream/Output/Audio",
"audio.channels": 2,
"stream.capture.sink": "@DEFAULT_SOURCE@",
"stream.playback.sink": "whisper-combined"
}
}
]
}