rpress;637018 Wrote: 
> Sure, I attached a diff.  My mod is pretty simple but it should work
> okay as the bool will be written in one instruction cycle so no need
> for a mutex lock.

Thanks for the patch.  I'll need to see if that holds true for all the
platforms that squeezeslave supports.

rpress;637018 Wrote: 
> Ah, so I've been looking into this.  I added some code to http_recv so
> that it would yield the thread if the audio->output_buffer is too low. 
> This worked very well and fixed it 90%, but it seems like there is still
> something else that is tying things up occasionally.

Perhaps you need to yield until there's more than (AUDIO_CHUNK_SIZE *
8) 64k in the output buffer.  It's raw audio so it is consumed quickly
by the callback.


-- 
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&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=83362

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to