diff --git a/hypr-configs/dotfiles/pipewire/pipewire.conf.d/1-pipewire.conf b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/1-pipewire.conf index 8acd25c..d5f6b49 100644 --- a/hypr-configs/dotfiles/pipewire/pipewire.conf.d/1-pipewire.conf +++ b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/1-pipewire.conf @@ -1,36 +1,18 @@ - context.properties = { - ## Properties for the DSP configuration. - default.clock.rate = 192000 - default.clock.allowed-rates = [ 44100 48000 88200 96000 192000 352800 384000] - default.clock.quantum = 32 - default.clock.min-quantum = 16 - default.clock.max-quantum = 768 + default.clock.rate = 48000 + default.clock.allowed-rates = [ 44100 48000 88200 96000 ] + default.clock.quantum = 1024 + default.clock.min-quantum = 1024 + default.clock.max-quantum = 2048 } context.modules = [ - #{ name = - # ( args = { = ... } ) - # ( flags = [ ( ifexists ) ( nofail ) ] ) - # ( condition = [ { = ... } ... ] ) - #} - # - # 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 args = { - nice.level = -12 - rt.prio = 89 - rt.time.soft = 200000 - rt.time.hard = 200000 + nice.level = -11 + rt.prio = 88 + rt.time.soft = -1 + rt.time.hard = -1 } flags = [ ifexists nofail ] } diff --git a/hypr-configs/dotfiles/wireplumber/wireplumber.conf.d/51-fix-crackle.conf b/hypr-configs/dotfiles/wireplumber/wireplumber.conf.d/51-fix-crackle.conf new file mode 100644 index 0000000..0f14269 --- /dev/null +++ b/hypr-configs/dotfiles/wireplumber/wireplumber.conf.d/51-fix-crackle.conf @@ -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 + } + } + } +] \ No newline at end of file diff --git a/linux-configs b/linux-configs index a0ea9af..531caf6 160000 --- a/linux-configs +++ b/linux-configs @@ -1 +1 @@ -Subproject commit a0ea9afe959b88644f3a7010761cac7f8a0d3dd3 +Subproject commit 531caf610535125667377e627f4a5bcbcda43a96