removed a debug line, playing notifier now properly functions

This commit is contained in:
Harrison Deng 2018-08-09 00:19:15 -05:00
parent 5b388e8403
commit 0d2b48f0c2
2 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,7 @@ public class MusicController extends Observable implements OnCompletionListener,
Gdx.app.debug("MusicController", "Playing from MLC."); Gdx.app.debug("MusicController", "Playing from MLC.");
music.play(); music.play();
music.setVolume(prefs.getFloat("music vol", 1f)); music.setVolume(prefs.getFloat("music vol", 1f));
setChanged();
notifyObservers(states.PLAYING); notifyObservers(states.PLAYING);
} }
} }

View File

@ -62,7 +62,6 @@ public class PCMObtainer implements Observer, Disposable, PCMSystem {
PCM[sid] = chanVal; PCM[sid] = chanVal;
} }
} }
System.out.println(PCM[0]);
PCM[sid] /= Short.MAX_VALUE + 1f; PCM[sid] /= Short.MAX_VALUE + 1f;
} }