Man in a van wrote: 
> I have used 
> 
> hw:CARD=ALSA,DEV=0
> 
> on the  pi desktop with no problems.
> 
> Just saying :)
> 
> ronnie
My comments are sort of aimed at other readers of the thread possibly at
some later date.

I'm on a little crusade trying to make people aware that there are
subtle differences between the different ALSA device selections 

For example, sometimes "default" is the same as "pulse" which means two
processes owned by different users cannot use the "pulse" device as
pulseaudio is normally per user.  

There are other difference which may be masked by LMS and/or
squeezelite's ability to transcodeo r resample unless users disable
features or override them with command line options.

Another example, recently a PC user was using "front:" which seemed to
work for any stream but for one stream it didn't.  User was using a $5
USB audio adapter which only supports 44.1kHz & 48khz and the stream was
32kHz.
Both front and plughw allow more data formats to be played through the
USB audio adapter. 

"front" handles 
Sampling rate 44100..192000 Hz
Sample formats: S16_LE, S32_LE

"plughw" handles
Sampling rate 4000..4294967295 Hz
Sample formats: S8, U8, S16_LE, S16_BE, U16_LE, U16_BE, S24_LE, S24_BE,
U24_LE, U24_BE, S32_LE, S32_BE, U32_LE, U32_BE, FLOAT_LE, FLOAT_BE,
FLOAT64_LE, FLOAT64_BE, MU_LAW, A_LAW, IMA_ADPCM, S24_3LE, S24_3BE,
U24_3LE, U24_3BE, S20_3LE, S20_3BE, U20_3LE, U20_3BE, S18_3LE, S18_3BE,
U18_3LE, U18_3BE

So playing the 32kHz stream on squeezelite did not work through "front"
but did work through "plughw".


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112025

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to