chore(pipewire): audio config

This commit is contained in:
2024-10-07 20:17:54 +01:00
parent 8b952060ab
commit 009bbb353c
6 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
context.objects = [
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "Browser"
media.class = Audio/Duplex
channel_map = stereo
monitor.passthrough = true
monitor.channel-volumes = true
}
},
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "Social"
media.class = Audio/Duplex
channel_map = stereo
monitor.passthrough = true
monitor.channel-volumes = true
}
},
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "Gaming"
media.class = Audio/Duplex
channel_map = stereo
monitor.passthrough = true
monitor.channel-volumes = true
}
},
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "Desktop Audio"
media.class = Audio/Sink
channel_map = stereo
monitor.passthrough = true
monitor.channel-volumes = true
}
},
]

View File

@@ -0,0 +1,7 @@
context.properties = {
default.clock.rate = 96000
default.clock.allowed-rates = [ 96000 ]
default.clock.quantum = 128
default.clock.max-quantum = 128
default.clock.min-quantum = 128
}