DecoderAPI: add function decoder_open_uri()

Move and refactor code from the Wavpack decoder plugin.
This commit is contained in:
Max Kellermann
2014-05-22 11:10:41 +02:00
parent cc6f1020d0
commit 4eeea640f4
6 changed files with 56 additions and 23 deletions

View File

@@ -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()