summaryrefslogtreecommitdiff
path: root/src/midiplayer.h
diff options
context:
space:
mode:
authordeva <deva>2009-11-22 09:56:08 +0000
committerdeva <deva>2009-11-22 09:56:08 +0000
commit366701768b4e7e31e3d96071700783a49bcbd078 (patch)
treeaa8a1c9493c8f46d36ee1f3239d9b59361692139 /src/midiplayer.h
parent28630efa5e905f501f267e5e105d184ec5dd379a (diff)
Added editor for automated chopping up of audiofiles into samples.
Diffstat (limited to 'src/midiplayer.h')
-rw-r--r--src/midiplayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/midiplayer.h b/src/midiplayer.h
index 3694939..e41c73a 100644
--- a/src/midiplayer.h
+++ b/src/midiplayer.h
@@ -30,6 +30,7 @@
#include <jack/jack.h>
#include <jack/midiport.h>
#include <string>
+#include <smf.h>
class MidiPlayer {
public:
@@ -44,6 +45,10 @@ private:
size_t timer;
size_t next;
+
+ smf_t *smf;
+ smf_event_t *cur_event;
+ unsigned int timeline;
};
#endif/*__DRUMGIZMO_MIDIPLAYER_H__*/