summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_audio_import.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-08 19:07:28 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-08 19:07:28 +0100
commitf4cb567fdb7781417fb729cda65a6410bd062c86 (patch)
tree0774401e96f834a19a0aa4d5ef142c007ff8e90a /gtk2_ardour/editor_audio_import.cc
parent994f5cec0e7df55c5745c1c3875357cf305e3467 (diff)
use centralized SMF tempo method in both places where we show it
Diffstat (limited to 'gtk2_ardour/editor_audio_import.cc')
-rw-r--r--gtk2_ardour/editor_audio_import.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc
index 1bbcf80b6f..d006b2ca15 100644
--- a/gtk2_ardour/editor_audio_import.cc
+++ b/gtk2_ardour/editor_audio_import.cc
@@ -285,7 +285,7 @@ Editor::import_smf_tempo_map (Evoral::SMF const & smf, framepos_t pos)
Evoral::SMF::Tempo* t = smf.nth_tempo (n);
assert (t);
- Tempo tempo (60 * (1000000 / (double) t->microseconds_per_quarter_note), 4.0);
+ Tempo tempo (t->tempo(), 4.0);
Meter meter (t->numerator, t->denominator);
Timecode::BBT_Time bbt; /* 1|1|0 which is correct for the no-meter case */