Unverified Commit a7a57087 authored by Wolle's avatar Wolle Committed by GitHub

MP3Decoder_ClearBuffer() after change filepos

parent 672a5954
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* *
* Created on: Oct 26.2018 * Created on: Oct 26.2018
* *
* Version 2.0.7h * Version 2.0.7i
* Updated on: Dec 27.2022 * Updated on: Jan 05.2023
* Author: Wolle (schreibfaul1) * Author: Wolle (schreibfaul1)
* *
*/ */
...@@ -5009,7 +5009,7 @@ uint32_t Audio::mp3_correctResumeFilePos(uint32_t resumeFilePos){ ...@@ -5009,7 +5009,7 @@ uint32_t Audio::mp3_correctResumeFilePos(uint32_t resumeFilePos){
p2 = audiofile.read(); p2 = audiofile.read();
pos++; pos++;
} }
MP3Decoder_ClearBuffer();
if(found) return (pos - 2); if(found) return (pos - 2);
return m_audioDataStart; return m_audioDataStart;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Audio.h * Audio.h
* *
* Created on: Oct 28,2018 * Created on: Oct 28,2018
* Updated on: Dec 27,2022 * Updated on: Jan 05,2023
* Author: Wolle (schreibfaul1) * Author: Wolle (schreibfaul1)
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment