removed a debug line, playing notifier now properly functions
This commit is contained in:
@@ -48,6 +48,7 @@ public class MusicController extends Observable implements OnCompletionListener,
|
||||
Gdx.app.debug("MusicController", "Playing from MLC.");
|
||||
music.play();
|
||||
music.setVolume(prefs.getFloat("music vol", 1f));
|
||||
setChanged();
|
||||
notifyObservers(states.PLAYING);
|
||||
}
|
||||
}
|
||||
|
@@ -62,7 +62,6 @@ public class PCMObtainer implements Observer, Disposable, PCMSystem {
|
||||
PCM[sid] = chanVal;
|
||||
}
|
||||
}
|
||||
System.out.println(PCM[0]);
|
||||
PCM[sid] /= Short.MAX_VALUE + 1f;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user