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:
parent
91664000d9
commit
293d7be0b4
1 changed files with 3 additions and 0 deletions
|
|
@ -494,6 +494,9 @@ public:
|
|||
if (status != noErr)
|
||||
return false;
|
||||
|
||||
if (numFramesToRead == 0)
|
||||
break;
|
||||
|
||||
if ((int) numFramesToRead < numThisTime)
|
||||
{
|
||||
numThisTime = (int) numFramesToRead;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue