diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 13:09:05 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 13:09:05 +0000 |
commit | 6753fb5138a399b51e65f1dc3e36e73427013379 (patch) | |
tree | 825ca333da3f9cb3edf96d024bdeb7c2495c8068 /apps/codecs/libmusepack | |
parent | c6ff1f5eb541f9557e7fbc1449df9c024fd59a03 (diff) | |
download | rockbox-6753fb5138a399b51e65f1dc3e36e73427013379.tar.gz rockbox-6753fb5138a399b51e65f1dc3e36e73427013379.zip |
oops... should compile without warnings now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7187 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack')
-rw-r--r-- | apps/codecs/libmusepack/math.h | 2 | ||||
-rw-r--r-- | apps/codecs/libmusepack/synth_filter.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libmusepack/math.h b/apps/codecs/libmusepack/math.h index 532f1350c4..a89ef76f58 100644 --- a/apps/codecs/libmusepack/math.h +++ b/apps/codecs/libmusepack/math.h | |||
@@ -99,7 +99,7 @@ static inline MPC_SAMPLE_FORMAT MPC_MULTIPLY_EX(MPC_SAMPLE_FORMAT item1,MPC_SAMP | |||
99 | #ifdef MPC_HAVE_MULHIGH | 99 | #ifdef MPC_HAVE_MULHIGH |
100 | #define MPC_MULTIPLY_FRACT(X,Y) _MulHigh(X,Y) | 100 | #define MPC_MULTIPLY_FRACT(X,Y) _MulHigh(X,Y) |
101 | #else | 101 | #else |
102 | #ifdef CPU_COLDFIRE && !defined(SIMULATOR) | 102 | #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) |
103 | /* loses one bit of accuracy. | 103 | /* loses one bit of accuracy. |
104 | the rest of the macros won't be as easy as this... */ | 104 | the rest of the macros won't be as easy as this... */ |
105 | #define MPC_MULTIPLY_FRACT(X,Y) \ | 105 | #define MPC_MULTIPLY_FRACT(X,Y) \ |
diff --git a/apps/codecs/libmusepack/synth_filter.c b/apps/codecs/libmusepack/synth_filter.c index 105dbb0008..7644551d16 100644 --- a/apps/codecs/libmusepack/synth_filter.c +++ b/apps/codecs/libmusepack/synth_filter.c | |||
@@ -335,7 +335,7 @@ static void Synthese_Filter_float_internal(MPC_SAMPLE_FORMAT * OutData,MPC_SAMPL | |||
335 | { | 335 | { |
336 | mpc_uint32_t n; | 336 | mpc_uint32_t n; |
337 | 337 | ||
338 | #ifdef CPU_COLDFIRE && !defined(SIMULATOR) | 338 | #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) |
339 | asm volatile ("move.l #0x20, %macsr"); /* fractional emac mode */ | 339 | asm volatile ("move.l #0x20, %macsr"); /* fractional emac mode */ |
340 | #endif | 340 | #endif |
341 | for ( n = 0; n < 36; n++, Y += 32 ) { | 341 | for ( n = 0; n < 36; n++, Y += 32 ) { |
@@ -350,7 +350,7 @@ static void Synthese_Filter_float_internal(MPC_SAMPLE_FORMAT * OutData,MPC_SAMPL | |||
350 | 350 | ||
351 | 351 | ||
352 | for ( k = 0; k < 32; k++, D += 16, V++ ) { | 352 | for ( k = 0; k < 32; k++, D += 16, V++ ) { |
353 | #ifdef CPU_COLDFIRE && !defined(SIMULATOR) | 353 | #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) |
354 | asm volatile ( | 354 | asm volatile ( |
355 | "movem.l (%[D]), %%d0-%%d3\n\t" | 355 | "movem.l (%[D]), %%d0-%%d3\n\t" |
356 | "move.l (%[V]), %%a5\n\t" | 356 | "move.l (%[V]), %%a5\n\t" |