aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/seq.cpp
AgeCommit message (Collapse)Author
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-23AUDIO: Remove useless checkWillem Jan Palenstijn
2012-11-24BACKENDS: Remove excess space from warningsMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-02-09MIDI: Really fix bug #3153076 (this time also for Timidity)Max Horn
svn-id: r55857
2011-02-09MIDI: Fix bug #3153076 (warnings in SEQ driver)Max Horn
svn-id: r55851
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-01-15MIDI: Fixed unnecessary casts of return values to void, reported in bug #3153076Filippos Karapetis
svn-id: r55248
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-07-20General: Fixed building the SEQ MIDI driverTorbjörn Andersson
An #include was missing, causing the driver to never be built. Also fixed what looked like a cut-and-paste error in generating the features string. svn-id: r51056
2010-07-20BUILD: Unify adding -DUNIX to DEFINES; complete SEQ MIDI detectionMax Horn
* Added a yes/no variable _unix to configure, which controls when -DUNIX is added to DEFINES * Enable SEQ MIDI via _seq_midi by default on UNIX type systems, except for those which override that. * Switch SEQ MIDI code to check #define USE_SEQ_MIDI (alternatively, we could compile it only conditionally...) svn-id: r51055
2010-07-05Skip /dev/sequencer MIDI on Android.Angus Lees
svn-id: r50664
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2009-12-09Remove the Audio::Mixer parameter from the midi/music pluginsMax Horn
svn-id: r46315
2009-06-28Silenced the reamining warnings reported in patch #2684986 (gcc warnings ↵Max Horn
with -DFORTIFY_SOURCE=2 -fstack-protector) svn-id: r41930
2008-11-30Fixed sysEx buffer sizes.Johannes Schickel
svn-id: r35192
2008-11-30- Extended MidiDriver::sysEx to allow 264 byte sysEx messagesJohannes Schickel
- Updated all drivers to allow 264+2 byte sysEx messages - Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly. svn-id: r35180
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-08-27Partial commit of patch #2012839: Atari Patch for adding Native MIDI and Fix ↵Max Horn
Compile svn-id: r34194
2008-06-13Added initial interface to list music devices and their typesJordi Vilalta Prat
svn-id: r32695
2008-06-13Renamed MIDI plugins to Music pluginsJordi Vilalta Prat
svn-id: r32693
2008-05-14- Added more information (ID and capabilities) to the MIDI driversJordi Vilalta Prat
- Added the MidiPlugin interface to the remaining MIDI drivers - Added an initial MidiManager to handle the MIDI plugins (just static plugins by now) svn-id: r32117
2008-05-14Moved midiplugin.h to sound/ since it will be used for more than just the ↵Jordi Vilalta Prat
native MIDI drivers. svn-id: r32097
2008-05-11Added the MidiPlugin interface (first step towards the MIDI plugins)Jordi Vilalta Prat
svn-id: r31993
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-03-08Explicitly #include fcntl.h and unistd.h for the open/write/close syscallsMax Horn
svn-id: r26026
2007-03-08Replaced uses of fprintf() with warning() or error()Max Horn
svn-id: r26022
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-03-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-27Fixed compilation.Torbjörn Andersson
svn-id: r20953
2006-02-27SysEx data now passed around with const pointers. Permits simplification of ↵Jamieson Christian
some SysEx client code. Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers. svn-id: r20952
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20535
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-06Default to /dev/sequencer before /dev/null if no MIDI deviceJonathan Gray
is specified. svn-id: r19480
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10151
2003-06-11Fixed race condition in MPU401 shutdownJamieson Christian
svn-id: r8432
2003-06-01Fixed stupid SysEx errorJamieson Christian
svn-id: r8211
2003-06-01Restored SEQ_MIDIPUTC SysEx approachJamieson Christian
svn-id: r8208
2003-06-01Another slight tweak to the EV_SYSEX codeJamieson Christian
svn-id: r8201
2003-05-31EV_SYSEX definitionJamieson Christian
svn-id: r8198
2003-05-31EV_SYSEX based SysEx for -eseqJamieson Christian
svn-id: r8197
2003-05-31Possible fix for -eseq SysExJamieson Christian
svn-id: r8196
2003-05-17Moved SEQ driver to its own fileJamieson Christian
svn-id: r7605