osv wrote:
> Unfortunately I was not able to reproduce the same events sequence with
> the "cast=sdebug" setting. I am getting no sound even with the first mp3
> file. I am attaching the log file anyway.
I browsed through the castcore.c in order to understand some log
messages and the following does not seem correct to me:
Code:
--------------------
LOG_SDEBUG("[%p]: recvID %u (waitID %u)", Ctx,
Ctx->waitId, requestId);
// expected request acknowledge
if (Ctx->waitId && Ctx->waitId <= requestId) {
[...]
// must be done at the end, once all parameters
have been acquired
Ctx->waitId = 0;
if (Ctx->Status == CAST_LAUNCHED)
ProcessQueue(Ctx);
}
--------------------
1. The first line should obviously be read
Code:
--------------------
LOG_SDEBUG("[%p]: recvID %u (waitID %u)", Ctx,
requestId, Ctx->waitId);
--------------------
2. The "expected request acknowledge" condition should be "Ctx->waitId
&& Ctx->waitId == requestId", otherwise any message with greater ID is
treated as an acknowledgement.
------------------------------------------------------------------------
osv's Profile: http://forums.slimdevices.com/member.php?userid=66676
View this thread: http://forums.slimdevices.com/showthread.php?t=104614
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins