Commit e29c06b7 authored by Max Kellermann's avatar Max Kellermann

player/Thread: add another code comment explaining OnPlayerSync()

parent d9d511f3
......@@ -1169,6 +1169,11 @@ try {
{
const ScopeUnlock unlock(mutex);
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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment