aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/coreaudio.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28MACOSX: Fix compilationMax Horn
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-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
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-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-03-18Fix warningsMax Horn
svn-id: r48277
2009-12-09Remove the Audio::Mixer parameter from the midi/music pluginsMax Horn
svn-id: r46315
2009-09-27Fix CoreAudio MIDI backend on Mac OS X 10.6Max Horn
svn-id: r44427
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-18Hack to disable 'depracted' warnings on OS X 10.5Max Horn
svn-id: r32173
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-03-12Switched CoreAudio MIDI driver to use AudioUnit v2 API (results in better ↵Max Horn
Leopard support/performance, it seems, at least in Exult) svn-id: r31113
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-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-14Avoid using exceptionsMax Horn
svn-id: r21894
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-12-26Switched the CoreAudio driver to use an AUGraph; this simplifies things a ↵Max Horn
lot and should also cope with the user switching the default output device while ScummVM is running svn-id: r19835
2005-12-26New CoreMIDI midi backend for OS XMax Horn
svn-id: r19832
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-02cleanupMax Horn
svn-id: r18484
2005-07-02Small fixesMax Horn
svn-id: r18483
2005-07-02Hackish native MIDI HW support for Mac OS X (incomplete)Max Horn
svn-id: r18481
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-05Add a comment regarding use of CoreAudio/AudioUnits v1 APIMax Horn
svn-id: r17916
2005-04-18If we don't want to use reverb, then at least disable it properly, not via a ↵Max Horn
bad hack svn-id: r17671
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-25disable the reverb hack for now; at hacked in sound font support (specify ↵Max Horn
'soundfont' config option with path to a .SF2 file); simplify code a bit by using OpenDefaultComponent; allow usage of any music device, not just the DLSSynth (this may or may not help people with real MIDI devices) svn-id: r11918
2003-07-02cleanupMax Horn
svn-id: r8718
2003-06-11Fixed race condition in MPU401 shutdownJamieson Christian
svn-id: r8432
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2003-03-03added SysEx support to the CoreAudio midi backend - though I have no clue ↵Max Horn
what effect this will have, or how I could test this... svn-id: r6677
2002-12-11ripped out obsolete midi streaming code from backends (this may break ↵Max Horn
Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me) svn-id: r5905
2002-12-08started to split out the midi driversMax Horn
svn-id: r5889