diff options
author | Robin Gareus <robin@gareus.org> | 2016-08-14 00:47:03 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-08-14 00:47:03 +0200 |
commit | f77d1e0a36337f39937a14bec1a8822c4888d359 (patch) | |
tree | 1a3b77b985e400b9bb9d8a183346a41a6d8d5ab2 /libs/ardour/tempo.cc | |
parent | a7032917b179eac7088a38661aa70197e357bda7 (diff) |
Don't call any Transmitter from realtime context
This fixes a crash when TempoMap::bbt_at_frame_rt() is called
for a latent effect at position 00:00:00:00 and frame is < 0.
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 5a75e46eee..bdea2ae6a1 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -994,7 +994,6 @@ TempoMap::add_tempo_locked (const Tempo& tempo, double pulse, framepos_t frame } if (!solved && recompute) { - warning << "Adding tempo may have left the tempo map unsolved." << endmsg; recompute_map (_metrics); } @@ -1990,7 +1989,6 @@ TempoMap::bbt_at_frame_locked (const Metrics& metrics, const framepos_t& frame) bbt.bars = 1; bbt.beats = 1; bbt.ticks = 0; - warning << string_compose (_("tempo map asked for BBT time at frame %1\n"), frame) << endmsg; return bbt; } |