Triode wrote: 
> I would recommend use of hw: as the alsa device, and to target it to a
> specific card rather than be subject to devices getting renumbered
> (which is likely with usb device if you hotplug them), then use
> hw:CARD=XXXXX, where XXXX is the card name.
> 
> The listing from squeezelite is the same as aplay -L and uses the
> standard alsa api to get the card names - it may be worth processing
> this to make it hw:CARD=XXXX entries only, but I have not done that at
> present - so you see exactly what aplay would show which is what alsa
> returns for pcm devices. [see alsa snd_device_name_hint api]

I've been playing around with bluetooth and Squeezelite, the  bluetooth
alsa driver produces a PCM device, NOT a card, so having devices in the
list, not just cards, came in handy. 

John S.


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