1
0
Fork 0
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:
jules 2013-11-18 10:10:06 +00:00
parent c1f90d7d6f
commit 0d6b8f159b

View file

@ -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)
{