After reviewing the output bpa requested I changed
/etc/default/squeezelite to:
Code:
--------------------
    # Defaults for squeezelite initscript
  # sourced by /etc/init.d/squeezelite
  # installed at /etc/default/squeezelite by the maintainer scripts
  
  # The name for the squeezelite player:
  SL_NAME="$(hostname -s)"
  
  # ALSA output device:
  SL_SOUNDCARD="plughw:CARD=PT100,DEV=0"
  
  # Squeezebox server (Logitech Media Server):
  # Uncomment the next line if you want to point squeezelite at the IP address 
of
  # your squeezebox server. This is usually unnecessary as the server is
  # automatically discovered.
  #SB_SERVER_IP="192.168.x.y"
  
  # Additional options to pass to squeezelite:
  # Please do not include -z to make squeezelite daemonise itself.
  SB_EXTRA_ARGS="-d all=debug -f /home/ubuntu/logfile.txt"
--------------------


So that squeezelite would use plughw:CARD=PT100,DEV=0 since that showed
more capabilities than plughw:CARD=PT100,DEV=1. No sound works when
using plughw:CARD=PT100,DEV=0 though and nothing appears on the DAC
screen. Looking at the debug file I see:
Code:
--------------------
    [19:44:08.696429] stream_init:448 init stream
  [19:44:08.696601] stream_init:449 streambuf size: 2097152
  [19:44:08.707691] output_init_alsa:940 init output
  [19:44:08.707789] output_init_alsa:979 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [19:44:08.707846] output_init_common:353 outputbuf size: 3528000
  [19:44:08.708034] output_init_common:377 idle timeout: 0
  [19:44:08.712535] output_init_common:425 supported rates: 768000 705600 
384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 
12000 11025 8000
  [19:44:09.061822] output_init_alsa:1006 memory locked
  [19:44:09.061944] output_init_alsa:1012 glibc detected using mallopt
  [19:44:09.062636] output_init_alsa:1032 set output sched fifo rt: 45
  [19:44:09.062647] output_thread:687 open output device: 
plughw:CARD=PT100,DEV=0
  [19:44:09.062680] decode_init:153 init decode
  [19:44:09.063853] alsa_open:351 opening device at: 44100
  [19:44:09.063910] register_dsd:908 using dsd to decode dsf,dff
  [19:44:09.063974] register_ff:797 using ffmpeg to decode alc
  [19:44:09.064002] register_ff:781 using ffmpeg to decode wma,wmap
  [19:44:09.064028] register_faad:663 using faad to decode aac
  [19:44:09.064054] register_vorbis:380 using vorbis to decode ogg
  [19:44:09.064079] register_flac:332 using flac to decode ogf,flc
  [19:44:09.064106] register_pcm:483 using pcm to decode aif,pcm
  [19:44:09.064139] register_mad:423 using mad to decode mp3
  [19:44:09.064164] decode_init:194 include codecs:  exclude codecs:
  [19:44:09.065199] discover_server:794 sending discovery
  [19:44:09.065636] alsa_open:422 opened device plughw:CARD=PT100,DEV=0 using 
format: S32_LE sample rate: 44100 mmap: 1
  [19:44:09.065963] alsa_open:513 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [19:44:09.066153] discover_server:805 got response from: 192.168.x.y:3483
  [19:44:09.074723] ALSA snd_pcm_hw_hw_params:386 SNDRV_PCM_IOCTL_HW_PARAMS 
failed (-28)
  [19:44:09.074788] alsa_open:530 unable to set hw params: No space left on 
device
--------------------


So I'm still stuck but maybe the error "ALSA snd_pcm_hw_hw_params:386
SNDRV_PCM_IOCTL_HW_PARAMS failed (-28)" will resonate with someone here?


------------------------------------------------------------------------
hafnpin's Profile: http://forums.slimdevices.com/member.php?userid=72096
View this thread: http://forums.slimdevices.com/showthread.php?t=115518

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to