player/Thread: add another code comment explaining OnPlayerSync()
This commit is contained in:
parent
d9d511f33e
commit
e29c06b718
@ -1169,6 +1169,11 @@ try {
|
|||||||
{
|
{
|
||||||
const ScopeUnlock unlock(mutex);
|
const ScopeUnlock unlock(mutex);
|
||||||
do_play(*this, dc, buffer);
|
do_play(*this, dc, buffer);
|
||||||
|
|
||||||
|
/* give the main thread a chance to
|
||||||
|
queue another song, just in case
|
||||||
|
we've stopped playback
|
||||||
|
spuriously */
|
||||||
listener.OnPlayerSync();
|
listener.OnPlayerSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user