Commit dec28147 authored by Georg Krause's avatar Georg Krause

Fix beats = 0; remove debug print

parent 67b1629e
Pipeline #305 passed with stages
in 1 minute and 23 seconds
......@@ -513,7 +513,8 @@ void LooperClip::processFreeRec() {
(MAX_TEMPO * _recordhead) / (jack->getSamplerate() * 60);
// calculate lower multiple of 4
int beats = (int)(max_beats/4)*4; // TODO 4 beats/bar
cout << _recordhead << " " << beats << "\n";
if (beats < 1)
beats = 1;
_buffer->setBeats(beats);
_buffer->setAudioFrames(
_recordhead);
......
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