mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03: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;
|
||||
samplesToDecode -= samplesThisIteration;
|
||||
bytesDecoded += samplesThisIteration * 2 * sizeof(int16_t);
|
||||
|
|
Loading…
Reference in a new issue