remove old call to set libtemporal thread local sample rate
This commit is contained in:
parent
c64db47b37
commit
f0ff72c669
@ -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 ();
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user