diff --git a/src/org/recompile/mobile/PlatformPlayer.java b/src/org/recompile/mobile/PlatformPlayer.java index 960abb56..f979f11d 100644 --- a/src/org/recompile/mobile/PlatformPlayer.java +++ b/src/org/recompile/mobile/PlatformPlayer.java @@ -238,6 +238,7 @@ public void start() public void stop() { + if(!isRunning()) { return; } midi.stop(); state = Player.PREFETCHED; tick = midi.getTickPosition(); @@ -341,6 +342,7 @@ public void start() public void stop() { + if(!isRunning()) { return; } wavClip.stop(); time = wavClip.getMicrosecondPosition(); state = Player.PREFETCHED;