mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
427bf0b893
commit
802743a061
22 changed files with 754 additions and 755 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue