1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

macOS: Handle EOF in CoreAudioReader::readSamples()

This commit is contained in:
ed 2019-08-14 16:17:05 +01:00
parent 91664000d9
commit 293d7be0b4

View file

@ -494,6 +494,9 @@ public:
if (status != noErr)
return false;
if (numFramesToRead == 0)
break;
if ((int) numFramesToRead < numThisTime)
{
numThisTime = (int) numFramesToRead;