Browse Source

Try to fix audiofile loop mode, still needs work

tags/1.9.4
falkTX 11 years ago
parent
commit
3870161305
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/native/audiofile.c

+ 1
- 1
source/backend/native/audiofile.c View File

@@ -159,7 +159,7 @@ void audiofile_read_poll(AudioFileInstance* const handlePtr)
}
}

if (handlePtr->loopMode && readFrame+j == handlePtr->maxFrame)
if (handlePtr->loopMode && i < handlePtr->pool.size)
{
while (i < handlePtr->pool.size)
{


Loading…
Cancel
Save