aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/timidity.cpp
AgeCommit message (Collapse)Author
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2011-12-12AUDIO: Add endian FIXME to timdity codeMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-04BACKENDS: Fix copy & paste mistakes in some commentsMax Horn
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
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-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-10-13SOUND: Allow TiMidity support to be disabled via configure.Johannes Schickel
svn-id: r53395
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-05-05Replace various strncpy usages by strlcpy.Johannes Schickel
svn-id: r48955
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
2009-12-09Remove the Audio::Mixer parameter from the midi/music pluginsMax Horn
svn-id: r46315
2009-07-04Add GCC_PRINTF parameter.Johannes Schickel
svn-id: r42104
2009-06-28Silenced the reamining warnings reported in patch #2684986 (gcc warnings ↵Max Horn
with -DFORTIFY_SOURCE=2 -fstack-protector) svn-id: r41930
2009-05-13Silence another g++ 4.4 warning.Johannes Schickel
svn-id: r40527
2009-02-02#define usleep on BeOSMax Horn
svn-id: r36201
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-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
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-13WORKAROUND bug #1870304: Solaris does not provide INADDR_NONEMax Horn
svn-id: r30467
2007-11-02Changed "if( ... )" to "if ( ... )" and "while( ... )" to "while ( ... )", andTorbjörn Andersson
removed an unnecessary \n. svn-id: r29379
2007-11-02Patch #1815526: Add TiMidity++ MIDI server supportMax Horn
svn-id: r29377