removed a debug line, playing notifier now properly functions
This commit is contained in:
parent
5b388e8403
commit
0d2b48f0c2
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user