mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-01 16:53:01 +05:00
Correct samples counting
This commit is contained in:
parent
7925d3853c
commit
dda51ec845
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ uint32_t CAEFLACDecoder::FillBuffer(void* pBuf, uint32_t nLen)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_currentSample += samplesThisIteration;
|
||||||
m_bufferCursor += samplesThisIteration;
|
m_bufferCursor += samplesThisIteration;
|
||||||
samplesToDecode -= samplesThisIteration;
|
samplesToDecode -= samplesThisIteration;
|
||||||
bytesDecoded += samplesThisIteration * 2 * sizeof(int16_t);
|
bytesDecoded += samplesThisIteration * 2 * sizeof(int16_t);
|
||||||
|
|
Loading…
Reference in a new issue