[Scummvm-tracker] [ScummVM] #9700: SCI: Audio settings sync is not quite right
Colin Snover
trac at scummvm.org
Tue Jan 17 04:26:33 CET 2017
#9700: SCI: Audio settings sync is not quite right
----------------------+-------------------------
Reporter: csnover | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Resolution: | Keywords:
Game: |
----------------------+-------------------------
Comment (by csnover):
There are a few different ways to determine whether a volume change is one
that should be synced. The most consistent and reliable way to do this for
SCI16 appears to be to check objects on the call stack:
For the text menu bar SCI16 games, check the call stack for an object
named `TheMenuBar` or `MenuBar`.
For icon bar SCI16 games, check the call stack for an object named
`volumeSlider` in almost all the games. MG256 does its own thing with a
control named `soundBut`. LSL6 CD-lores uses `menuBar`. Slater & Charlie
uses `volButton`.
Considered alternatives were to look at the port name (not all the
volume/control dialogues have a port name), or look to see if the control
panel at global 63 is active (not all games use global 63).
--
Ticket URL: <https://bugs.scummvm.org/ticket/9700#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list