Trivial changes to avoid compiler warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5975 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-02-16 12:48:24 +00:00
parent 562627c213
commit 9cba5b64dc
3 changed files with 9 additions and 3 deletions

View file

@ -155,6 +155,6 @@ typedef int16_t quantizer_t;
#define MUL_C(a,b) MUL_L (a, LEVEL (b))
#define DIV(a,b) ((((int64_t)LEVEL (a)) << 26) / (b))
#define BIAS(x) (x)
#define BIAS(x) ((x) + (bias*0))
#endif

View file

@ -480,6 +480,9 @@ static void zero (sample_t * samples)
void a52_downmix (sample_t * samples, int acmod, int output, sample_t bias,
level_t clev, level_t slev)
{
/* avoid compiler warning */
(void)clev;
switch (CONVERT (acmod, output & A52_CHANNEL_MASK)) {
case CONVERT (A52_CHANNEL, A52_CHANNEL2):

View file

@ -345,6 +345,7 @@ void a52_imdct_256 (sample_t * data, sample_t * delay, sample_t bias)
}
}
/*
static double besselI0 (double x)
{
double bessel = 1;
@ -355,11 +356,13 @@ static double besselI0 (double x)
while (--i);
return bessel;
}
*/
void a52_imdct_init (uint32_t mm_accel)
{
int i, k;
/* double sum;
(void)mm_accel;
/* int i, k;
double sum;
double local_imdct_window[256];*/
/* compute imdct window - kaiser-bessel derived window, alpha = 5.0 */