Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audio samples not being able to be "finished" #94268

Conversation

adamscott
Copy link
Member

Fixes #94226 about issues with AudioStreamPlayer.playing always being true once started.

Now, with this PR, I keep a list of currently playing samples and remove them of the list when stopped or when receiving the "finished" callback.

servers/audio_server.h Outdated Show resolved Hide resolved
@adamscott adamscott force-pushed the fix-web-sample-playback-finished-signal-redux branch from ef118b7 to 42423d9 Compare July 17, 2024 14:35
@adamscott adamscott force-pushed the fix-web-sample-playback-finished-signal-redux branch from 42423d9 to 2f5f84b Compare July 17, 2024 14:45
@akien-mga akien-mga merged commit 6d7ef2c into godotengine:master Jul 17, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

[4.3 beta 3] AudioStreamPlayer does not work correctly during web export
2 participants