I've added
the following to /etc/asound.conf:
defaults.pcm.rate_converter "samplerate_best"
Should that do it?
Yes. (If that converter is installed.)
How can I verify that it's working?
Run aplay with -v:
$ aplay -v something.wav
Playing WAVE 'something.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S32_LE)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
...
Thank you Clemens, I just needed to install alsa-utils (with
USE=libsamplerate) on Gentoo.
- Grant