diff options
Diffstat (limited to 'ext/musepack/gstmusepackdec.h')
-rw-r--r-- | ext/musepack/gstmusepackdec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/musepack/gstmusepackdec.h b/ext/musepack/gstmusepackdec.h index 858372fd..517861d1 100644 --- a/ext/musepack/gstmusepackdec.h +++ b/ext/musepack/gstmusepackdec.h @@ -20,7 +20,12 @@ #ifndef __GST_MUSEPACK_DEC_H__ #define __GST_MUSEPACK_DEC_H__ +#ifdef MPC_IS_OLD_API #include <mpcdec/mpcdec.h> +#else +#include <mpc/mpcdec.h> +#endif + #include <gst/gst.h> G_BEGIN_DECLS @@ -46,7 +51,11 @@ typedef struct _GstMusepackDec { guint64 offset; /* MUSEPACK_DEC object */ +#ifdef MPC_IS_OLD_API mpc_decoder *d; +#else + mpc_demux *d; +#endif mpc_reader *r; gint bps; /* bytes per sample */ /* ATOMIC */ |