I recently bought a Fiio BTR5 external DAC which has an screen that shows the sample rate of the audio output. I realised that it is constantly stuck at 44.1khz even though it supports 384khz.
If I change the default and alternate sample rate in /etc/pulse/default.pa, the sample rate of the DAC does change. It is a little painful to manually change the sample rate setting all the time.
I learned from the ARCH wiki that pulseaudio now supports "avoid resampling=yes", which enables the hardware to play the original sample rate without doing any resampling. I activated this command, however, my DAC is still stuck at the default 44.1khz, no matter what music I play. For example, I tried a music with 192khz, and my DAC was still showing 44.1khz.
Does anyone know how to solve this? Thanks very much.
Some update: I have now changed the default sample rate to 48000 and the alternate sample rate to 44100. Now the output is stuck at 48000, even when I am playing 44100 music.