mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AU Client: Fix variable naming
This commit is contained in:
parent
668f16f0ec
commit
40fa4ff90c
1 changed files with 4 additions and 4 deletions
|
|
@ -657,17 +657,17 @@ public:
|
|||
|
||||
case kAudioUnitProperty_OfflineRender:
|
||||
{
|
||||
auto shouldBeRealtime = (*reinterpret_cast<const UInt32*> (inData) != 0);
|
||||
const auto shouldBeOffline = (*reinterpret_cast<const UInt32*> (inData) != 0);
|
||||
|
||||
if (juceFilter != nullptr)
|
||||
{
|
||||
auto isCurrentlyRealtime = juceFilter->isNonRealtime();
|
||||
const auto isOffline = juceFilter->isNonRealtime();
|
||||
|
||||
if (isCurrentlyRealtime != shouldBeRealtime)
|
||||
if (isOffline != shouldBeOffline)
|
||||
{
|
||||
const ScopedLock sl (juceFilter->getCallbackLock());
|
||||
|
||||
juceFilter->setNonRealtime (shouldBeRealtime);
|
||||
juceFilter->setNonRealtime (shouldBeOffline);
|
||||
juceFilter->prepareToPlay (getSampleRate(), (int) GetMaxFramesPerSlice());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue