PulseAudio error on stop/restart of SimpleApplication (2 posts)

Topic tags: expect break up, linux, PulseAudio, restarting, SimpleApplication, starting, stopping, ubuntu
  • Profile picture of phr00t phr00t99p said 8 months, 3 weeks ago:

    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:

    AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up

    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? :(

  • Profile picture of Momoko_Fan Momoko_Fan371p said 8 months, 3 weeks ago:

    I had this error too. I don’t think it breaks anything