[Scummvm-tracker] [ScummVM] #9700: SCI: Audio settings sync is not quite right
Colin Snover
trac at scummvm.org
Tue Jan 17 05:02:52 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):
SCI32 is a little more difficult because audio control was taken over by
game scripts as time went on.
GK1: Handles music volume by calling `kDoSoundSetVolume` on `gkMusic1` and
`gkMusic2` objects, and sound volume by calling `kDoSoundSetVolume` on
`gkSound1`, `gkSound2`, and `gkSound3` objects. It does not call to master
volume.
PQ4: `pqGameControls`, or `increaseVolume` and `decreaseVolume`.
QFG4: `volumeSlider`.
KQ7: `volumeUp` and `volumeDown`.
LSL6hires: `hiResMenu` and `volumeDial`.
GK2: Writes to global 76 (music volume).
Hoyle: `volumeSlider`.
MGDX: `MgButtonBar`.
Phant1: `midiVolDown`, `midiVolUp`, `dacVolDown`, `dacVolUp`, or globals
187 (music) and 188 (DAC).
PQ:SWAT: `volumeDownButn`, `volumeUpButn`.
Shivers: `spVolume`.
SQ6: `soundBar`, `musicBar`.
Torin: Globals 227 (music), 228 (sfx), 229 (speech).
Alternate approaches considered include looking to see if the control
panel plane is visible (doesn’t work with MGDX, and some planes had to be
identified indirectly by priority+pictureId instead of by name).
--
Ticket URL: <https://bugs.scummvm.org/ticket/9700#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list