From 885f1fd684da31a730f90ebad23ad9ff39baedb0 Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 30 Dec 2015 00:39:10 +1100 Subject: Tempo ramps - update midi regions and locations when dragging tempo. - also make locations and regions use a double beat rather than bbt for musical position. --- libs/ardour/session.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/ardour/session.cc') diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 4097335f5b..e9bbaa5c4a 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5437,6 +5437,16 @@ Session::tempo_map_changed (const PropertyChange&) set_dirty (); } +void +Session::gui_tempo_map_changed () +{ + //clear_clicks (); ? + + playlists->update_after_tempo_map_change (); + + _locations->apply (*this, &Session::update_locations_after_tempo_map_change); +} + void Session::update_locations_after_tempo_map_change (const Locations::LocationList& loc) { -- cgit v1.2.3