aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-10 12:35:18 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-10 12:35:18 +0000
commit2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6 (patch)
tree249f15fc84bd307facedee89452cdeb606580e5f /src/decode.h
parentcd3180c70180ae49c0c5611850c18ce0cebdd464 (diff)
downloadmpd-2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6.tar.gz
mpd-2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6.tar.xz
mpd-2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6.zip
some more work on organizing code for resampling/audioFormat conversion
git-svn-id: https://svn.musicpd.org/mpd/trunk@968 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/decode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decode.h b/src/decode.h
index 8d4168a62..39c6ec34d 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -22,6 +22,7 @@
#include "../config.h"
#include "mpd_types.h"
+#include "audio.h"
#include <stdio.h>
#include <sys/param.h>
@@ -48,8 +49,10 @@ typedef struct _DecoderControl {
volatile mpd_sint8 seek;
volatile mpd_sint8 seekError;
volatile mpd_sint8 cycleLogFiles;
- double seekWhere;
+ volatile double seekWhere;
char file[MAXPATHLEN+1];
+ AudioFormat audioFormat;
+ volatile float totalTime;
} DecoderControl;
void decodeSigHandler(int sig);