changeset 2000:89a445c53318

make musepack compile again.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 09 Oct 2007 04:56:47 +0900
parents 3afd18361a10
children aa8bd7b56cda
files configure.ac src/musepack/libmpc.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Oct 09 00:02:50 2007 +0900
+++ b/configure.ac	Tue Oct 09 04:56:47 2007 +0900
@@ -752,6 +752,7 @@
 
 if test "$enable_musepack" = "yes"; then
         INPUT_PLUGINS="$INPUT_PLUGINS musepack"
+        AC_SUBST(TAGLIB_CFLAGS)
 fi
 
 dnl *** WMA
--- a/src/musepack/libmpc.h	Tue Oct 09 00:02:50 2007 +0900
+++ b/src/musepack/libmpc.h	Tue Oct 09 04:56:47 2007 +0900
@@ -108,7 +108,7 @@
 static void       mpcStop(InputPlayback *data);
 static void       mpcPause(InputPlayback *data, short);
 static void       mpcSeek(InputPlayback *data, int);
-static void       mpcSetEq(int, float, float*);
+//static void       mpcSetEq(int, float, float*);
 static int        mpcGetTime(InputPlayback *data);
 static void       mpcGetSongInfo(char*, char**, int*);
 static void       freeTags(MpcInfo&);
@@ -126,8 +126,8 @@
 static void       lockAcquire();
 static void       lockRelease();
 static void*      decodeStream(InputPlayback*);
-static int        processBuffer(MPC_SAMPLE_FORMAT*, char*, mpc_decoder&);
-static void*      endThread(char*, FILE*, bool);
+static int        processBuffer(InputPlayback*, MPC_SAMPLE_FORMAT*, char*, mpc_decoder&);
+//static void*      endThread(char*, FILE*, bool);
 static bool       isAlive();
 static void       setAlive(bool);
 static double     getOffset();