mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
pulse-server: move quirks to config section
Make a pulse.rules section in the config file with match rules. Add support for setting custom client properties and quirks.
This commit is contained in:
parent
2e1a08edc2
commit
7f08cadca4
3 changed files with 145 additions and 58 deletions
|
|
@ -80,3 +80,39 @@ stream.properties = {
|
|||
#channelmix.upmix = false
|
||||
#channelmix.lfe-cutoff = 0
|
||||
}
|
||||
|
||||
# client/stream specific properties
|
||||
pulse.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
# all keys must match the value. ~ starts regex.
|
||||
#client.name = "Firefox"
|
||||
#application.process.binary = "teams"
|
||||
#application.name = "~teams.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
#node.latency = 512/48000
|
||||
}
|
||||
# Possible quirks:"
|
||||
# force-s16-info forces sink and source info as S16 format
|
||||
# remove-capture-dont-move removes the capture DONT_MOVE flag
|
||||
#quirks = [ ]
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{ application.process.binary = "teams" }
|
||||
{ application.process.binary = "skypeforlinux" }
|
||||
]
|
||||
actions = { quirks = [ force-s16-info ] }
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{ application.process.binary = "firefox" }
|
||||
]
|
||||
actions = { quirks = [ remove-capture-dont-move ] }
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue