summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-09-01 20:12:52 +0000
committerCarl Hetherington <carl@carlh.net>2009-09-01 20:12:52 +0000
commit1d5bfab42c360561b0f401e945b4cb32a1dabea4 (patch)
tree2868d83e9cb4b315abe398eea6a2d92ee3410abb
parentb67d36e051e3c1788b4e57ffeb2f34b2ce4cfd4e (diff)
Don't send midi clock during export, for now, to avoid assertion failure when the transmission code tries to send MIDI outside the process callback.
git-svn-id: svn://localhost/ardour2/branches/3.0@5612 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/ticker.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc
index e55474588a..de42683c15 100644
--- a/libs/ardour/ticker.cc
+++ b/libs/ardour/ticker.cc
@@ -56,6 +56,11 @@ void MidiClockTicker::update_midi_clock_port()
void MidiClockTicker::transport_state_changed()
{
+ if (_session->exporting()) {
+ /* no midi clock during export, for now */
+ return;
+ }
+
float speed = _session->transport_speed();
nframes_t position = _session->transport_frame();
#ifdef DEBUG_MIDI_CLOCK