summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/event_type_map.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-10 00:39:29 +0000
committerDavid Robillard <d@drobilla.net>2008-10-10 00:39:29 +0000
commit15cdf454ea5a1460b41cb462c35f1ffb853a0764 (patch)
treed2e2dfec11c3a661d30c18fb4a9d40c7dbcb2326 /libs/ardour/ardour/event_type_map.h
parentc64e96b6a8f6782a5ad0bc41b7200ec94408aaa5 (diff)
Apply MIDI looping patch from torbenh, with minor changes.
General idea: use internal events to mark loop boundaries in MIDI buffers so readers can make sense of timestamps. git-svn-id: svn://localhost/ardour2/branches/3.0@3905 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/event_type_map.h')
-rw-r--r--libs/ardour/ardour/event_type_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/event_type_map.h b/libs/ardour/ardour/event_type_map.h
index 99911121c5..dfa11d6408 100644
--- a/libs/ardour/ardour/event_type_map.h
+++ b/libs/ardour/ardour/event_type_map.h
@@ -46,6 +46,10 @@ private:
static EventTypeMap event_type_map;
};
+enum InternalEventType {
+ LoopEventType = 1000
+};
+
} // namespace ARDOUR
#endif /* __ardour_event_type_map_h__ */