Roland0 wrote: > In this case, it's correct - thanks for the suggestion. > > hw results in plughw being used: > > Code: -------------------- > > squeezelite -s localhost -o "hw:CARD=ES9023" -d all=info -p 40 > [16:18:26.905117] alsa_open:389 opened device hw:CARD=ES9023 using format: S16_LE sample rate: 48000 mmap: 1 > [16:18:26.905207] alsa_open:468 buffer: 40 period: 4 -> buffer size: 1920 period size: 480 > [16:19:32.588500] alsa_open:338 opening device at: 44100 > [16:19:32.589280] alsa_open:368 reopening device hw:CARD=ES9023 in plug mode as plughw:CARD=ES9023 for resampling > [16:19:32.591067] alsa_open:389 opened device plughw:CARD=ES9023 using format: S16_LE sample rate: 44100 mmap: 1 -------------------- > > > > So I tried: > > Code: -------------------- > > squeezelite -s localhost -o "plughw:CARD=ES9023" -d all=info -p 40 > [16:21:33.497244] output_init_common:411 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 > [16:21:33.578703] alsa_open:389 opened device plughw:CARD=ES9023 using format: S32_LE sample rate: 44100 mmap: 1 -------------------- > > > > Both work fine, with no errors and very low CPU utilization. > > However, since the soxr resampling has better quality (see 'here' > (http://src.infinitewave.ca/)), I'll be using this: > > > Code: -------------------- > > squeezelite -s localhost -o "hw:CARD=ES9023" -d all=info -R -u vE -p 40 > [16:49:46.185966] output_init_common:411 supported rates: 48000 > [16:49:46.315986] resample_init:362 resampling sync recipe: 0x06, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 > [16:49:46.817425] resample_newstream:189 resampling from 44100 -> 48000 -------------------- > > > > CPU load is a bit higher, but still negligible (~8% on a RPi)
Consider the opportunity to resample server side. ____________________________________________________________ SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ------------------------------------------------------------------------ marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
