Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

clear internal w_openal buffer on reset #424

Open
hexorer opened this issue Jan 14, 2023 · 0 comments
Open

clear internal w_openal buffer on reset #424

hexorer opened this issue Jan 14, 2023 · 0 comments

Comments

@hexorer
Copy link
Contributor

hexorer commented Jan 14, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant