cb76f04384cf — Chris Cannam 28 days ago
Can't draw this conclusion if the data chunk size is zero; all bets are off then
1 files changed, 1 insertions(+), 1 deletions(-)

M src/SimpleWavFileReadStream.cpp
M src/SimpleWavFileReadStream.cpp +1 -1
@@ 326,7 326,7 @@ SimpleWavFileReadStream::getFrames(size_
     size_t got = 0;
 
     while (got < requested) {
-        if (m_dataReadOffset >= m_dataChunkSize) {
+        if (m_dataChunkSize > 0 && m_dataReadOffset >= m_dataChunkSize) {
             break;
         }
         int gotHere = getBytes(sampleSize, buf);