editor2-issues icon indicating copy to clipboard operation
editor2-issues copied to clipboard

INFO:SOUND: Waiting for OpenAL device to complete ERROR:SOUND: Still buffers in OpenAL. Bailing.

Open subsoap opened this issue 5 years ago • 6 comments

Getting this in a game using builtin audio left running for a while... audio stops working completely.

INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete
ERROR:SOUND: Still buffers in OpenAL. Bailing.
INFO:SOUND: Waiting for OpenAL device to complete

subsoap avatar Nov 06 '19 01:11 subsoap

Note there was no error like

ERROR:GAMESYS: A sound could not be played since the sound buffer is full (32).

subsoap avatar Nov 06 '19 01:11 subsoap

Does it happen all the time? How long did you have to leave it running?

britzl avatar Nov 06 '19 04:11 britzl

It has happened a few times after a while (not sure exact times but more than 30 mins at least, it happened while I was edited layouts in an in engine level editor), it might be related to looping sounds somehow. I'll do more tests.

subsoap avatar Nov 06 '19 05:11 subsoap

It still happens sometimes when closing the game on Windows 10 with the top right X. Have to force close. Happened twice today on 174.

subsoap avatar Nov 05 '20 03:11 subsoap

It also happened to me, when game was left for a moment (but max 5 min, in Editor build, not a bundled). I suppose the problem might occurred when I unplugged headphones.

paweljarosz avatar Jan 20 '21 14:01 paweljarosz

Closed the dupe. Like @paweljarosz says this seems to be related to changing audio device while the engine is running and not handling the buffer change in OpenAL properly.

https://github.com/defold/defold/issues/5479

subsoap avatar Jan 20 '21 17:01 subsoap