From 2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 10 May 2004 12:35:18 +0000 Subject: 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 --- src/decode.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/decode.h') 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 #include @@ -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); -- cgit v1.2.3