aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.cpp
AgeCommit message (Collapse)Author
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-06-26Add missing include for translationsWillem Jan Palenstijn
svn-id: r50326
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-03-08Show an error message in case multiple OPL outputs are created instead of ↵Johannes Schickel
using an assert. The new DBOPL emulator we are using should support multiple instances though. We *might* consider allowing as many instances as the user wants. Of course since the original games only had one OPL chip available, that should not be required. Also just in case we might allow real hardware as playback device that would be out of the question again too. svn-id: r48183
2010-02-03Cleanup.Johannes Schickel
svn-id: r47843
2010-01-25- Remove "(experimental)" mark from DOSBox OPL emulator description in GUIJohannes Schickel
- Merge in some small OPL emulator changes from DOSBox's trunk svn-id: r47546
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2009-11-25Do not fall back to a auto detection of the OPL emulator, when the user ↵Johannes Schickel
selected OPL emulator does not support a mode asked for. We will now output a warning to the user in this case. That should be fine, since SCI is the only engine so far, which uses Dual OPL2 emulation. Albeit this is not supported by our MAME emulator the user will still get sound output, since the SCI engine will do proper recovery and fallback to single OPL2 emulation, which is supported by the MAME emulator. In case a engine would require a specifc mode (like OPL3) and the user selects MAME emulation, this might result in no sound output (or a crash), in case the engine does not take any care of testing whether the OPL creation succeeded. But luckily so far no engine does this, so it should be fine to not worry about that for now. svn-id: r46140
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-05-12Make 'create' return an OPL2 by default.Johannes Schickel
svn-id: r40503
2009-05-12Cleanup.Johannes Schickel
svn-id: r40502
2009-05-12Fix OPL emulator IDs.Johannes Schickel
svn-id: r40498
2009-05-12- Add support for selecting the OPL emulator being used (config entry: ↵Johannes Schickel
"opl_driver") - Make MAME FM OPL the default emulator again - Add GUI support for selecting the active OPL emulator - Update themes svn-id: r40496
2009-05-05Cleanup:Johannes Schickel
- Rename OPL_DOSBox to OPL, since it's inside a seperate namespace anyway - Reanme MAME_OPL to OPL, since it's inside a seperate namespace anyway svn-id: r40338
2009-05-05- Remove default parameter from OPL::createJohannes Schickel
- Add some note that no one should use the legacy API for new code svn-id: r40337
2009-05-05At request by DrMcCoy enable DOSBox OPL2 by default whenever ↵Johannes Schickel
DISABLE_DOSBOX_OPL isn't defined. svn-id: r40335
2009-05-05AdLib emulator changes part2:Johannes Schickel
- Add new OPL emulator API (and legacy access API) in sound/fmopl.h - Add DOSBox OPL emulator. - Update MAME OPL emulator for the API changes. svn-id: r40334
2009-05-05AdLib emulator changes part1 (breaks compilation :-/):Johannes Schickel
- Add new directory sound/softsynth/opl - Move sound/fmopl to sound/softsynth/opl/mame svn-id: r40333
2009-02-15Add interleave parameter to FMOPL as needed by SCI engineEugene Sandulenko
svn-id: r38211
2008-12-03cleanupMax Horn
svn-id: r35214
2008-11-17Saving 32kb DATA sizeMax Horn
svn-id: r35103
2008-02-26Another tiny speed tweak for fmopl.cpp; replace a division with a shift.Robin Watts
svn-id: r30968
2008-02-17Tweaks to fmopl; same net effect overall, just faster.Robin Watts
Eliminate divisions, floating point, and mod operation from inner synth loop. svn-id: r30896
2007-12-19Patch #1853322: Patch for Atari ST/FreeMintMax Horn
svn-id: r29906
2007-12-06reverted commit #29736 with a proper fix (I think) to fmopl codeGregory Montoir
svn-id: r29741
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-01Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)Chris Apers
svn-id: r28803
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-04-06Changes to CPU local ram allocation for DS portNeil Millstone
svn-id: r26395
2006-12-01Changed size of sine table so it take less memory in cache RAM on DS portNeil Millstone
svn-id: r24800
2006-10-09Fix GP2X ifdef error in initial patch. Sorry.John Willis
svn-id: r24257
2006-10-06Patch #1432376: "Very basic GP2X Backend"Eugene Sandulenko
svn-id: r24144
2006-09-30Revert part of commit 23552 by agent-q. Apparently this slipped in byEugene Sandulenko
mistake, as DS port sets FMOPL quality in ds/arm9/source/osystem_ds.cpp void OSystem_DS::initBackend(). svn-id: r24046
2006-07-29Another little formatting and a typo fix.Johannes Schickel
svn-id: r23621
2006-07-29Adding comment about forced MQ on small devices.Johannes Schickel
svn-id: r23620
2006-07-29Some formatting 'fixes'Johannes Schickel
svn-id: r23619
2006-07-22Speed increase for DS port - uses cache ram to store SIN_TABLE. Other ↵Neil Millstone
versions are unaffected. svn-id: r23552
2006-07-09Patch #1519399: DS BackendMax Horn
svn-id: r23452
2006-03-14Added workaround in FMOPL for the pathological case where a note was turned offTorbjörn Andersson
while still at the very beginning of the "attack" phase. This is the very lowest point on the attack curve, yet it would continue from the beginning of the release curve, i.e. its very highest point. This is what caused Kyra to often play low-frequency notes at the very beginning of a new song. (That, and a truly bizarre function for initialising the channels.) The proper fix would be to locate the correct point on the release curve and continue from there. For now, though, only handle the trivial case. svn-id: r21302
2006-03-14Fixed a potential bug that could cause memory to be read out-of-bounds.Torbjörn Andersson
(Unfortunately, this does not fix the Kyra bug I'm looking for.) In the most extreme case: * DR and RR will point to &DR_TABLE[60], and AR will point to &AR_TABLE[60] * SLOT->KSR will be 0 * CH->kcode will be 15 In that case, it will attempt to access AR[15], RR[15] and DR[15], i.e. AR_TABLE[75] and DR_TABLE[75]. So these arrays need to be 76 elements, not 75. We used to initialise element 75, but this was changed to 74 to match the size of the arrays. Buf if my reasoning is correct, it was the arrays that were too small. svn-id: r21301
2006-03-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-30Wrong #ifdefChris Apers
svn-id: r20314
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-03Not needed anymore :)Chris Apers
svn-id: r19735
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-12PalmOS ARM tooChris Apers
svn-id: r19040
2005-09-03Change PalmOS identChris Apers
svn-id: r18756
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604