WolfEngine icon indicating copy to clipboard operation
WolfEngine copied to clipboard

clear internal w_openal buffer on reset

Open cthulhu-irl opened this issue 2 years ago • 0 comments

In w_openal::reset, the underlying buffer doesn't reset, thus when update is called again, the previously queue'd and not played audio samples in buffer will be played before the new submitted buffer.

The expected behavior although is that reset cause on the consecutive/next update call only the newly submitted buffer be played.

cthulhu-irl avatar Jan 14 '23 09:01 cthulhu-irl