Skip to content

Instantly share code, notes, and snippets.

@leoherzog
Created December 8, 2025 15:26
Show Gist options
  • Select an option

  • Save leoherzog/da2dfa172566143d52c18de83b88204d to your computer and use it in GitHub Desktop.

Select an option

Save leoherzog/da2dfa172566143d52c18de83b88204d to your computer and use it in GitHub Desktop.
High Bitrate PipeWire
# ~/.config/wireplumber/wireplumber.conf.d/at2020-override.conf
monitor.alsa.rules = [
{
matches = [
{ node.name = "~AT2020USB-X*" }
]
actions = {
update-props = {
audio.rate = 48000
audio.format = "S24LE"
}
}
}
]
# ~/.config/pipewire/pipewire.conf.d/hi-rate.conf
context.properties = {
# What the PipeWire graph wants to run at by default
default.clock.rate = 192000
# Other rates it is allowed to use when switching
# (order here is not a strict priority list, it’s just a set)
default.clock.allowed-rates = [ 44100 48000 88200 96000 176400 192000 352800 384000 ]
# Optional, but often good to tune if you raise the rate
# default.clock.min-quantum = 32
# default.clock.max-quantum = 8192
# default.clock.quantum = 1024
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment