Triode wrote:
> Can you start it manually and see what the error messages are with "-d
> output=debug" added to the command line?
Output for squeezelite -l
Code:
--------------------
root@squeezeplug:~# squeezelite -l
Output devices:
null - Discard all samples (playback) or generate
zero samples (capture)
pulse - PulseAudio Sound Server
sysdefault:CARD=Set - C-Media USB Headphone Set, USB Audio -
Default Audio Device
front:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - Front
speakers
surround40:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - 4.0
Surround output to Front and Rear speakers
surround41:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - 4.1
Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - 5.0
Surround output to Front, Center and Rear speakers
surround51:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - 5.1
Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio - 7.1
Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Set,DEV=0 - C-Media USB Headphone Set, USB Audio -
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=ALSA - bcm2835 ALSA, bcm2835 ALSA - Default Audio
Device
root@squeezeplug:~#
--------------------
Config of /etc/default/squeezelite
Code:
--------------------
SLOPTIONS="-n SqueezeLiving -o front:CARD=SET;DEV=0 -a 80:4"
SBSHOST="192.168.1.20"
SLMAC="b8:27:eb:23:3d:7d"
--------------------
Output from squeezelite -d output=debug
Code:
--------------------
root@squeezeplug:~# squeezelite -d output=debug
[21:11:39.410620] output_init:1265 init output
[21:11:39.413275] output_init:1268 outputbuf size: 3528000
[21:11:39.414900] output_init:1298 requested buffer_time: 20000 period_count:
4
format: any mmap: 1
[21:11:39.501380] output_init:1322 output: default maxrate: 192000
[21:11:39.503318] output_thread:562 open output device: default
[21:11:39.508656] alsa_open:257 opened device default using format: S32_LE
sample rate: 44100 mmap: 1
[21:11:39.510647] alsa_open:305 buffer time: 20045 period count: 4 buffer
size: 884 period size: 221
[21:11:39.616442] output_flush:1347 flush output buffer
[21:11:39.620772] output_flush:1347 flush output buffer
--------------------
Apparently I was using the wrong command to start-up squeezelite. I was
"using sudo service squeezelite start". Strange though that this command
did start Squeezelite correctly when rpi jack was used as audio output
but it did not start correctly if usb audio was selected as output. Now
I need to figure out which command is used to autostart squeezelite.
Now playing more or less in perfect sync with my Ipod touch running
Ipeng. Will try dropping the buffer 80:4 to see what that gives. What is
the correct way to stop squeezelite? I'm using sudo service squeezelite
stop, but figure that this also might not be the right command.
Thanks a lot Triode!
------------------------------------------------------------------------
Michielo's Profile: http://forums.slimdevices.com/member.php?userid=61855
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix