Tritonio

ALSA sample rate

Apr 30th, 2019
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. The default alsa sample rate is normally 48kHz. Since shairport outputs 44.1 kHz alsa resamples the shairport output to 48kHz which will have a negative effect sound quality. Since the goal with volumio is to have the highest possible sound quality I think the default sample rate should be changed to 44.1kHz.
  2. This is done in /usr/share/alsa/alsa.conf
  3. by setting
  4. defaults.pcm.dmix.rate 44100 (default is 48000)
  5.  
  6. This fixes issues with VirtualBox pops, clicks and gaps.
Advertisement
Add Comment
Please, Sign In to add comment