summaryrefslogtreecommitdiff
path: root/apps/plugins/midi
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-10-04 10:30:01 +0000
committerNils Wallménius <nils@rockbox.org>2007-10-04 10:30:01 +0000
commitcb9ba11de6a3755ab537e3f6e6e81bd8bf455457 (patch)
treeced50420d06cde09d7e2f2a3589280903787c78c /apps/plugins/midi
parentb0a373681bd57e1790032b9fa7ec5a5d6ea8c37d (diff)
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
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r--apps/plugins/midi/sequencer.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index a44bacfce8..82da3efbcf 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -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);
-}
-