mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added some logic to cope with buffer size changes in iOS audio.
This commit is contained in:
parent
c1f90d7d6f
commit
0d6b8f159b
1 changed files with 2 additions and 2 deletions
|
|
@ -240,8 +240,8 @@ private:
|
|||
|
||||
if (callback != nullptr)
|
||||
{
|
||||
// This shouldn't ever get triggered, but please let me know if it does!
|
||||
jassert ((int) numFrames <= floatData.getNumSamples());
|
||||
if ((int) numFrames > floatData.getNumSamples())
|
||||
prepareFloatBuffers ((int) numFrames);
|
||||
|
||||
if (audioInputIsAvailable && numInputChannels > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue