mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Made sure buffers are prepared before clearing them in the AU wrapper
This commit is contained in:
parent
b0457a9ec5
commit
cbbf76b749
1 changed files with 3 additions and 0 deletions
|
|
@ -1526,7 +1526,10 @@ private:
|
|||
err = input->PullInput (flags, timestamp, i, nFrames);
|
||||
|
||||
if ((flags & kAudioUnitRenderAction_OutputIsSilence) != 0 || err != noErr)
|
||||
{
|
||||
input->PrepareBuffer (nFrames);
|
||||
AudioUnitHelpers::clearAudioBuffer (input->GetBufferList());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue