Roland0 wrote: > In case you haven't solved this in the meantime, you need to activate > resampling, eg. with -R -u vE > > While setting up an ES9023-based USB DAC, I noticed that squeezelite's > auto-detection seems to be a bit off. > The DAC is reported by ALSA like this: > > Code: -------------------- > > Interface 1 > Altset 1 > Format: S16_LE > Channels: 2 > Endpoint: 3 OUT (SYNC) > Rates: 48000 -------------------- > > > squeezelite, however, happily plays a track like this: > > Code: -------------------- > > output_init_common:411 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 > alsa_open:389 opened device default:CARD=ES9023 using format: S32_LE sample rate: 44100 mmap: 1 -------------------- > > > Weirdly enough, this works for a couple of seconds (although with a > very high system load and a number of USB errors in the log), until > the whole system (RPi3) completely freezes and can only be reanimated > by a power cycle. > > Forcing squeezelite to use the correct sample rate / format fixes the > issue: > > Code: -------------------- > > squeezelite -o default:CARD=ES9023 -r 48000-48000 -a 40:4:16:1 -p 20 -R -u vE -------------------- > > > > Code: -------------------- > > output_init_common:411 supported rates: 48000 > opened device default:CARD=ES9023 using format: S16_LE sample rate: 48000 mmap: 1 -------------------- > >
What does squeezelite report for supported sample rates and sizes if you use -o *hw:*CARD=ES9023 instead of *default:* ? Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
