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

core/mp3: More lenient MP3 buffer underrun detection #7816

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

torokati44
Copy link
Member

@torokati44 torokati44 commented Aug 31, 2022

This should fix #7524.
Regression testing in progress, re: #5486 #6546

(Sorry for being so terse for now, I just had to get this out of my brain ASAP.)

@Herschel
Copy link
Member

I'd add a comment to the code that this is a quick fix and that we're not sure of the exact behavior.

@torokati44
Copy link
Member Author

Sure, that's also part of why I marked it as draft.

@torokati44 torokati44 force-pushed the mp3-decoder-underrun branch from 38481da to 59dcd64 Compare August 31, 2022 22:42
@torokati44
Copy link
Member Author

I've added a little explainer comment for the change.
But I'm still not exactly sure how to evaluate the sample SWFs you created as tests for this... :|

@torokati44 torokati44 force-pushed the mp3-decoder-underrun branch from 59dcd64 to dba31b4 Compare August 31, 2022 22:43
@Herschel
Copy link
Member

Herschel commented Sep 1, 2022

Mainly checking that this change doesn't make things worse for any cases. If it's strictly an improvement or no change, then I think this is fine to merge.

@torokati44 torokati44 marked this pull request as ready for review September 2, 2022 20:18
@Herschel Herschel force-pushed the mp3-decoder-underrun branch from 53d8121 to cb37718 Compare September 3, 2022 01:21
@Herschel Herschel merged commit f75eee3 into ruffle-rs:master Sep 3, 2022
@Herschel
Copy link
Member

Herschel commented Sep 3, 2022

Thank you!

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.

Regression in z0r.de/1988 - sound became choppy
2 participants