diff options
Diffstat (limited to 'apps/codecs/libmusepack/math.h')
-rw-r--r-- | apps/codecs/libmusepack/math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmusepack/math.h b/apps/codecs/libmusepack/math.h index eb9b0e978a..f9e9d08b08 100644 --- a/apps/codecs/libmusepack/math.h +++ b/apps/codecs/libmusepack/math.h | |||
@@ -68,7 +68,7 @@ typedef mpc_int64_t MPC_SAMPLE_FORMAT_MULTIPLY; | |||
68 | #define MAKE_MPC_SAMPLE(X) (MPC_SAMPLE_FORMAT)((double)(X) * (double)(((mpc_int64_t)1)<<MPC_FIXED_POINT_FRACTPART)) | 68 | #define MAKE_MPC_SAMPLE(X) (MPC_SAMPLE_FORMAT)((double)(X) * (double)(((mpc_int64_t)1)<<MPC_FIXED_POINT_FRACTPART)) |
69 | #define MAKE_MPC_SAMPLE_EX(X,Y) (MPC_SAMPLE_FORMAT)((double)(X) * (double)(((mpc_int64_t)1)<<(Y))) | 69 | #define MAKE_MPC_SAMPLE_EX(X,Y) (MPC_SAMPLE_FORMAT)((double)(X) * (double)(((mpc_int64_t)1)<<(Y))) |
70 | 70 | ||
71 | #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 71 | #if defined(CPU_COLDFIRE) |
72 | 72 | ||
73 | #define MPC_MULTIPLY(X,Y) mpc_multiply((X), (Y)) | 73 | #define MPC_MULTIPLY(X,Y) mpc_multiply((X), (Y)) |
74 | #define MPC_MULTIPLY_EX(X,Y,Z) mpc_multiply_ex((X), (Y), (Z)) | 74 | #define MPC_MULTIPLY_EX(X,Y,Z) mpc_multiply_ex((X), (Y), (Z)) |
@@ -158,7 +158,7 @@ static inline MPC_SAMPLE_FORMAT MPC_MULTIPLY_EX(MPC_SAMPLE_FORMAT item1,MPC_SAMP | |||
158 | #ifdef MPC_HAVE_MULHIGH | 158 | #ifdef MPC_HAVE_MULHIGH |
159 | #define MPC_MULTIPLY_FRACT(X,Y) _MulHigh(X,Y) | 159 | #define MPC_MULTIPLY_FRACT(X,Y) _MulHigh(X,Y) |
160 | #else | 160 | #else |
161 | #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 161 | #if defined(CPU_COLDFIRE) |
162 | /* loses one bit of accuracy. | 162 | /* loses one bit of accuracy. |
163 | the rest of the macros won't be as easy as this... */ | 163 | the rest of the macros won't be as easy as this... */ |
164 | #define MPC_MULTIPLY_FRACT(X,Y) \ | 164 | #define MPC_MULTIPLY_FRACT(X,Y) \ |