aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 01:19:25 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 01:41:56 +0200
commita28df6123fef2047ec631d13c91156def6f7ab83 (patch)
treeba5690ea9747629874f2f36ebacfb9eab17f4fd5 /src/OutputInternal.hxx
parentc5c43c4541f4434b4c5a5bc5914d6bc08f75ea94 (diff)
downloadmpd-a28df6123fef2047ec631d13c91156def6f7ab83.tar.gz
mpd-a28df6123fef2047ec631d13c91156def6f7ab83.tar.xz
mpd-a28df6123fef2047ec631d13c91156def6f7ab83.zip
OutputInternal: use Mutex instead of GMutex
Diffstat (limited to '')
-rw-r--r--src/OutputInternal.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OutputInternal.hxx b/src/OutputInternal.hxx
index dd7e5bc1d..f3b23d8f5 100644
--- a/src/OutputInternal.hxx
+++ b/src/OutputInternal.hxx
@@ -22,6 +22,8 @@
#include "audio_format.h"
#include "pcm/pcm_buffer.h"
+#include "thread/Mutex.hxx"
+#include "thread/Cond.hxx"
#include <glib.h>
@@ -212,13 +214,13 @@ struct audio_output {
* This mutex protects #open, #fail_timer, #chunk and
* #chunk_finished.
*/
- GMutex *mutex;
+ Mutex mutex;
/**
* This condition object wakes up the output thread after
* #command has been set.
*/
- GCond *cond;
+ Cond cond;
/**
* The player_control object which "owns" this output. This