aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:14:32 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:14:32 +0000
commit701cf6884ceb8a5a4791211258ce5d298d38e22f (patch)
tree3961c3ff3a05c34106e438ab851fe4e7d123fe16 /src/decode.h
parent0146fbe3ceab96759f1e55e73daaa6d6d7bc4b9b (diff)
downloadmpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.tar.gz
mpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.tar.xz
mpd-701cf6884ceb8a5a4791211258ce5d298d38e22f.zip
use the notify API in the decoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@7281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.h')
-rw-r--r--src/decode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decode.h b/src/decode.h
index 704caf990..ed9a25081 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -26,6 +26,7 @@
#include "mpd_types.h"
#include "audio.h"
+#include "notify.h"
#include "os_compat.h"
@@ -41,6 +42,8 @@
#define DECODE_ERROR_FILE 20
typedef struct _DecoderControl {
+ Notify notify;
+
volatile mpd_sint8 state;
volatile mpd_sint8 stop;
volatile mpd_sint8 start;