1
0
Fork 0
forked from len0rd/rockbox

Optimisation of the midi player, reducing the number of multiplications and memory accesses inside a very frequently executed loop, also does shifting of the whole sample when synthing is done which improves accurracy slightly, ~10% fewer buffer misses

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14983 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-10-04 19:36:42 +00:00
parent cc5b50b231
commit e1940b87b0
5 changed files with 20 additions and 27 deletions

View file

@ -152,8 +152,7 @@ void * my_malloc(int size);
extern struct SynthObject voices[MAX_VOICES];
extern int chVol[16]; /* Channel volume */
extern int chPanLeft[16]; /* Channel panning */
extern int chPanRight[16];
extern int chPan[16]; /* Channel panning */
extern int chPat[16]; /* Channel patch */
extern int chPW[16]; /* Channel pitch wheel, MSB only */