[Scummvm-cvs-logs] SF.net SVN: scummvm:[49672] scummvm/trunk/sound/midiparser.h
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Jun 15 00:31:39 CEST 2010
Revision: 49672
http://scummvm.svn.sourceforge.net/scummvm/?rev=49672&view=rev
Author: thebluegr
Date: 2010-06-14 22:31:38 +0000 (Mon, 14 Jun 2010)
Log Message:
-----------
Since allNotesOff() is virtual and can be overriden, make its associated variables protected instead of private
Modified Paths:
--------------
scummvm/trunk/sound/midiparser.h
Modified: scummvm/trunk/sound/midiparser.h
===================================================================
--- scummvm/trunk/sound/midiparser.h 2010-06-14 21:31:53 UTC (rev 49671)
+++ scummvm/trunk/sound/midiparser.h 2010-06-14 22:31:38 UTC (rev 49672)
@@ -267,13 +267,12 @@
* memory block containing the music data.)
*/
class MidiParser {
-private:
+protected:
uint16 _active_notes[128]; ///< Each uint16 is a bit mask for channels that have that note on.
NoteTimer _hanging_notes[32]; ///< Maintains expiration info for up to 32 notes.
///< Used for "Smart Jump" and MIDI formats that do not include explicit Note Off events.
byte _hanging_notes_count; ///< Count of hanging notes, used to optimize expiration.
-protected:
MidiDriver *_driver; ///< The device to which all events will be transmitted.
uint32 _timer_rate; ///< The time in microseconds between onTimer() calls. Obtained from the MidiDriver.
uint32 _ppqn; ///< Pulses Per Quarter Note. (We refer to "pulses" as "ticks".)
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