aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:18 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:18 +0200
commit8a4970f863b03550123d1b4595cf69838a93e774 (patch)
treefceabe5effacc9e910c74cad535999f3a3a2adf3 /src/decode.h
parent7d3429a6d89634f098770f7dce8442f59aac9890 (diff)
downloadmpd-8a4970f863b03550123d1b4595cf69838a93e774.tar.gz
mpd-8a4970f863b03550123d1b4595cf69838a93e774.tar.xz
mpd-8a4970f863b03550123d1b4595cf69838a93e774.zip
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.
Diffstat (limited to '')
-rw-r--r--src/decode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/decode.h b/src/decode.h
index 29e25392f..f68507d3f 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