From 2bf7ec4f3935c68e6d129ffac17820411b3ea44d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:04 +0200 Subject: 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. --- src/decoder_api.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index f4e0c13b9..c9ab3ebbb 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 -- cgit v1.2.3