svn-id: r44810
This commit is contained in:
Max Horn 2009-10-09 09:41:53 +00:00
parent 0d9e1ded6f
commit b846fd6aca

View File

@ -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);