Hey all,
So I have my program start with a Swing form. When the player clicks “Begin”, it starts the SimpleApplication.
When the player quits the game, I have it SimpleApplication.stop(), closing out the render window. I finally re-display the starting Swing form. From the form, the player can restart the game (which creates another SimpleApplication and starts it, since I cannot restart a stopped SimpleApplication apparently).
Everything seems to work OK when restarting, except for this logged warning:
[java]AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up[/java]
I don’t have any sound in my game yet, but this doesn’t sound good I’ve tried putting “myApp.getAudioRenderer().cleanup()” in my game stopping code, but it hasn’t seemed to help.
I am running Ubuntu 11.04, using the nightly builds of JME3
Is the audio not being released correctly when stopping and restarting?
I had this error too. I don’t think it breaks anything
1 Like