summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/sequencer.h
diff options
context:
space:
mode:
authorStepan Moskovchenko <stevenm@rockbox.org>2007-11-03 04:09:38 +0000
committerStepan Moskovchenko <stevenm@rockbox.org>2007-11-03 04:09:38 +0000
commitcd963d84ca5417ee443ea3f1d7cf13040ab9e5e7 (patch)
treedf9644e33cc866bdf1b92dc25a6b647e70770232 /apps/plugins/midi/sequencer.h
parentdc58c3d92e88bd1be3b73b2887c8856687d5002f (diff)
downloadrockbox-cd963d84ca5417ee443ea3f1d7cf13040ab9e5e7.tar.gz
rockbox-cd963d84ca5417ee443ea3f1d7cf13040ab9e5e7.zip
MIDI: Allow seeking forward and backward using the left/right keys. Currently seeks in 5 second
increments, but this can be set to any amount. Also implemented a counter for playing time, which can pretty easily be used to determine the length of the file, in seconds, before playing it. The time isn't displayed anywhere right now, but all this can be useful if this thing is turned into a codec, or at least gets a nice UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/sequencer.h')
-rw-r--r--apps/plugins/midi/sequencer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/midi/sequencer.h b/apps/plugins/midi/sequencer.h
index 3d05d4c8dd..0a70b98a1b 100644
--- a/apps/plugins/midi/sequencer.h
+++ b/apps/plugins/midi/sequencer.h
@@ -21,6 +21,7 @@ int tick(void);
21 21
22/* used by beatbox */ 22/* used by beatbox */
23void pressNote(int ch, int note, int vol); 23void pressNote(int ch, int note, int vol);
24void rewindFile();
24 25
25extern long tempo; 26extern long tempo;
26 27