Kuro wrote: > I've a Legato II (USB to SPDIF converter). I've it plugged into my > Cubox and when I do a "squeezelite -l", I see the following: > > default:CARD=Legato - Legato, USB Audio - Default Audio > Device > sysdefault:CARD=Legato - Legato, USB Audio - Default Audio > Device > front:CARD=Legato,DEV=0 - Legato, USB Audio - Front speakers > surround40:CARD=Legato,DEV=0 - Legato, USB Audio - 4.0 Surround > output to Front and Rear speakers > surround41:CARD=Legato,DEV=0 - Legato, USB Audio - 4.1 Surround > output to Front, Rear and Subwoofer speakers > surround50:CARD=Legato,DEV=0 - Legato, USB Audio - 5.0 Surround > output to Front, Center and Rear speakers > surround51:CARD=Legato,DEV=0 - Legato, USB Audio - 5.1 Surround > output to Front, Center, Rear and Subwoofer speakers > surround71:CARD=Legato,DEV=0 - Legato, USB Audio - 7.1 Surround > output to Front, Center, Side, Rear and Woofer speakers > iec958:CARD=Legato,DEV=0 - Legato, USB Audio - IEC958 (S/PDIF) > Digital Audio Output > dmix:CARD=Legato,DEV=0 - Legato, USB Audio - Direct sample > mixing device > dsnoop:CARD=Legato,DEV=0 - Legato, USB Audio - Direct sample > snooping device > hw:CARD=Legato,DEV=0 - Legato, USB Audio - Direct hardware > device without any conversions > plughw:CARD=Legato,DEV=0 - Legato, USB Audio - Hardware device > with all software conversions > > My first question is, why am I getting so many different output device > options? Who is providing all these options? ALSA? > > I mostly use the output hw and plughw. When comparing the sound on > playing CD rips, I found that the hw connection sounds a lot better, > with a lot more details in the music. > > So my second question is, is it possible to do sample rate conversion > when the sample rate of the music file does not match the capability of > the player? In my case, my player only does 44.1. So if I play CD > rips, it should go straight thru' without conversion, but if I play > 24/96, I want it to down sample to 44.1 so I can still listen to the > music. > > If the conversion is initiated in squeezelite, I want to see the above > enhancement in the code. Thanks.
All of those output devices come from alsa - suggest using hw:CARD=Legato The server can downsample to the max rate of the player, so specify "-r 44100" on the command line to fix the max rate of squeezelite to 44100. [Squeezelite can also upsample but this will not help you] ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
