Take 2 at 'Consolidate all fixed point math routines in one library' (FS#10400) by Jeffrey Goode

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-07-05 18:06:07 +00:00
parent 427bf0b893
commit 802743a061
22 changed files with 754 additions and 755 deletions

View file

@ -198,7 +198,7 @@ static void wave_table_generate(void)
for (i=0;i<256;++i)
{
wave_array[i] = (unsigned char)((WAV_AMP
* (sin_int((i * 360 * plasma_frequency) / 256))) / 16384);
* (fp14_sin((i * 360 * plasma_frequency) / 256))) / 16384);
}
}