player/Thread: pause all outputs in single mode

This mostly affects the Pulse output plugin which needs to "cork" the
stream (closes #278).
This commit is contained in:
Max Kellermann
2018-05-12 14:44:07 +02:00
parent d495ec71a8
commit c76f4ac89b
2 changed files with 3 additions and 0 deletions

View File

@@ -950,6 +950,7 @@ Player::SongBorder()
const bool border_pause = pc.LockApplyBorderPause();
if (border_pause) {
paused = true;
pc.outputs.Pause();
idle_add(IDLE_PLAYER);
}
}