From 8a4970f863b03550123d1b4595cf69838a93e774 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:18 +0200 Subject: added decoder_control.c The source "decoder_control.c" provides an API for controlling the decoder. This replaces various direct accesses to the DecoderControl struct. --- src/decode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/decode.h') diff --git a/src/decode.h b/src/decode.h index 29e25392..f68507d3 100644 --- a/src/decode.h +++ b/src/decode.h @@ -61,4 +61,14 @@ typedef struct _DecoderControl { void decoderInit(void); +void dc_command_wait(Notify *notify); + +void dc_start(Notify *notify, Song *song); + +void dc_start_async(Song *song); + +void dc_stop(Notify *notify); + +int dc_seek(Notify *notify, double where); + #endif -- cgit v1.2.3