From a196714eaa7a559f582176ef5c8681f6877509e0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 30 Jul 2005 10:28:43 +0000 Subject: update musepack decoding code to use the newer mpcdec library libmusepack is deprecated git-svn-id: https://svn.musicpd.org/mpd/trunk@3408 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/mpc_plugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index f4c1aa8df..5e5cd3cfa 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -18,7 +18,7 @@ #include "../inputPlugin.h" -#ifdef HAVE_MUSEPACK +#ifdef HAVE_MPCDEC #include "../utils.h" #include "../audio.h" @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include @@ -58,7 +58,7 @@ static mpc_int32_t mpc_read_cb(void * vdata, void * ptr, mpc_int32_t size) { return ret; } -static BOOL mpc_seek_cb(void * vdata, mpc_int32_t offset) { +static mpc_bool_t mpc_seek_cb(void * vdata, mpc_int32_t offset) { MpcCallbackData * data = (MpcCallbackData *)vdata; return seekInputStream(data->inStream , offset, SEEK_SET) < 0 ? 0 : 1; @@ -70,7 +70,7 @@ static mpc_int32_t mpc_tell_cb(void * vdata) { return (long)(data->inStream->offset); } -static BOOL mpc_canseek_cb(void * vdata) { +static mpc_bool_t mpc_canseek_cb(void * vdata) { MpcCallbackData * data = (MpcCallbackData *)vdata; return data->inStream->seekable; -- cgit v1.2.3