Sample rate for USB audio. Audio getting pitched up. - Raspberry Pi Forums


so have created airplay-server old friend raspberry pi. connected via usb dac, , amplifier.
use shairport. seems working well, except 1 little problem: music gets played fast , pitched up. guess sort of sampling error happening, might alsa converting 44,1khz 48khz or that?

have tried these tricks, no avail:

disabling alsa automatic sample rate conversion i.e., use hw instead of dmix

code: select all

sudo nano /etc/asound.conf  pcm.!default {  type hw  card 0  device 0  }
or

changing rate if using dmix automatic sample rate conversion

code: select all

sudo nano /usr/share/alsa/alsa.conf  defaults.pcm.dmix.rate 44100 (default 48000)
of guys have idea of do? totally new this, sorry if being ignorant.

thank in advance!

bump guess?


raspberrypi



Comments