praganj wrote: 
> I am experimenting with Squeezelite on Raspberry PI - piCorePlayer -
> 1.1, squeezelite 1.5
> 
> Sound quality is phantastic, IHMO better than with SBT/Edo ,but
> squeezelite is causing very high CPU load.
> 
> I did some research, what is causing so much squeezelite CPU load on pi
> with WaveIO.
> 
> I was changing paramaters step by step.
> 
> 1. Original settings, using built pi soundcard: 2-5%
> 2. Changing different settings (-p 70, alsa 32:4:24:1 etc) when using
> built in card is causing very little load changes.
> 2. Using WaveIO USB instead of pi soundcard: jump up to ~42%
> 3. Changing different alsa settings like alsa buffer, period count and
> bit depth IS not causing any additional load when using WaveIO. With
> alsa 32:4:24:0 it is still 42%
> 4. Turning on alsa memory management (better sound) - jump up to 90%
> 5. setting max. sampling frequency to 96000 - drop to 80%.
> 6. turning off alsa mmap 32:4:24:0 - drop to ~42% load
> 
> So i suppose, that when we are connecting WaveIO/BII, than squeezelite
> is discovering WaveIO/BII as 24/192 DAC and is probably sending 24/192 ?
> into dac, when i set sampling frequency to 96, than it is sending 24/96,
> thats why the cpu load is going from 90 to ~80%.
> 
> Hmm, strange, i was hoping that squeezelite when playing 44.1 is sending
> 44.1 to DAC, but it looks liks it sending 24/192, or 24/96 when i am
> setting max. frequency to 96, but i would like to have original values
> going into my DAC and leave DAC doing the rest ...
> 
> I want 24 bit depth to have better volume control, but automatic
> upsampling is causing a load and playing 24/88.2 waves with alsa mm=1
> causes 95-96% load, because it is probaly converting 88.2 into 96 (or
> 192) on the fly.
> 
> Many greetings, T.

Can you post the exact command line parameters you are starting it with
and the output of "-d output=debug" debugging.  Unless you are using -u
or -R then its not squeezelite which is resampling, but alsa.  If you
are using squeezelite resampling then what are you intending to do - if
you are using it to upsample then it is expected to be on all the time,
if you only want it to resample of the native sample rate is not
supported then use it with the "E" option.


------------------------------------------------------------------------
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
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to