aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/coreaudio.cpp
AgeCommit message (Collapse)Author
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2013-02-01MACOSX: Fix compilation with the 10.2.8 SDKMatthew Hoops
This is a pretty bad hack of not using the kMusicDeviceProperty_SoundBankFSRef symbol and using its value instead. It felt wrong breaking 10.2.8 support just because of Soundfonts.
2013-02-01MACOSX: Load soundfonts using FSRef instead of FSSpec on 10.5Matthew Hoops
Fixes bug #3602452
2012-09-17MACOSX: Make failing to load a soundfont in CoreAudio fatalMatthew Hoops
If we don't bail out, CoreAudio will explode.
2012-09-14MACOSX: Fix soundfont loading with CoreAudio on newer versions of Mac OS XMatthew Hoops
2012-01-17MACOSX: Moved an include a bit to make sure that some defines are there ↵Oystein Eftevaag
before they are actually used.
2012-01-14MACOSX: Changed CoreAudio deprecation check slightly to allow building with ↵Oystein Eftevaag
older SDKs
2012-01-14MACOSX: Default to new CoreAudio API on x86, and to old on PowerPCMax Horn
The new API has been present since Mac OS X 10.5 (released four years ago, in October 2007), and also since iOS 2.0 (thus, the iOS port may be able to use it, too). Moreover, 10.5 was the last system to support PowerPC.
2011-12-12MACOSX: Optionally allow building against "new" (10.5+) CoreAudio APIMax Horn
This silences a bunch of deprecation warnings when compiling on any current system. Moreover, the new API is available on the iPhone, so perhaps this is interesting for the iPhone port, too. On the long run, ScummVM will have to switch to the new API, as Apple will eventually drop the old one.
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