Pipewire rate settings

Published (last updated )

Check supported rates by hardware:

cat /proc/asound/card0/codec#2|grep rates

Place a default pipewire.conf:

mkdir -p ~/.config/pipewire
cp /usr/share/pipewire/pipewire.conf ~/.config/pipewire/pipewire.conf

In that file set default.clock.allowed-rates with rates supported by hardware:

default.clock.allowed-rates = [ 32000 44100 48000 88200 96000 176400 192000 ]

Restart pipewire:

systemctl --user restart pipewire

Observe that a given file playing now parameterizes the hardware correctly:

cat /proc/asound/card0/pcm0p/sub0/hw_params