chore(pipewire): audio config

This commit is contained in:
Afonso Franco 2024-10-07 20:17:54 +01:00
parent 8b952060ab
commit 009bbb353c
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
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
}