Triode wrote:
> Just to verify what you are seeing - if you run with -d output=sdebug,
> do you see a gap in the logging messages at the time of the stall?
Do you still want me to that? I already verified that by unlocking the
outbuf mutex as you first suggested.... problem (XRUN) goes away.
Code:
--------------------
--- squeezelite-1.6.1/flac.c~ 2014-04-22 21:07:18.000000000 +0100
+++ squeezelite-1.6.1/flac.c 2014-04-23 20:42:52.722459315 +0100
@@ -124,12 +124,16 @@
output.next_sample_rate = frame->header.sample_rate;
output.fade = FADE_INACTIVE;
} else {
+ UNLOCK_O;
output.next_sample_rate = decode_newstream(frame->header.sample_rate,
output.supported_rates);
+ LOCK_O;
output.next_dop = false;
if (output.fade_mode) _checkfade(true);
}
#else
+ UNLOCK_O;
output.next_sample_rate = decode_newstream(frame->header.sample_rate,
output.supported_rates);
+ LOCK_O;
if (output.fade_mode) _checkfade(true);
#endif
--------------------
------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix