[ scummvm-Bugs-1991847 ] Compressed audio seek takes really long
SourceForge.net
noreply at sourceforge.net
Thu Jun 12 13:28:46 CEST 2008
Bugs item #1991847, was opened at 2008-06-12 13:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1991847&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SFX/Talkie
Group: Loom CD/Talkie
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: M. Kiewitz (m_kiewitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compressed audio seek takes really long
Initial Comment:
Hi,
First I want to thank you very much for ScummVM. I'm finally able to play my favourite games again via Wii.
Anyway, I ripped my original Loom Talkie CD to one big Track1.mp3. Now when using ScummVM, normally one would hear "Welcome to...", but this is skipped, then the first frame of the intro plays and ScummVM halts for around 10-15 seconds, then audio starts to play but audio is much too late, so animation and audio don't match.
Also if I look at any object in the game, audio loading/seeking halts the engine for several seconds, which results in jerky gameplay.
I guess both glitches appear because of the big track1.mp3 and possibly seeking. I would need to take a look at the source, but I guess the seeking is what results in such big delays. This glitch happens on Win32 and Wii, so I guess it's an platform-indepedant problem. Other games like Sam'n Max Talkie or Maniac Mansion 2 that also use compressed sound don't have this problem.
I'm using fixed bitrate, so it should be possible to calculate seek destination within the MP3 w/o much reading. Perhaps an index into the MP3 could also help.
Regards
M. Kiewitz
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1991847&group_id=37116
More information about the Scummvm-tracker
mailing list