mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-06-05 19:43:44 +02:00
fix: pipewire crackling
This commit is contained in:
parent
94b7e38c4d
commit
584c5bde01
3 changed files with 28 additions and 28 deletions
|
@ -1,36 +1,18 @@
|
||||||
|
|
||||||
context.properties = {
|
context.properties = {
|
||||||
## Properties for the DSP configuration.
|
default.clock.rate = 48000
|
||||||
default.clock.rate = 192000
|
default.clock.allowed-rates = [ 44100 48000 88200 96000 ]
|
||||||
default.clock.allowed-rates = [ 44100 48000 88200 96000 192000 352800 384000]
|
default.clock.quantum = 1024
|
||||||
default.clock.quantum = 32
|
default.clock.min-quantum = 1024
|
||||||
default.clock.min-quantum = 16
|
default.clock.max-quantum = 2048
|
||||||
default.clock.max-quantum = 768
|
|
||||||
}
|
}
|
||||||
|
|
||||||
context.modules = [
|
context.modules = [
|
||||||
#{ name = <module-name>
|
|
||||||
# ( args = { <key> = <value> ... } )
|
|
||||||
# ( flags = [ ( ifexists ) ( nofail ) ] )
|
|
||||||
# ( condition = [ { <key> = <value> ... } ... ] )
|
|
||||||
#}
|
|
||||||
#
|
|
||||||
# Loads a module with the given parameters.
|
|
||||||
# If ifexists is given, the module is ignored when it is not found.
|
|
||||||
# If nofail is given, module initialization failures are ignored.
|
|
||||||
# If condition is given, the module is loaded only when the context
|
|
||||||
# properties all match the match rules.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Uses realtime scheduling to boost the audio thread priorities. This uses
|
|
||||||
# RTKit if the user doesn't have permission to use regular realtime
|
|
||||||
# scheduling.
|
|
||||||
{ name = libpipewire-module-rt
|
{ name = libpipewire-module-rt
|
||||||
args = {
|
args = {
|
||||||
nice.level = -12
|
nice.level = -11
|
||||||
rt.prio = 89
|
rt.prio = 88
|
||||||
rt.time.soft = 200000
|
rt.time.soft = -1
|
||||||
rt.time.hard = 200000
|
rt.time.hard = -1
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
monitor.alsa.rules = [
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
actions = {
|
||||||
|
update-props = {
|
||||||
|
audio.format = "S32LE"
|
||||||
|
audio.rate = 48000
|
||||||
|
api.alsa.period-size = 1024
|
||||||
|
api.alsa.periods = 2
|
||||||
|
node.pause-on-idle = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -1 +1 @@
|
||||||
Subproject commit a0ea9afe959b88644f3a7010761cac7f8a0d3dd3
|
Subproject commit 531caf610535125667377e627f4a5bcbcda43a96
|
Loading…
Add table
Reference in a new issue