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

PlatformPlayer: Only stop media playback if it is running #201

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

AShiningRay
Copy link
Contributor

Fixes #200

"Orcs and Elves" constantly tries to stop a MIDI stream that isn't even running, and ends up causing a stack overflow on PlatformPlayer. Since it only makes sense to stop streams that are actually running, add a check for cases where they aren't.

Since it has been shown to happen with MIDI streams, it might happen on WAV streams as well, so i'm adding that check for both.

"Orcs and Elves" constantly tries to stop a MIDI stream that isn't
even running, and ends up causing a stack overflow on
PlatformPlayer. Since it only makes sense to stop streams that are
actually running, add a check for cases where they aren't.
@recompileorg recompileorg merged commit 8b9bc8a into hex007:master Feb 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Orcs and Elves" endlessly tries to stop MIDI streams that might not be playing
2 participants