forked from len0rd/rockbox
Add drum names, make cowbell a default instrument (no way to remap them from UI yet). Add non-static
wrapper for pressnote (is there a better way?). Beatbox only tested on H300; compile at own risk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14972 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
38f953320b
commit
1ba018bb01
2 changed files with 87 additions and 3 deletions
|
|
@ -379,3 +379,12 @@ 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