From f77d1e0a36337f39937a14bec1a8822c4888d359 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 14 Aug 2016 00:47:03 +0200 Subject: 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. --- libs/ardour/tempo.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs') 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; } -- cgit v1.2.3