[Scummvm-cvs-logs] SF.net SVN: scummvm:[44810] scummvm/trunk/engines/agi/sound.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Oct 9 11:41:53 CEST 2009
Revision: 44810
http://scummvm.svn.sourceforge.net/scummvm/?rev=44810&view=rev
Author: fingolfin
Date: 2009-10-09 09:41:53 +0000 (Fri, 09 Oct 2009)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/engines/agi/sound.h
Modified: scummvm/trunk/engines/agi/sound.h
===================================================================
--- scummvm/trunk/engines/agi/sound.h 2009-10-09 09:41:35 UTC (rev 44809)
+++ scummvm/trunk/engines/agi/sound.h 2009-10-09 09:41:53 UTC (rev 44810)
@@ -357,8 +357,8 @@
/** 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 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list