ruffle
ruffle copied to clipboard
[The Demented Cartoon Movie] Some dialogue clips are playing earlier than they should
Describe the bug
On the HQ audio version of The Demented Cartoon Movie (available here), some of the dialogue doesn't wait for the animation and seems to continue on immediately from the previous line. Even in the first five minutes, I've already noticed this with such lines as "let's play Pass The H-Bomb!" and "what's gonna happen now?" "I dunno, another kamikaze watermelon?". Observed in nightly build 2022-03-27.
Expected behavior
Dialogue should be playing in sync with the animation.
Affected platform
Desktop app
Operating system
Windows 10
Browser
No response
Additional information
archive.org has a copy of the original file from 2001, and I can confirm that it does not have the same problem. It's something unique to this HQ version.
Related to #5486, this animation as some MP3 streams with gaps in between SoundStreamBlock tags that Ruffle doesn't properly space out.
Okay, it's now happening in the web demo too (the web demo used to play it fine, back when I first opened this issue). I dunno if the above-mentioned merge actually caused this or not, but it certainly didn't help...
Tried the latest nightly builds on both desktop and web to see whether the combination of 85cf383c84de574b4517ff250cb9e7904e77f128 and 1b0d23e569bb4da8edc9f3c987aa1589363c5fc2 managed to fix this, and it seems the answer is yes. Thanks @kmeisthax!