changed default samplerate to 48khz
This commit is contained in:
parent
978614be36
commit
5d6dbb17cf
|
@ -40,7 +40,7 @@ public abstract class BaseGame {
|
|||
* @param windowTitle the title of the game's window
|
||||
*/
|
||||
public BaseGame(Vec2i windowSize, String windowTitle) {
|
||||
audioEngine = new AudioEngine(44100, 256, 8);
|
||||
audioEngine = new AudioEngine(48000, 256, 8);
|
||||
mixer = new Mixer(audioEngine, 2);
|
||||
samplePlayer = new SamplePlayer(audioEngine);
|
||||
Node.connect(samplePlayer, 0, mixer, 0);
|
||||
|
|
Loading…
Reference in New Issue