bsergiu wrote: > 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
Sergiu, Many thanks for a superb response. I followed your instructions and managed to get shairport-sync working :D BUT: 1) I can direct shairport audio through the ALSA equaliser by changing the following line in the config file: output_device = "equal"; This *only* works if the shairport-sync process is run from root. Running as the tc user produces no audio output. Setting the output_device to my USB DAC (sysdefault:CARD=VX1), I can run shairport-sync as the tc user and get audio output. Strange... 2) How can I get the default invocation of shairport-sync to use the config file exclusively rather than setting parameters on the command line? Restarting shairport-sync via the webgui, the cmdline looks like: /usr/local/sbin/shairport-sync -a HiPi -o alsa -S soxr -d -D -R --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d $USBOUTPUT which produces no audio as the output device is incorrect. To get audio, I just use a plain /usr/local/sbin/shairport-sync with no cmdine arguments (since they come from the config file!!) Can I edit the default shairport-sync invocation cmdline anywhere? Many thanks for your help, Mike ------------------------------------------------------------------------ MikeDaPsych's Profile: http://forums.slimdevices.com/member.php?userid=41620 View this thread: http://forums.slimdevices.com/showthread.php?t=107352 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
