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 AudioStreamSynchronized playing/finished state #90205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaronp64
Copy link
Contributor

@aaronp64 aaronp64 commented Apr 4, 2024

Updated AudioStreamPlaybackSynchronized::mix to return the number of mixed frames instead of the passed in p_frames value, so AudioServer::_mix_step can tell when it's finished.

Fixes #89723

Updated AudioStreamPlaybackSynchronized::mix to return the number of mixed frames instead of the passed in p_frames value, so AudioServer::_mix_step can tell when it's finished.

Fixes godotengine#89723
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.

AudioStreamSynchronized never sets playing to false or emits the finished signal.
2 participants