Where to change USB Dac sampling rate?

Hi,

I would like to allow higher sampling rates than the default 48kHz, my setup can handle anything up to 384kHz.

In the past, this was simply done in config. But under EndeavourOS KDE, I’m confused.

Saddly this page is outdated, the config files mentioned are no longer there: https://discovery.endeavouros.com/audio/audiophile/2022/01/

The Arch wiki was also not really helpful about this topic. https://wiki.archlinux.org/title/PipeWire#Changing_the_allowed_sample_rate(s) The solution described there has no effect.

The other posts regarding this settings does also seems to be outdated. So where should I put a config file with the right values?

The PipeWire configuration template file is located in /usr/share/pipewire/pipewire.conf.
You can copy the file to /etc/pipewire/ or ~/.config/pipewire/pipewire.conf and edit it:

default.clock.rate           = 44100
default.clock.allowed-rates  = [ 44100 48000 88200 96000 192000 ]
3 Likes

Thanks!

I think I tried every other solutions yesterday…

Btw, I would not set the default.clock.rate because that would force-resample everything to that specific sampling rate. Using just the allowed-rates would allow the sampling rate to match the current source, so unnecessary resampling would not happen.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.