From 95c49602caa43430d95c9082f782821b32af3d06 Mon Sep 17 00:00:00 2001 From: Recrown Date: Mon, 11 Dec 2017 16:26:26 -0600 Subject: [PATCH] more progress --- core/src/zero1hd/rhythmbullet/audio/Mp3Manager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/zero1hd/rhythmbullet/audio/Mp3Manager.java b/core/src/zero1hd/rhythmbullet/audio/Mp3Manager.java index aa300f1..a7bbf91 100755 --- a/core/src/zero1hd/rhythmbullet/audio/Mp3Manager.java +++ b/core/src/zero1hd/rhythmbullet/audio/Mp3Manager.java @@ -105,10 +105,12 @@ public class Mp3Manager implements MusicManager { long pointer = (long) (getPositionInSeconds()*(long)sampleRate)-readWindowSize; raf.seek(pointer); readWindowIndex = (int) (pointer/readWindowSize); + currentByteSet = null; } catch (IOException e) { e.printStackTrace(); } } + @Override public void playbackIndexUpdate() { playbackIndex = (int) (playbackMusic.getPosition() * sampleRate / readWindowSize);