Triode wrote: 
> Try running the local squeezelite with only pcm decode enabled (or with
> flac disabled).  I think this will use more cpu on the CT than doing the
> decode within squeezelite as lms and flac will be passing the audio
> between them before passing to squeezelite over a tcp socket.

That's what I do all the time. The local squeezelite on the Cubitruck
runs PCM only. And the server decodes the flac. The squeezelite
streaming buffer is set to 80MB. 
This way LMS decodes the flac all at once (if the SL buffer is big
enough - there's plenty of RAM left on the CT to increase that. SL
though runs into track handling problems, if more then one track fits
into the streaming buffer).

That leaves me with a 5-6% load for the the first couple seconds and for
the rest of track playback I look at neglectable <0.3% CPU load (LMS +
SL). 

If I wouldn't use a large SL streaming buffer, I'd have a continous
flac-decoding thread going and a continous load of approx. 2-3%! Which
is roughly ten times higher then my optimized setup.


Coming from above, I would like to feed  my tablet/phone with a "native"
flac stream to avoid PCM over air. Question was: How do I accomplish
both scenarios at the same time?

Cheers



::: ' Touch Toolbox and more' (http://soundcheck-audio.blogspot.com) :::
by soundcheck
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to