Mp3: Properly flush the buffer on reset.

This commit is contained in:
Unknown W. Brackets committed 2019-04-29 04:47:59 -07:00
1 parent 4b4c0f9bda
commit bfa9aa009d
2 files changed
+9 -5

No files matched your search

+3
View File
@@ -481,6 +481,9 @@ u32 AuCtx::AuResetPlayPositionByFrame(int position) {
u32 AuCtx::AuResetPlayPosition() {
readPos = startPos;
SumDecodedSamples = 0;
AuBufAvailable = 0;
sourcebuff.clear();
return 0;
}