aboutsummaryrefslogtreecommitdiff
path: root/sound/midiparser_smf.cpp
AgeCommit message (Collapse)Author
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2008-07-09cleanup / code formattingMax Horn
svn-id: r32973
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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
2007-02-18Correct warned class nameChris Apers
svn-id: r25694
2007-02-16Unified how we deal with (and how we generate) MIDI sysex messages -- in ↵Max Horn
particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class) svn-id: r25630
2006-04-13Fixes possible illegal writes/segfaults in compressToType0 (added a comment ↵Johannes Schickel
about the changes). svn-id: r21853
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-06-24For consistency, specify directory when including files.Torbjörn Andersson
svn-id: r18454
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-27More whitespace changes.Torbjörn Andersson
svn-id: r18273
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-05-01Doubled the buffer size to prevent crashes with the Inherit the EarthTorbjörn Andersson
MIDIs. This is a temporary fix - Jamieson630 said something about making a better fix later - but it will have to do for now. svn-id: r13719
2004-05-01Fix for [945497] Possible bug in midiparser_smf.cppJamieson Christian
Corrected Type 0 SMF compression to properly account for command lengths when Running Status is being used. Also increased buffer size for Type 0 output since Running Status can result in the Type 0 output being larger than the source data. Needs some more work, but at least the Wyrmkeep people can keep going in the meantime. svn-id: r13707
2004-04-30Changed printf() to warning()Torbjörn Andersson
svn-id: r13684
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-10-03cleanup / doxygenificationMax Horn
svn-id: r10578
2003-08-14Removed incorrect acknowledgements (copy/paste error)Jamieson Christian
svn-id: r9680
2003-06-18Use stdafx.h instead of manually including system headers.Marcus Comstedt
svn-id: r8541
2003-05-25Fixed occassional music crashes when loading games.Jamieson Christian
Thanks to eriktorbjorn for finding this issue. svn-id: r7959
2003-05-23Fixed tempo problems in Simon gamesJamieson Christian
svn-id: r7853
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-20Corrections to SMF Type 1 compression to Type 0.Jamieson Christian
Fixes simon2win title music. svn-id: r7755
2003-05-20init member vars to 0Max Horn
svn-id: r7732
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 warning; removed unused varMax Horn
svn-id: r7677
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-18SMF/GMF implementation of MidiParserJamieson Christian
svn-id: r7650