bpa wrote: 
> AFAICT LMS does read of "source"  data in 32kBytes chunks which should
> only improve things compared to 1K.
> 
> LMS request chunks of data to fill a player buffer.  Playing only starts
> when buffer has reached a threshold.  The player will indicate underrun
> when no data left in buffer to play.
> Player has two buffer input for encoded data and output for decoded
> data.  
> 
> From log below it looks like input buffer is about 2Mbytes (2,093,152)
> and output is about (1,764,000). 
> The input buffer will take about 63 x 32kbyte chunks to fill and it took
> LMS from 44:22.13 to 44:22.73  to do it. 
> So LMS is initially supplying data at about 2,093,152/0.6 =
> 3.4Mbytes/sec - so something is causing a delay or not letting LMS
> service an I/O request.
> 
> If you are still running LMS 8.1.2  - it is old (abt Jan 2021)  please
> upgrade just to eliminate old bugs. IIRC While there have been many bug
> fixes, there were some in early 2021 relating to waiting for I/O.
> 
> > 
Code:
--------------------
  >   > 
  > [22-11-09 20:44:22.1310] Slim::Player::Player::_buffering (1144) 
Buffering... 40960 / 2093152
  > [22-11-09 20:44:22.1350] Slim::Player::StreamingController::_eventAction 
(272) 00:00:00:00:00:00: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  > [22-11-09 20:44:22.4319] Slim::Player::Player::_buffering (1144) 
Buffering... 1212416 / 2093152
  > [22-11-09 20:44:22.4322] Slim::Player::Player::_buffering (1145)   
+output... 229376 / 1764000
  > [22-11-09 20:44:22.4337] Slim::Player::StreamingController::_eventAction 
(272) 00:00:00:00:00:00: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  > [22-11-09 20:44:22.7330] Slim::Player::Player::_buffering (1144) 
Buffering... 2097151 / 2093152
  > [22-11-09 20:44:22.7336] Slim::Player::Player::_buffering (1145)   
+output... 3342336 / 1764000
  > [22-11-09 20:44:22.7338] 
Slim::Player::StreamingController::playerBufferReady (2278) 00:00:00:00:00:00
  > 
--------------------
> > 

It seems better on 8.2.1, pausing less frequently every 5 minutes or so
(with no sync'd players, just Squeezelite). Still a bit surprising...



SB3 -> Quad 909 -> Quad Electrostatic speakers, Quad 405 -> TBI
subwoofer
3 x SB3s + SB Radio
LMS on Raspbian on a Pi4
Rotel RSP1068 surround processor, Quad 707 -> B&W surround
------------------------------------------------------------------------
rbl's Profile: http://forums.slimdevices.com/member.php?userid=4517
View this thread: http://forums.slimdevices.com/showthread.php?t=117034

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

Reply via email to