philippe_44 wrote: 
> Maybe one thing to confirm that hypothesis would be to go very small
> buffers, like -b 32:512 so ensure that there will be no long pause in
> streams (mad min codec space values are 2k/206k) - not sure why 206k BTW
> and @ralphy, could there be a chance that 2k min_space is a bit too
> small for mad? I've never paid attention to what mad needs in term of
> min chunk

Triode set the min/max values so I don't know why 206k and have never
had a reason to question it before now.

The 2k min_space in the mad decoder has been that value since v0.2beta1
and the mpg123 decoder exhibits the same issue with an even smaller min
space of 512 bytes.

I can't reproduce this issue but have seen the high cpu usage only on
windows 10 which eventually drops back to "normal" and sometimes with
socket errors in the slimproto thread, followed by squeezelite
reconnecting to the server.  I've never seen this on windows 7 64bit.


Code:
--------------------
    [11:36:16.956] process_strm:274 strm command t
  [11:36:16.956] sendSTAT:189 STAT: STMt
  [11:36:16.956] send_packet:108 failed writing to socket: Unknown error
  [11:36:16.956] slimproto_run:572 error reading from socket: Unknown error
  [11:36:17.071] slimproto:926 connected
  [11:36:17.071] sendHELO:142 mac: xx:xx:xx:xx:xx:xx
  [11:36:17.071] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.7-1270,ModelName=SqueezeLite,MaxSampleRate=192000,dsf,dff,alc,aac,ogg,ops,ogf,flc,aif,pcm,mp3
  [11:36:17.081] process:521 setd
  [11:36:17.081] process:521 setd
  [11:36:17.081] process:521 aude
  [11:36:17.081] process_aude:415 enable spdif: 1 dac: 1
  [11:36:17.086] process:521 audg
  
--------------------


Squeezelite '1.9.7.1271'
(https://sourceforge.net/projects/lmsclients/files/squeezelite/windows/squeezelite-1.9.7-1271-win64.zip/download)
has the mad decoder min space increased to 4k as a test for those who
can recreate the "hang/stop".



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
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