MikeDaPsych wrote: > I'm running 3.20 on a rpi1 model B 256MB and am having problems getting > shairport working. Shairport worked OK on 3.02, albeit with the > occasional interruptions in audio, but usable. > > Squeezelite v1.8.6-957 > > tc@hipi:~$ /usr/local/sbin/shairport-sync -V > 3.0.2-OpenSSL-tinysvcmdns-ALSA-stdout-pipe-soxr-metadata-sysconfdir:/usr/local/etc > > The shairport process is running and takes ~35% CPU when connected as an > output device from an iDevice. I just don't get any audio. > > I'm running a Topping VX1 USB DAC and have the ALSA equaliser enabled. > > My command lines for squeezelite and shairport are as follows: > > /usr/local/bin/squeezelite -n HiPi -o equal -a 80 4 1 -r 96000 -m b8 27 > eb b3 9b d2 -s 192.168.0.2 -C 15 > /usr/local/sbin/shairport-sync -a HiPi -o alsa -S soxr -d -D -R > --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d > $USBOUTPUT > > Anything obviously wrong? Is the combination of shairport, USB audio and > ALSA equaliser a good combo? > > Any help, suggestions etc. gratefully received. > > Thanks, > > Mike
Hi Mike, I also have been fighting to get the shairport running, and it works without pops, but with some tricks. You need to place a config file called -shairport-sync.conf -under the /usr/local/etc - see the last part of the output of your -shairport-sync -V- command. The newest versions of the shairport-sync are to be configured like that. In this config file, you basically need to disable synchronization (this causes pops in the sound, because the RPi cpu cannot always keep-up with the load of the resync algorythm), also give it a 1 sec buffer, plus some other tweeks. I am attaching my config file here, try to copy this under the location mentioned. If you want this to survive over reboots, add the file name in the /opt/.filetool.lst (skip the first slash in the path!) and run -sudo filetool.sh -b-. If you want the sample config file of shairport-sync, with all settings commented out, check this: https://github.com/mikebrady/shairport-sync/blob/master/scripts/shairport-sync.conf I hope this helps getting a pleasent airplai listening experience. Thanks, Sergiu +-------------------------------------------------------------------+ |Filename: shairport-sync.conf.gz | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22676| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ bsergiu's Profile: http://forums.slimdevices.com/member.php?userid=66496 View this thread: http://forums.slimdevices.com/showthread.php?t=107352 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
