diff options
author | Max Horn | 2009-10-09 09:41:53 +0000 |
---|---|---|
committer | Max Horn | 2009-10-09 09:41:53 +0000 |
commit | b846fd6aca31916383b9656c40ba0be6ea6f3ed0 (patch) | |
tree | 8c7a922652bb44062f0774d0083b4280d5275893 /engines/agi | |
parent | 0d9e1ded6f3a07f903c8d8e21407c4415067cb91 (diff) | |
download | scummvm-rg350-b846fd6aca31916383b9656c40ba0be6ea6f3ed0.tar.gz scummvm-rg350-b846fd6aca31916383b9656c40ba0be6ea6f3ed0.tar.bz2 scummvm-rg350-b846fd6aca31916383b9656c40ba0be6ea6f3ed0.zip |
cleanup
svn-id: r44810
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sound.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/agi/sound.h b/engines/agi/sound.h index a24a665b2a..9611b29b61 100644 --- a/engines/agi/sound.h +++ b/engines/agi/sound.h @@ -357,8 +357,8 @@ protected: /** Apple IIGS MIDI program change to instrument number mapping. */ struct MidiProgramChangeMapping { - const byte midiProgToInst[44]; ///< Lookup table for the MIDI program number to instrument number mapping - const byte undefinedInst; ///< The undefined instrument number + byte midiProgToInst[44]; ///< Lookup table for the MIDI program number to instrument number mapping + byte undefinedInst; ///< The undefined instrument number // Maps the MIDI program number to an instrument number byte map(uint midiProg) const { @@ -387,6 +387,7 @@ struct IIgsExeInfo { class IIgsMidiChannel { public: + IIgsMidiChannel() : _instrument(0), _sample(0), _volume(0) {} uint activeSounds() const; ///< How many active sounds are playing? void setInstrument(const IIgsInstrumentHeader *instrument, const int8 *sample); void setVolume(uint8 volume); |