Fixed a bunch of compile warnings on Mac OS X

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403191
This commit is contained in:
Sam Lantinga 2008-09-01 16:04:20 +00:00
parent 771abd3620
commit cd839b4bd3
7 changed files with 8 additions and 4 deletions

View file

@ -1622,7 +1622,6 @@ int
SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format,
unsigned int m)
{
float fScale; /* scale factor for fixed point */
float *fSinc; /* floating point sinc buffer, to be converted to fixed point */
float fc; /* cutoff frequency */
float two_pi_fc, two_pi_over_m, four_pi_over_m, m_over_two;
@ -1708,6 +1707,8 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format,
/* Clean up */
#undef convert_fixed
SDL_stack_free(fSinc);
return 0;
}
/* This is used to reduce the resampling ratio */