1
0
Fork 0
forked from len0rd/rockbox

Fix up #endif.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13652 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2007-06-17 16:32:02 +00:00
parent 0255489b7e
commit eb3e102d08

View file

@ -23,7 +23,7 @@
#include "sound.h" #include "sound.h"
#if CONFIG_CPU == PNX0101 #if CONFIG_CPU == PNX0101
#include "string.h" #include "string.h"
#endif #endif /* CONFIG_CPU == PNX0101 */
/** /**
* APIs implemented in the target-specific portion: * APIs implemented in the target-specific portion:
@ -273,7 +273,7 @@ void pcm_calculate_peaks(int *left, int *right)
#if CONFIG_CPU == PNX0101 #if CONFIG_CPU == PNX0101
size_t samples = p_size / 4; size_t samples = p_size / 4;
addr = p; addr = p;
#endif #endif /* CONFIG_CPU */.
if (samples > PEAK_SAMPLES) if (samples > PEAK_SAMPLES)
samples = PEAK_SAMPLES - (PEAK_STRIDE - 1); samples = PEAK_SAMPLES - (PEAK_STRIDE - 1);
@ -324,9 +324,10 @@ void pcm_calculate_peaks(int *left, int *right)
else else
*right = peak_value; *right = peak_value;
} }
#endif
} }
#endif #endif /* !defined(CPU_PP) */
#endif /* !defined(CPU_COLDFIRE) && (CONFIG_CPU != S3C2440) */
/**************************************************************************** /****************************************************************************
* Functions that do not require targeted implementation but only a targeted * Functions that do not require targeted implementation but only a targeted