Commit 6a28d5fb authored by Georg Krause's avatar Georg Krause

Disable tempo changes while recording

parent 306f29cd
......@@ -305,7 +305,8 @@ void handleDspEvents()
if ( availableRead >= sizeof(EventTimeBPM) ) {
EventTimeBPM ev;
jack_ringbuffer_read( rbToDsp, (char*)&ev, sizeof(EventTimeBPM) );
jack->getTimeManager()->queueBpmChange(ev.bpm);
if(jack->getRecordingClips() == 0)
jack->getTimeManager()->queueBpmChange(ev.bpm);
}
break;
}
......@@ -313,7 +314,7 @@ void handleDspEvents()
if ( availableRead >= sizeof(EventTimeTempoTap) ) {
EventTimeTempoTap ev;
jack_ringbuffer_read( rbToDsp, (char*)&ev, sizeof(EventTimeTempoTap) );
if(!jack->getFreeRecMode())
if(!jack->getFreeRecMode() && jack->getRecordingClips() == 0)
jack->getTimeManager()->tap();
}
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment