aboutsummaryrefslogtreecommitdiff
path: root/sound/midiparser.h
AgeCommit message (Collapse)Author
2010-06-18Make MidiParser::sendToDriver protected.Johannes Schickel
The client code should never try to pass commands to the output via the MidiParser API. SCI currently does that though... Actually that shows that either our MidiParser API becomes more and more an MidiPlayer than just a parser or that the SCI design has its flaws here. svn-id: r49996
2010-06-16SCI: implement channel remapping for SCI1Martin Kiewitz
svn-id: r49905
2010-06-14Since allNotesOff() is virtual and can be overriden, make its associated ↵Filippos Karapetis
variables protected instead of private svn-id: r49672
2010-01-02SCI/new music code: Don't stop notes when looping for a holdWillem Jan Palenstijn
svn-id: r46897
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-03-26Changed doxygen comments in sound/midiparser.h to match with our usual ↵Max Horn
formatting conventions svn-id: r39700
2008-11-30Initial version of proper MIDI support for KYRA.Johannes Schickel
svn-id: r35174
2008-08-10Committed my patch #2040074 ("XMIDI callback control events"). At the ↵Torbjörn Andersson
moment, I'm not aware of any game that actually uses this XMIDI feature, so its primary function right now is to silence lots of warnings while running the DOS version of Simon the Sorcerer 2. svn-id: r33763
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-04-15cleanupMax Horn
svn-id: r21920
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-12Looks like my pitch wheel change still has the ability to break things. SeeTorbjörn Andersson
bug #1324103. I've changed it - again - so that now it only centers the pitch wheels on unload if a new mpCenterPitchWheelOnUnload property has been set. Currently only the SAGA engine does that, so if it still breaks it only breaks SAGA. I've also fixed what looked like an unintentional fall-through in the MidiParser::property() function. Surently that can't cause any new regressions? Please. svn-id: r19032
2005-05-27More whitespace changes.Torbjörn Andersson
svn-id: r18273
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-11Prevent infinite loop by displaying the launcher after a game start FAILURE too.James Brown
svn-id: r15787
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-11Expanded the Doxygen docs for the MidiParser class.Jamieson Christian
Painfully detailed in its description of how to get a MidiParser object hooked up and running. Hope this helps ya, Joost! ;) svn-id: r11559
2003-12-10Endian-safe read-and-advance helper functions areJamieson Christian
now based on the READ_LE_* and READ_BE_* macros. Very slight performance gain, woo hoo. svn-id: r11558
2003-10-03cleanup / doxygenificationMax Horn
svn-id: r10578
2003-08-16More corrections to the VAR_MUSIC_TIMERJamieson Christian
computations, mostly to produce the exptected output with AD resources. svn-id: r9730
2003-08-16Corrected timing mechanism for RO music streams.Jamieson Christian
RO streams have built-in timer markers (the unknown 0xA0 mentioned in FR [742249]) that override automated methods of updating VAR_MUSIC_TIMER. Since these timer markers do not seem to be present in AD resources, the old mechanism is used if MD_ADLIB is the current MidiDriver. svn-id: r9720
2003-07-10Fix for Bug [766426]: V5 Games: Adlib SFX not loopedJamieson Christian
Modified Smart Jump logic to deal with active notes whose Note On and Note Off events BOTH occur OUTSIDE the range of the jump. While this is not a thorough way to deal with Note On events that occur outside jump points, it at least deals with the issue of long, unchanging Adlib SFX used by some earlier SCUMM games. svn-id: r8892
2003-06-18Fix for bug [756555] ALL: With '-ewindows' notes don't stop at quitJamieson Christian
and bug [755176] SIMON2: Hanging notes More cleanup of the thread issues associated with iMuse and MidiParser shutdown. Untested. svn-id: r8546
2003-06-11Fixed post-mortem attempts to transmit MIDI dataJamieson Christian
svn-id: r8433
2003-06-01Documentation correctionsJamieson Christian
svn-id: r8224
2003-05-31Some Doxygen documentation. Just to test.Jamieson Christian
svn-id: r8195
2003-05-25Fixed occassional music crashes when loading games.Jamieson Christian
Thanks to eriktorbjorn for finding this issue. svn-id: r7959
2003-05-23Fixed problem with hanging notes on some synth modules.Jamieson Christian
Various little MidiParser fixes. svn-id: r7863
2003-05-23Revamped iMuse and Player classes. Player now uses MidiParser to parse its ↵Jamieson Christian
data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver". Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser). *** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! *** This has been tested through the intros and a number of other scenes from MI2, FOA and S&M. NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned.... svn-id: r7849
2003-05-22Added "smart-jump" capability to MidiParser.Jamieson Christian
svn-id: r7831
2003-05-21More Simon music fixesJamieson Christian
svn-id: r7769
2003-05-20Fixed regression in XMIDI parsing.Jamieson Christian
svn-id: r7706
2003-05-19Fixed anonymous structs warning.Jamieson Christian
svn-id: r7696
2003-05-19Moved common parsing logic into MidiParser base class.Jamieson Christian
Added auto-loop capability. svn-id: r7692
2003-05-19fix shadow warningMax Horn
svn-id: r7675
2003-05-19Fixed Simon 1 music regression.Jamieson Christian
SMF parser now supports malformed Simon pitch bend events. Implemented SMF parser jump method. svn-id: r7669
2003-05-19Fixed gcc warnings, virtual destructor problemJamieson Christian
svn-id: r7656
2003-05-18Implemented new Simon MIDI module, switching from MidiStreamer to ↵Jamieson Christian
MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's. svn-id: r7654
2003-05-18New plug-in MIDI parser modules, INCOMPLETE.Jamieson Christian
svn-id: r7636