forked from len0rd/rockbox
Remove wrapper for pressNote and make the function externally visible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14978 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b0a373681b
commit
cb9ba11de6
2 changed files with 8 additions and 21 deletions
|
|
@ -157,7 +157,7 @@ static inline void setPW(int ch, int msb, int lsb)
|
|||
}
|
||||
}
|
||||
|
||||
static void pressNote(int ch, int note, int vol)
|
||||
inline void pressNote(int ch, int note, int vol)
|
||||
{
|
||||
static int lastKill = 0;
|
||||
/* Silences all channels but one, for easy debugging, for me. */
|
||||
|
|
@ -379,12 +379,3 @@ int tick(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Ugly hack so that beatbox can get at teh pressnote function */
|
||||
/* Is there a speed advantage to keeping pressNote itself static? */
|
||||
/* Note that midiplay needs the speed much more than beatbox does */
|
||||
void pressNote_Nonstatic(int ch, int note, int vol)
|
||||
{
|
||||
pressNote(ch, note, vol);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue