Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
First version, just describing the controls and related hacks
|
|
|
|
The "Mute all" option rarely muted all audio streams, since we have
this abomination called kPlainSoundType (and there is no volume slider
for this type). Both, not-really-muting, and adding yet another slider is
a horrible user experience imho - especially on handheld ports.
So mute this sound in the default implementation, and unmute it to the
maximum volume.
When an engines has a volume level settings for sounds it plays with
this type, it should overwrite said member and set it there.
|
|
And respect global mute settings
|
|
And respect global mute settings
|
|
|
|
|
|
|
|
|
|
|
|
And respect global mute settings
|
|
And cleanup syncSoundSettings()
Also, respect global mute settings
|
|
|
|
|
|
And respect global mute settings
|
|
|
|
And set global volume levels
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And init volume levels on startup
|
|
Add syncSoundSettings() to set the volume for kPlainSoundType and
respect the global mute setting
|
|
|
|
|
|
|
|
|
|
Tip of the day: git grep -w PI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As supplied by "Alex" on my Gobsmacked blog:
<http://drmccoy.de/gobsmacked/?p=407&cpage=1#comment-2070>
|
|
|