diff options
author | Max Kellermann <max@musicpd.org> | 2018-05-12 14:44:07 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-05-12 14:44:07 +0200 |
commit | c76f4ac89bb8a79c2af417d418ae14c5f190f1a2 (patch) | |
tree | 4a39a944ca4731dad5ac5ef250a0c2de86588740 /src/player/Thread.cxx | |
parent | d495ec71a89fe9e1e70263302967c0c774ffdba0 (diff) |
player/Thread: pause all outputs in single mode
This mostly affects the Pulse output plugin which needs to "cork" the
stream (closes #278).
Diffstat (limited to 'src/player/Thread.cxx')
-rw-r--r-- | src/player/Thread.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx index 651117088..fcb7b39da 100644 --- a/src/player/Thread.cxx +++ b/src/player/Thread.cxx @@ -950,6 +950,7 @@ Player::SongBorder() const bool border_pause = pc.LockApplyBorderPause(); if (border_pause) { paused = true; + pc.outputs.Pause(); idle_add(IDLE_PLAYER); } } |