use of org.terasology.engine.audio.nullAudio.NullAudioManager in project Terasology by MovingBlocks.
the class HeadlessAudio method initNoSound.
private void initNoSound(Context context) {
audioManager = new NullAudioManager();
context.put(AudioManager.class, audioManager);
}
use of org.terasology.engine.audio.nullAudio.NullAudioManager in project Terasology by MovingBlocks.
the class HeadlessEnvironment method setupAudio.
@Override
protected void setupAudio() {
NullAudioManager audioManager = new NullAudioManager();
context.put(AudioManager.class, audioManager);
}
Aggregations