diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:18 +0200 |
commit | 8a4970f863b03550123d1b4595cf69838a93e774 (patch) | |
tree | fceabe5effacc9e910c74cad535999f3a3a2adf3 /src/decode.h | |
parent | 7d3429a6d89634f098770f7dce8442f59aac9890 (diff) | |
download | mpd-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 'src/decode.h')
-rw-r--r-- | src/decode.h | 10 |
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 |