Triode wrote: 
> So that means squeezelite thinks it is streaming ok - I would look to
> the alsa options to see if they make a difference.
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
  
--------------------


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
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