* Headless context will no longer initialize audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8315 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ca628fe5d6
commit
73f073c794
@ -207,7 +207,7 @@ public class Application implements SystemListener {
|
||||
}
|
||||
|
||||
private void initAudio(){
|
||||
if (settings.getAudioRenderer() != null){
|
||||
if (settings.getAudioRenderer() != null && context.getType() != Type.Headless){
|
||||
audioRenderer = JmeSystem.newAudioRenderer(settings);
|
||||
audioRenderer.initialize();
|
||||
AudioContext.setAudioRenderer(audioRenderer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user