aboutsummaryrefslogtreecommitdiff
path: root/audio/mixer_intern.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixer_intern.h')
-rw-r--r--audio/mixer_intern.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/mixer_intern.h b/audio/mixer_intern.h
index 14dff5d53b..d7764e50d9 100644
--- a/audio/mixer_intern.h
+++ b/audio/mixer_intern.h
@@ -64,8 +64,14 @@ private:
bool _mixerReady;
uint32 _handleSeed;
- bool _mute[4];
- int _volumeForSoundType[4];
+ struct SoundTypeSettings {
+ SoundTypeSettings() : mute(false), volume(kMaxMixerVolume) {}
+
+ bool mute;
+ int volume;
+ };
+
+ SoundTypeSettings _soundTypeSettings[4];
Channel *_channels[NUM_CHANNELS];