FT: Sounds gets truncated at end of SMUSH movie
|Reported by:||eriktorbjorn||Owned by:||aquadran|
Full Throttle, English version CVS snapshot of ScummVM
After Ben crashes with his bike, when he's found by the journalist, the last line of speech in the SMUSH movie gets cut off. Instead of "...who can fix anything." I just get "...who can fix any...".
Possibly related, in the SMUSH movie afterwards some of Maureen's lines overlap slightly. I have a hunch there's some function that thinks a sound is done when all the data has been handed to the mixer, but that's just a vague feeling.
I tried fixing this by not allowing the movie to stop until *both* _videoFinished was set and the SMUSH mixer had stopped playing, i.e. not until isActive() returned false for all the sound handles. This sort-of worked, but broke "Esc"aping from the movie.
Ticket imported from: #960866. Ticket imported from: bugs/1639.