JackOfAll wrote: 
> Have you tried "-o hw:CARD=ALSA,DEV=1".... I think HDMI is device 1 of
> card 0.
thanks. Great stuff. Unfortunately I can't get any output out of
squeezelite when I do this;
I'm guessing this is to do with the way XBian is sharing the audio or
perhaps I haven't got the correct package dependencies for Spotify under
XBian - I'll keep testing.


Code:
--------------------
    
  $ aplay -l
  **** List of PLAYBACK Hardware Devices ****
  card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
  $ ./squeezelite-armv6hf -l
  Output devices:
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  default:CARD=ALSA              - bcm2835 ALSA, bcm2835 ALSA - Default Audio 
Device
  sysdefault:CARD=ALSA           - bcm2835 ALSA, bcm2835 ALSA - Default Audio 
Device
  
  $ /home/xbian/squeezelite-armv6hf -o hw:CARD=ALSA,DEV=1 -n "RPI-Lounge" -a 
100 -r 384000 -d all=debug -P /tmp/squeezelite.lounge.pid -m ab:cd:ef:aa:bb:cc 
-f /tmp/squeezelite.lounge.log -s 192.168.3.101 -z
  $ /home/xbian/squeezelite-armv6hf -o hw:CARD=ALSA,DEV=0 -n "RPI-Deck" -a 100 
-r 384000 -d all=debug -P /tmp/squeezelite.deck.pid -m ab:cd:ef:aa:bb:cd -f 
/tmp/squeezelite.deck.log -s 192.168.3.101 -z
  
--------------------


------------------------------------------------------------------------
ashleyw's Profile: http://forums.slimdevices.com/member.php?userid=58923
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to