From b846fd6aca31916383b9656c40ba0be6ea6f3ed0 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 9 Oct 2009 09:41:53 +0000 Subject: cleanup svn-id: r44810 --- engines/agi/sound.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/agi/sound.h') 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); -- cgit v1.2.3