[Scummvm-tracker] [ScummVM :: Bugs] #13462: SCUMM v7-8: DiMUSE: Large audio lag in 2.6git compared to 2.5.1

ScummVM :: Bugs trac at scummvm.org
Wed May 4 21:26:50 UTC 2022


#13462: SCUMM v7-8: DiMUSE: Large audio lag in 2.6git compared to 2.5.1
--------------------+----------------------------
Reporter:  rsn8887  |       Owner:  (none)
    Type:  defect   |      Status:  new
Priority:  normal   |   Component:  Engine: SCUMM
 Version:           |  Resolution:
Keywords:  Dimuse   |        Game:
--------------------+----------------------------
Comment (by rsn8887):

 After some testing on PSP with Bosca's help on Discord, I found out that,
 on PSP, changing "sample = 8192" to "samples = 16" or lower in
 osys_psp.cpp and changing "_mixer = new Audio::MixerImpl(samplesPerSec);"
 to "_mixer = new Audio::MixerImpl(samplesPerSec, samples);" seems to
 reduce the audio lag in Full Throttle to 2.5.1 levels of imperceptibly
 small lag, or at least very close.

 I am not sure how a 16 sample large buffer can work without producing
 stuttering, but it seems to work.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13462#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list