PasTim wrote: 
> Hi Marco, I am trying to arrange that all resampling and converting of
> all my flacs is done on my server, which then feeds squeezelite on a
> rather low power laptop (by wire) driving headphones by USB (48,000
> only) 
> 
> It works, except that repositioning in a track doesn't. It jumps to the
> next track.
> 
> I'm also a little surprised that it doesn't feed the laptop a bit
> quicker, but sox does seem very busy indeed on the server.  I'll try
> reducing the quality somewhat.  Does it need bigger buffers?  I tried
> increasing the sox buffer to no effect (it doesn't 'take').  Is it worth
> getting the advanced sox even if not using DSD?
> 
> My current 'last command' is:
> > 
Code:
--------------------
  >   > 
  > [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -I -b 90.7 48000
  > 
--------------------
> > 

My current system is an AMD DualCore 2600 4GB Ram (2009 pc),  Debian 9,
SOX 140301 NOT dsd capable (I think is the one by lms, don't remember).

In that system:

a. repositioning in a track works to me

b. SOX takes up to 95% of cpu time for the time (few seconds) needed to
fill the player input buffer (or decode and upsample the frst two
tracks), then it pause (or die, if two tracks are completely buffered)
until the player streams out. 

That could delay the playback startup (currently delay is 3 secs in my
system,  settled in value in Player->Audio-> Audio Startup Time), If is
too long for you (and longer than the one in settings) You could toggle
SOX multithreading, increase a bit the sox buffer (to 16 o 32), decrease
player buffer size (both in and out) to let SOX work a little bit more
'relaxed' but longer. 

That's my line:


Code:
--------------------
    
  [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -L -a -b 90.7 48000 dither -f 
improved-e-weighted
  
--------------------


You could try the latest version of C-3PO in the beta repo
(http://www.marcoc1712.it/downloads/repository_beta.xml) I've changed
something that (not intentionally) could be related to the first
problem, please let me know.

p.s.

Are LMS running in  windows? If so socket wrapper could be the origin of
(both) problem(s), it's a nightmare!

Please, lt me know.



________________________________________________________________________
Author of C-3PO plugin,  Squeezelite-R2, Falcon Web interface - See
www.marcoc1712.it
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

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

Reply via email to