summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-09-17 10:31:33 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-09-17 10:31:33 -0400
commitebd7bc7447cea65e8a786dfdf2df359f3d81acca (patch)
treeb524a5ca1d370af67318d55d690a3dd23dfa9b14 /libs/ardour/session.cc
parentdfec51964d05a6c4a1b61595bb04144e744d2a37 (diff)
add new Skip event to SessionEvents
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index d22d7553ca..fca74ee4a5 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -1349,14 +1349,14 @@ Session::sync_locations_to_skips (Locations::LocationList& locations)
Locations::LocationList::iterator i;
Location* location;
- clear_events (SessionEvent::LocateRoll);
+ clear_events (SessionEvent::Skip);
for (i = locations.begin(); i != locations.end(); ++i) {
location = *i;
if (location->is_skip()) {
- SessionEvent* ev = new SessionEvent (SessionEvent::LocateRoll, SessionEvent::Add, location->start(), location->end(), 1.0);
+ SessionEvent* ev = new SessionEvent (SessionEvent::Skip, SessionEvent::Add, location->start(), location->end(), 1.0);
queue_event (ev);
}
}