[Scummvm-devel] Stutter in COMI smush videos
J.Brown (Ender)
ender at scummvm.org
Thu Jan 23 06:56:04 CET 2003
The SmushMixer was designed to buffer specially, because of this - but I
believe aquadran pumps it directly to the normal mixer which.. er.. doesnt
work as well :)
The main point of the new smush player was (besides nicer code etc :) that
it fixed all the audio stuttering and related sync problems with the OLD
player...
This is assuming that's the problem, anyway. It could be otherwise, and
the new ComI code -may- use the smush mixer, but I'm not sure.
- Ender
On Thu, 23 Jan 2003, Max Horn wrote:
> Date: Thu, 23 Jan 2003 15:37:44 +0100
> From: Max Horn <max at quendi.de>
> To: scummvm-devel at lists.sourceforge.net
> Subject: [Scummvm-devel] Stutter in COMI smush videos
>
> Yo,
>
> at least on my system, COMI videos stutter extremly now.
>
> ScummVM only takes 20-30% of my CPU while playing the opening video
> in COMI. That's not that much (I only have 400 Mhz anyway). And
> profiler runs on OS X and Linux clearly show that decodeCodec is not
> that slow either. So I doubt that "fixing" that will help the
> situation.
>
> The stutter seems to be more of the kind that occurs if you are not
> properly double buffering your audio output, and then when for some
> reason (disk I/O, bad luck in the scheduler time slicing, what ever)
> you lack for a millisecond, bang, it stutters. The slower the
> machine, the more likely for this to happen; likewise, slower HDs or
> slower CD-Roms will increase the stutter.
>
> So maybe we should look at the Mixer code, not the Smush audio
> decoder. Or maybe the smush code is using the Mixer in a sub-optimal
> way. I really don't know, I haven't yet looked at the code.
>
>
> Max
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>
More information about the Scummvm-devel
mailing list