From 3b1609fc526a8a9ae8bc44a120667f0f5e795753 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 May 2015 09:02:11 -0400 Subject: use the frame/sample based inter-scene gap, not the msecs one (now removed) --- libs/ardour/midi_scene_changer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/ardour/midi_scene_changer.cc') diff --git a/libs/ardour/midi_scene_changer.cc b/libs/ardour/midi_scene_changer.cc index 6288a6fc84..75d5581ce5 100644 --- a/libs/ardour/midi_scene_changer.cc +++ b/libs/ardour/midi_scene_changer.cc @@ -296,11 +296,10 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program Locations* locations (_session.locations ()); Location* loc; bool new_mark = false; - framecnt_t slop = (framecnt_t) floor ((Config->get_inter_scene_gap_msecs() / 1000.0) * _session.frame_rate()); /* check for marker at current location */ - loc = locations->mark_at (time, slop); + loc = locations->mark_at (time, Config->get_inter_scene_gap_frames()); if (!loc) { /* create a new marker at the desired position */ -- cgit v1.2.3