13
0

remove old call to set libtemporal thread local sample rate

This commit is contained in:
Paul Davis 2020-12-07 17:13:54 -07:00
parent c64db47b37
commit f0ff72c669
2 changed files with 2 additions and 7 deletions

View File

@ -85,7 +85,7 @@
#include "pbd/scoped_file_descriptor.h"
#include "pbd/xml++.h"
#include "temporal/superclock.h"
#include "temporal/tempo.h"
#include "gtkmm2ext/application.h"
#include "gtkmm2ext/bindings.h"
@ -3117,9 +3117,5 @@ ARDOUR_UI::setup_toplevel_window (Gtk::Window& window, const string& name, void*
void
ARDOUR_UI::event_loop_precall ()
{
if (_session) {
Temporal::set_thread_sample_rate (_session->sample_rate ());
} else {
Temporal::set_thread_sample_rate (44100);
}
Temporal::TempoMap::fetch ();
}

View File

@ -1140,7 +1140,6 @@ Editor::_import_thread (void *arg)
void *
Editor::import_thread ()
{
Temporal::set_thread_sample_rate (_session->sample_rate());
Temporal::TempoMap::fetch ();
_session->import_files (import_status);