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

AudioStreamPolyphonic: Implement stopping with sample playback #95321

Merged

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Aug 9, 2024

Fixes #94724.

May not be complete, I didn't study the code for very long but I see a bunch of other flags like pending_play that may also need to be reset?

It will also stop abruptly, while the stream playback seems to do a fade out IIUC.

@adamscott Feel free to take this over, I just did a quick investigation to try to find a workaround for 4.3. This could either be merged as is if you think it's good enough, or further improved by you, and/or merged as is with a new issue opened for what still needs to be improved for 4.4.

Copy link
Member

@adamscott adamscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good enough! Thanks for your investigation, @akien-mga.

@akien-mga akien-mga merged commit 88f3b5f into godotengine:master Aug 9, 2024
18 checks passed
@akien-mga akien-mga deleted the audio-sample-polyphonic-stop branch August 9, 2024 21:26
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.

Polyphonic Audio Stream doesn't stop in HTML export in 4.3 beta (Sample playback type)
2 participants