fixed midi sync led
This commit is contained in:
@@ -183,12 +183,13 @@ void JK_MidiClock::generateMidiclock(const AudioPlayHead::CurrentPositionInfo &p
|
||||
if (m_sample_remain == 0)
|
||||
{
|
||||
m_sample_remain = clockDistanceInSamples;
|
||||
#if 0
|
||||
SynthDebug("posInBuffer : %d", posInBuffer);
|
||||
SynthDebug("clockDistanceInSamples_f (soll) : %f", clockDistanceInSamples_f);
|
||||
SynthDebug("hostPpqPosition : %f", hostPpqPosition);
|
||||
SynthDebug("hostPpqPosition (Q) : %f", getNearestInPPQ(hostPpqPosition, 96));
|
||||
SynthDebug("hostSamplePos (Q) : %f", getNearestInPPQ(hostPpqPosition, 96) * quant);
|
||||
|
||||
#endif
|
||||
midiBuffer->addEvent(*m_clockMessage, roundToInt(posInBuffer));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user