gharris999 wrote: 
> Just to close out this issue: the audio popping artifact problem seems
> to be resolved.  Squeezelite is now working perfectly with the various
> USB DACs I've been trying.  I did add the "-a ::16:0" alsa options.  But
> I also managed to get increased rtprio & niceness working under a
> non-root account via an upstart script.  I'm not sure which bit solved
> the popping, but I'm not arguing with success.
> 
> Here's my upstart script, if anyone is interested..
> 
> /etc/default/squeezelite:
> > 
Code:
--------------------
  >   > 
  > SQLITE_DESC="Squeezelite v1.6.6-test"
  > SQLITE_BIN="/usr/local/bin/squeezelite"
  > SQLITE_USER="daadmin"
  > SQLITE_AUDIODEV="sysdefault:CARD=VX1"
  > SQLITE_OPTIONS="-a ::16:0"
  > SQLITE_DEBUG="all=info"
  > SQLITE_LOG="/var/log/squeezelite/squeezelite.log"
  > SQLITE_MAC="8f:c7:54:4b:06:af"
  > SQLITE_PLAYERNAME="Topping_VX1"
  > SQLITE_LMSIP="127.0.0.1"
  > SQLITE_CLEARLOG="1"
  > SQLITE_UNMUTE="1"
  > 
--------------------
> > 
> 
> /etc/init/squeezelite.conf:
> > 
Code:
--------------------
  >   > 
  > # Ubuntu upstart file at /etc/init/squeezelite.conf
  > description "Squeezelite v1.6.6-test"
  > 
  > start on (started networking)
  > 
  > respawn
  > respawn limit 5 30
  > 
  > start on runlevel [2345]
  > stop on runlevel [06]
  > 
  > setuid daadmin
  > setgid daadmin
  > 
  > limit memlock unlimited unlimited
  > limit rtprio 95 95
  > nice -19
  > 
  > pre-start script
  >     . /etc/default/squeezelite
  > 
  >     if [ $SQLITE_CLEARLOG -gt 0 ]; then
  >             date >$SQLITE_LOG
  >     fi
  > 
  > end script
  > 
  > script
  >     . /etc/default/squeezelite
  > 
  >     exec $SQLITE_BIN \
  >       $SQLITE_OPTIONS \
  >       -o $SQLITE_AUDIODEV \
  >       -d $SQLITE_DEBUG \
  >       -f $SQLITE_LOG \
  >       -m $SQLITE_MAC \
  >       -n $SQLITE_PLAYERNAME \
  >       -s $SQLITE_LMSIP
  > 
  > end script
  > 
--------------------
> > 
Works for me - thanks.  I used the squeezeboxserver user and nogroup
group and it's still 'nice'.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS & Squeeze2upnp (Beta - derived from squeezelite) to
Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers.  Squeezelite
to PC sound.  Minimserver (server) and upplay (control point) to same
amps & to upmpdcli/mpd PC renderers.  Meridian USB Explorer DAC from PCs
to speakers/headphones.  Wireless Xubuntu 14.04 laptop controls
LMS/upplay via Firefox.   Have a Touch with EDO, and a spare, but don't
use.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to