diff options
author | Max Kellermann <max@musicpd.org> | 2017-06-08 22:23:26 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-08-07 17:44:46 +0200 |
commit | 27d68d8fdd0cdf0cf24cc78e12319cda2db438fb (patch) | |
tree | 2852862001a81da90ce5219b55941c1376b54f44 /src/output/Thread.cxx | |
parent | 546b773b2127a7174fe8afab4a91ef18ef69f5ca (diff) |
output/Internal: move the Mutex to struct AudioOutputControl
struct AudioOutput should not know or care about multi-threading.
Diffstat (limited to 'src/output/Thread.cxx')
-rw-r--r-- | src/output/Thread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/Thread.cxx b/src/output/Thread.cxx index 70608809a..fa337b858 100644 --- a/src/output/Thread.cxx +++ b/src/output/Thread.cxx @@ -480,7 +480,7 @@ AudioOutputControl::Task() if (command == Command::NONE) { woken_for_play = false; - cond.wait(output->mutex); + cond.wait(mutex); } } } |