aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decode.h')
-rw-r--r--src/decode.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/decode.h b/src/decode.h
index 9f6e2f0e5..faf18f344 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -21,6 +21,8 @@
#include "../config.h"
+#include "mpd_types.h"
+
#include <stdio.h>
#include <sys/param.h>
@@ -38,11 +40,12 @@
#define DECODE_ERROR_UNKTYPE 1
typedef struct _DecoderControl {
- int state;
- int stop;
- int start;
- int error;
- int seek;
+ mpd_sint8 state;
+ mpd_sint8 stop;
+ mpd_sint8 start;
+ mpd_uint16 error;
+ mpd_sint8 seek;
+ mpd_sint8 seekError;
double seekWhere;
char file[MAXPATHLEN+1];
} DecoderControl;