From 6608700e82f8417a1e72a3e6984d5db85a413f4f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 25 Jan 2021 12:41:02 -0700 Subject: [PATCH] no more need to update locations after a tempo map change --- libs/ardour/ardour/session.h | 2 -- libs/ardour/session.cc | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index ca7ed0828c..9494e5444f 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -2214,8 +2214,6 @@ private: /** true if timecode transmission by the transport is suspended, otherwise false */ mutable GATOMIC_QUAL gint _suspend_timecode_transmission; - void update_locations_after_tempo_map_change (const Locations::LocationList &); - void start_time_changed (samplepos_t); void end_time_changed (samplepos_t); diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ca3b91e69e..2d9b23d703 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5549,20 +5549,9 @@ Session::tempo_map_changed () _playlists->update_after_tempo_map_change (); - _locations->apply (*this, &Session::update_locations_after_tempo_map_change); - set_dirty (); } -void -Session::update_locations_after_tempo_map_change (const Locations::LocationList& loc) -{ -#warning NUTEMPO this is probably unnecessary now - // for (Locations::LocationList::const_iterator i = loc.begin(); i != loc.end(); ++i) { - // (*i)->recompute_samples_from_beat (); - // } -} - /** Ensures that all buffers (scratch, send, silent, etc) are allocated for * the given count with the current block size. */