fixes, changes to gitignore

This commit is contained in:
Armin 2026-07-24 18:03:15 +02:00
commit 11d81cf1fd
17 changed files with 1160 additions and 16 deletions

View file

@ -178,6 +178,14 @@ void JustaSampleAudioProcessor::processBlock(juce::AudioBuffer<float>& buffer, j
if (sampleBuffer.getNumSamples() == 0 || sampleBuffer.getNumChannels() == 0)
return;
// Query host tempo for LFO sync
if (auto* playHead = getPlayHead())
{
if (auto pos = playHead->getPosition())
if (auto bpm = pos->getBpm())
samplerSound.currentBpm.store(float(*bpm));
}
juce::ScopedTryLock lock(voiceLock);
if (lock.isLocked())