Hello! I'm trying to have the home-pipewire-service configured to use a sample rate of 192 kHz instead of its default 48 kHz (for high resolution music playback); has anyone managed to do that?
Confusingly, the home-pipewire-configuration record has an extra-content field, but that gets added to ~/.config/alsa/asoundrc, a file I can't see documented in pipewire's documentation (it seems it's an ALSA thing rather than a Pipewire one? Perhaps there's a more modern file to use in its place, like pipewire.conf?) What I've tried so far: a) Added 'default.clock.rate = 192000' to ~/.config/pipewire/pipewire.conf; that broke pipewire's setup, I think it overrode the default configuration done in ~/.config/alsa/asoundrc, perhaps? It was printing that there was no module found/configured or similar. b) Added 'default.clock.rate = 192000' to ~/.config/pipewire/pipewire.d/10-sample-rates.conf (a "drop-in" file). This doesn't break pipewire's setup, but it also doesn't effect the sample rate used; I see for example this is pw-top when playing a 192 kHz music file: --8<---------------cut here---------------start------------->8--- R 61 2048 48000 135,7us 20,6us 0,00 0,00 0 S24LE 2 48000 alsa_output.usb-Generic_USB_Audio-00.HiFi__SPDIF__sink R 93 8192 192000 40,1us 70,6us 0,00 0,00 0 S24_32 2 192000 + Musique --8<---------------cut here---------------end--------------->8--- You can see the source has a sample rate of 192000 Hz, while the sink is down-sampled to 48000 Hz. -- Thanks, Maxim
