aboutsummaryrefslogtreecommitdiff
path: root/sound/mididrv.cpp
AgeCommit message (Collapse)Author
2010-06-29AUDIO: fixed bug when device was set to default and only MDT_MIDI flags ↵Florian Kagerer
were passed to detectDevice() svn-id: r50510
2010-06-29Return "0" in case no device was detected in MidiDriver::detectDevice.Johannes Schickel
svn-id: r50473
2010-06-29Yet another slight fix for the fallback detection.Johannes Schickel
Before in case MDT_PREFER_MT32 nor MDT_PREFER_GM was specified the code used "auto" as key name for ConfMan.get, instead of passing "auto" directly to getDeviceHandle. svn-id: r50472
2010-06-29Fix fallback detection code in MidiDriver::detectDevice.Johannes Schickel
It formerly only used the global "mt32_device" and "gm_device" values, but we also allow game specific values, thus we take that into account now. Also formerly the the check for the first available MT32/GM device only used the device handle of the mt32_device/gm_device instead of the list of devices it iterates over. Fixed that too. Last but not least that whole detection code looks strange to me, it seems we only use mt32_device and gm_device for fallback detection, at least when the music_driver matches it will always be used. So I wonder why we have those at all? svn-id: r50471
2010-06-29Fix detection of invalid music drivers specified via command line.Johannes Schickel
Along with it documented that "0" is a special device handle for the invalid device. Now getDeviceHandle returns 0, when the identified device could not be found. Also getMusicType now returns MT_INVALID (newly introduced), when a non existing device was specified. svn-id: r50470
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-25AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)Florian Kagerer
svn-id: r50281
2010-06-22LAUNCHER: hopefully fixed music driver selection via command lineFlorian Kagerer
svn-id: r50158
2010-06-22Remove some trailing tabs.Johannes Schickel
svn-id: r50152
2010-06-22GUI/LAUNCHER: This should fix the regression concerning pc speaker / pcjr ↵Florian Kagerer
support caused by patch #1956501 svn-id: r50145
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-15GUI: Implement MIDI drivers as GUI options.Eugene Sandulenko
Proper version of patch #2988641: "GSoC: Select drivers in GUI based on output types". So far only SCUMM engine supports this feature. svn-id: r49783
2010-06-15Sound: add PCJR as a pseudodriver.Eugene Sandulenko
Since AGI distinguishes between PCSPK and PCJR/Tandy, make it as a pseudodriver. svn-id: r49782
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759
2010-01-25Change some comments to use "AdLib" instead of "adlib".Johannes Schickel
svn-id: r47534
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-12-09Remove the Audio::Mixer parameter from the midi/music pluginsMax Horn
svn-id: r46315
2009-12-07Rename the MT-32 emulator driver name from "MT-32" to "MT-32 Emulation to ↵Johannes Schickel
avoid confusion. svn-id: r46271
2009-09-27Removed Mac OS X QuickTime MIDI backend. It breaks on OS X 10.6, and it's ↵Max Horn
not as good as the CoreAudio backend anyway svn-id: r44428
2009-06-06Patch #1365914: "SCUMM: CMS support." Disabled by default. Still plenty to do.Eugene Sandulenko
svn-id: r41282
2009-05-13Fix spelling of AdLib (it's AdLib not Adlib).Johannes Schickel
svn-id: r40533
2009-03-27Fix regression from r39702: look up music_driver in configWillem Jan Palenstijn
svn-id: r39707
2009-03-26MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible ↵Max Horn
to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int svn-id: r39702
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-08-27Partial commit of patch #2012839: Atari Patch for adding Native MIDI and Fix ↵Max Horn
Compile svn-id: r34194
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-11Added the MidiPlugin interface (first step towards the MIDI plugins)Jordi Vilalta Prat
svn-id: r31993
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-04-14typoMax Horn
svn-id: r31500
2008-03-12Removed remaining traces of the dead MorphOS backend, which itself was ↵Max Horn
removed about one year ago svn-id: r31114
2008-02-20Added CAMD MIDI driver for AmigaOS4Jordi Vilalta Prat
svn-id: r30910
2007-11-02Patch #1815526: Add TiMidity++ MIDI server supportMax Horn
svn-id: r29377
2007-10-29Add DMedia MIDI driver just to the list of MIDI drivers if on IRIX, since at ↵Johannes Schickel
least the code for it is just build on IRIX and not on every UNIX system. svn-id: r29316
2007-09-30Patch #1804801: DMedia MIDI driver for IRIXMax Horn
svn-id: r29142
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-25Patch #1742574: "GUI: Unify "Default" options text"Eugene Sandulenko
svn-id: r27698
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
2006-10-21cleanupMax Horn
svn-id: r24407
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-11- Use midi drivers only when neededChris Apers
- disable zodiac midi driver with scumm engine since it doesn't work with it in ARM mode (??) svn-id: r20524
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-30* Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).Max Horn
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it now *does* instantiate the adlib driver. * Rewrote MidiDriver::detectMusicDriver (code should be clearer now, and hopefully easier to adapt/maintain). Note that the behavior changed slightly (this may require some tweaking). * Added MidiDriver::findMusicDriver which works similar to the old MidiDriver::parseMusicDriver but returns the full MidiDriverDescription and ignores all characters in the passed driver name following a colon ":". * Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver. * Changed game engines to match the changes made to MidiDriver. * Modified SCUMM engine to not record the selected midi/music driver (in _midiDriver), but rather the music *type* (in _musicType). svn-id: r19859
2005-12-29Disable 'coreaudio' driver name alias for now -- it makes the CoreAudio ↵Max Horn
driver appear twice in the GUI svn-id: r19845
2005-12-29MidiDriver: Some cleanup, added some comments/TODOs, preparations for a ↵Max Horn
potential cleanup svn-id: r19844
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