Skip to content

Commit a7a5708

Browse files
authored
MP3Decoder_ClearBuffer() after change filepos
1 parent 672a595 commit a7a5708

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Audio.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* Created on: Oct 26.2018
55
*
6-
* Version 2.0.7h
7-
* Updated on: Dec 27.2022
6+
* Version 2.0.7i
7+
* Updated on: Jan 05.2023
88
* Author: Wolle (schreibfaul1)
99
*
1010
*/
@@ -5009,7 +5009,7 @@ uint32_t Audio::mp3_correctResumeFilePos(uint32_t resumeFilePos){
50095009
p2 = audiofile.read();
50105010
pos++;
50115011
}
5012-
5012+
MP3Decoder_ClearBuffer();
50135013
if(found) return (pos - 2);
50145014
return m_audioDataStart;
50155015
}

src/Audio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Audio.h
33
*
44
* Created on: Oct 28,2018
5-
* Updated on: Dec 27,2022
5+
* Updated on: Jan 05,2023
66
* Author: Wolle (schreibfaul1)
77
*/
88

0 commit comments

Comments
 (0)