aboutsummaryrefslogtreecommitdiffstats
path: root/test/FakeDecoderAPI.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-22 11:10:41 +0200
committerMax Kellermann <max@duempel.org>2014-05-22 12:35:20 +0200
commit4eeea640f4641ec7c2b303567adf3e79855eb885 (patch)
treeb56039e1576a437594230027766b7bd0c5cec9e7 /test/FakeDecoderAPI.hxx
parentcc6f1020d01a6f8f814a6a6a211a00d490459f66 (diff)
downloadmpd-4eeea640f4641ec7c2b303567adf3e79855eb885.tar.gz
mpd-4eeea640f4641ec7c2b303567adf3e79855eb885.tar.xz
mpd-4eeea640f4641ec7c2b303567adf3e79855eb885.zip
DecoderAPI: add function decoder_open_uri()
Move and refactor code from the Wavpack decoder plugin.
Diffstat (limited to 'test/FakeDecoderAPI.hxx')
-rw-r--r--test/FakeDecoderAPI.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FakeDecoderAPI.hxx b/test/FakeDecoderAPI.hxx
index 134e77117..6f1933977 100644
--- a/test/FakeDecoderAPI.hxx
+++ b/test/FakeDecoderAPI.hxx
@@ -21,8 +21,13 @@
#define FAKE_DECODER_API_HXX
#include "check.h"
+#include "thread/Mutex.hxx"
+#include "thread/Cond.hxx"
struct Decoder {
+ Mutex mutex;
+ Cond cond;
+
bool initialized;
Decoder()