Mercurial > sdl-ios-xcode
diff src/audio/SDL_audiocvt.c @ 2765:f55c87ae336b
Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 04 Oct 2008 06:46:59 +0000 |
parents | 02aa80d7905f |
children | 26861c61142a |
line wrap: on
line diff
--- a/src/audio/SDL_audiocvt.c Wed Sep 17 08:24:51 2008 +0000 +++ b/src/audio/SDL_audiocvt.c Sat Oct 04 06:46:59 2008 +0000 @@ -1447,7 +1447,7 @@ cvt->state_pos = 0; #undef convert_fixed - return 0; + return 0; } #endif @@ -1673,7 +1673,7 @@ 0.42f - 0.5f * cosf(two_pi_over_m * (float) i) + 0.08f * cosf(four_pi_over_m * (float) i); } - norm_sum += fSinc[i] < 0 ? -fSinc[i] : fSinc[i]; /* fabs(fSinc[i]); */ + norm_sum += fSinc[i] < 0 ? -fSinc[i] : fSinc[i]; /* fabs(fSinc[i]); */ } norm_fact = 1.0f / norm_sum;