diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-22 02:44:22 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-22 02:44:22 +0000 |
commit | 145f0b62d26974c5e15ad65c902045fe671a9d05 (patch) | |
tree | f86617eeae1a30f1e97a35507b93756a99cf0b29 /src/decode.h | |
parent | 4c1eb9225d5a741e1234d48eb38a8df3da908259 (diff) | |
download | mpd-145f0b62d26974c5e15ad65c902045fe671a9d05.tar.gz mpd-145f0b62d26974c5e15ad65c902045fe671a9d05.tar.xz mpd-145f0b62d26974c5e15ad65c902045fe671a9d05.zip |
aac decoding!
need to work on seeking for AAC
also, don't reset cb->begin on seek to 0,
instead just set cb->end=cb->begin, works much better for
disabling seeking (like ADIF AAC's)
git-svn-id: https://svn.musicpd.org/mpd/trunk@356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.h')
-rw-r--r-- | src/decode.h | 13 |
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; |