13
0

no more need to update locations after a tempo map change

This commit is contained in:
Paul Davis 2021-01-25 12:41:02 -07:00
parent 3b06ce6e67
commit 6608700e82
2 changed files with 0 additions and 13 deletions

View File

@ -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);

View File

@ -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.
*/