aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/mt32
AgeCommit message (Collapse)Author
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-01-08MT32: Fixed compilation warningsMarcus Comstedt
The conversion specification "%f" converts a double, not a float, so floats need to be converted to doubles before passing them to vprintf(). svn-id: r55175
2010-12-14SOUND: Fix Un-initialised Memory Reads in MT-32 Emulator, reported by Valgrind.David Turner
svn-id: r54909
2010-12-08MT32: Get rid of ANSIFile.Johannes Schickel
svn-id: r54827
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-29MT32: Remove useless cast.Johannes Schickel
svn-id: r53916
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-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-07-29Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on ↵Johannes Schickel
systems without "floorf". svn-id: r42904
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-05-22Fixed a warning: printf("%f") should take a double, not a float.Marcus Comstedt
svn-id: r40785
2009-03-10Use pow() instead of powf() when compiling with MinGW32 to work around a ↵Andre Heider
libstdc++ cross-compile bug, see #2673362 svn-id: r39309
2008-11-13Fixed compiling of MT32 emulator with -O2 and -Werror.Johannes Schickel
svn-id: r35040
2008-09-03Removed unused readLine code from the MT-32 emuMax Horn
svn-id: r34314
2008-08-30Fix (?) Solaris detection in some workaround code in the MT-32 emulatorMax Horn
svn-id: r34216
2008-05-24typoMax Horn
svn-id: r32245
2008-02-26Completed fix for bug #1523129 (SOLARIS: solaris 8 build broken)Max Horn
svn-id: r30972
2008-02-24Fixed warning on systems with unsiged char as default char type.Johannes Schickel
svn-id: r30953
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-12-09Fixed typosMax Horn
svn-id: r29793
2007-11-02Patch #1816901: MT-32 emu: Low volumeMax Horn
svn-id: r29378
2007-10-27Added support for more ROM versions, see FR #1820331Max Horn
svn-id: r29269
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Fixed some more warningsMax Horn
svn-id: r28948
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-06-24* Renamed config.mak to config.mkMax Horn
* Renamed common.rules to rules.mk * Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it) svn-id: r23275
2006-02-23fixed warnings for msvc7Paweł Kołodziejski
svn-id: r20831
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-02-07Removed .cvsignore filesMax Horn
svn-id: r20424
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-02Avoid using powf/expf/logf under Mac OS X, as they cause binary & compile ↵Max Horn
incompatibilities with older system versions svn-id: r19396
2005-10-18Fix bug #1221549 "MT32emu: doesn't compile under gcc 3.4.2 / i386"Eugene Sandulenko
svn-id: r19147
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-19I believe this fixes a GCC 4 compile error, but I can't run the MT-32Torbjörn Andersson
emulator (my computer is too slow, and anyway I don't have the necessary data files) so I haven't tested it other than by compiling it. See bug #1224138 for details. svn-id: r18558
2005-07-11Fix more GCC 4.0 warningsMax Horn
svn-id: r18533
2005-07-03- Small changes to sync with Munt.Jerome Fisher
svn-id: r18488
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-09fixed warningPaweł Kołodziejski
svn-id: r18012
2005-05-09Patch #1181544 (AmigaOS 4 changes)Max Horn
svn-id: r18011
2005-05-09Fix doxygen messageMax Horn
svn-id: r18000
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-04-16vc compile warnAndrew Kurushin
svn-id: r17637
2005-04-13Get rid of errno; add some (optional) error checking facilities to SaveFile ↵Max Horn
classes (they are ugly, and to simple, but better than nothing) svn-id: r17589
2005-03-20Merged with latest Munt CVS.Jerome Fisher
* Added support for most of the extended capabilities of the CM-32L/LAPC-I (more rhythm timbres, more rhythm key mappings, more PCM samples). * The control ROM is now identified by searching for matching ID strings at various locations in the file. There are now a lot of safety checks to help ensure that a bad ROM will not crash the emulator. * Three control ROM versions are now identified and mapped out - an original MT-32 control ROM, an original CM-32L ROM, and the Blue Ridge modified MT-32 ROM. * Now supports the expression controller properly. * Sustain is now turned off correctly again. * "All Notes Off" no longer stops notes held by the sustain controller. * Implemented "Reset all controllers". * Stereo pan positions are no longer inverted. * Volume, pitch, filter and envelopes are now more accurately calculated. Overall, the sound emulation is much more accurate. * Waveforms are now slightly more accurate (in terms of pitch), necessitating a regeneration. * Handling of unusual sysex messages has been improved (fixes sysex messages from Java's MIDI classes on Windows). * Fixed a reverb bug during periods of silence. svn-id: r17188
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-25Moved the softsynth midi drivers into a sound/softsynth; amongst other ↵Max Horn
things, this fixes bug #1083058 svn-id: r16316