[Scummvm-tracker] [ScummVM :: Bugs] #14267: AUDIO: Possible optimisations for the software mixer

ScummVM :: Bugs trac at scummvm.org
Sat Feb 25 16:13:51 UTC 2023


#14267: AUDIO: Possible optimisations for the software mixer
----------------------------+--------------------
Reporter:  ccawley2011      |      Owner:  (none)
    Type:  feature request  |     Status:  new
Priority:  normal           |  Component:  Audio
 Version:                   |   Keywords:
    Game:                   |
----------------------------+--------------------
 Some ideas on possible ways to speed up the software mixer:

 - Allow AudioStream subclasses to report the integer size, so that
 conversion can be folded into the resampling and mixing code.
 - Add a skip function to the AudioStream class to allow non-seekable
 streams to skip output when sound is muted without needing an intermediate
 buffer.
 - Optimise for cases where the volume is silent or at the maximum value.
 - Optimise for cases where the destination buffer is all or partially
 zeroed out.
 - Restore the ARM assembly code that was previously removed in commit
 99e5de9. This will require updating it for compatibility with Thumb-2 and
 ARMv3M to get it working on more devices. Issue #6957 will also need to be
 reopened and fixed.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14267>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list