aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
commit2bf7ec4f3935c68e6d129ffac17820411b3ea44d (patch)
tree8689514b06b6e9220def40fc1a82ead33dd17455 /src/decoder_api.h
parent154aa496e8c18bba3dc10c607987c187f4686ae4 (diff)
added decoder_initialized()
decoder_initialized() sets the state to DECODE_STATE_DECODE and wakes up the player thread. It is called by the decoder plugin after its internal initialization is finished. More arguments will be added later to prevent direct accesses to the DecoderControl struct.
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index f4e0c13b..c9ab3ebb 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -34,4 +34,10 @@
*/
struct decoder;
+/**
+ * Notify the player thread that it has finished initialization and
+ * that it has read the song's meta data.
+ */
+void decoder_initialized(struct decoder * decoder);
+
#endif