forked from len0rd/rockbox
MIDI: Optimize the new pitch bending code for a small speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15160 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1cc852c346
commit
d33645ba13
4 changed files with 28 additions and 99 deletions
|
@ -66,6 +66,8 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig)
|
|||
chPat[a]=0; /* Ac Gr Piano */
|
||||
chPW[a]=256; /* .. not .. bent ? */
|
||||
chPBDepth[a]=2; /* Default bend value is 2 */
|
||||
chPBNoteOffset[a]=0; /* No offset */
|
||||
chPBFractBend[a]=65536; /* Center.. no bend */
|
||||
}
|
||||
for(a=0; a<128; a++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue