aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse/imuse.cpp
AgeCommit message (Collapse)Author
2010-12-01SCUMM: Fix GM initialization when "enable_gs" is set.Johannes Schickel
This is a regression from r25630, which caused the code to send some garbage data to the GS device, which resulted in some devices to fail with an "Address Error." (like the Roland SC-55). This might also fix bug #1927501 "GS option is broken". Even though actually the device there failed with another error it is likely to be caused by the same code. At least it is the only iMuse MIDI code change between 0.9.0 and 0.12.0, which might result in such a problem. svn-id: r54727
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
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-26Add patch #2839048 - MM C64 sound/music player, with minor changes.Travis Howell
svn-id: r46143
2009-11-22Add patch #2876221 - FBEAR: Fix for MIDI piano notes (DOS version), with ↵Travis Howell
minor change. svn-id: r46081
2009-08-24Fixed iMuse regression: IMuseInternal::terminate() was never called, because ↵Andre Heider
the base class does not have that virtual function anymore. Code moved to the destructor. svn-id: r43714
2009-08-16Fix warning caused by -Wformat-security, also fixed a possible buffer ↵Johannes Schickel
overflow along with it. svn-id: r43445
2008-01-11Work around bug #1324106 again. Apparently, I was mistaken the other day when ITorbjörn Andersson
said the timer changes fixed it. This time, I've made the workaround a bit simpler to understand, though. svn-id: r30429
2008-01-11The SCUMM timer fix makes the workaround for bug #1324106 obsoleteMax Horn
svn-id: r30419
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-11-16Applied my own patch #1594924 to work around bug #1324106 ("MI2 VGA: Music asTorbjörn Andersson
Rapp is instantiating isn't synchronized"). I don't know if our timing is off, or if it's just a case of overly optimistic scripting, but the pause / unpause music instructions are issued in the wrong order. svn-id: r24726
2006-11-12More whitespace.Torbjörn Andersson
svn-id: r24682
2006-11-12WhitespaceTorbjörn Andersson
svn-id: r24680
2006-04-04Since our debug() adds an exclamation mark at the message end, removeEugene Sandulenko
it in several calls to avoid duplication!!11! svn-id: r21607
2006-03-24Fix MSVC warnings #2Andrew Kurushin
svn-id: r21441
2006-03-12IMuse SysEx processing now handled by client-specified callbacks. This ↵Jamieson Christian
removes all game-specific references from the Player class. Bloodshed Dev-C++ project file updated. svn-id: r21241
2006-03-05Removed tag2str usage, which eliminates scumm/util.h dependency.Jamieson Christian
svn-id: r21107
2006-03-05I guess this is really a WORKAROUND, rather than a HACK. Updated comment.Torbjörn Andersson
svn-id: r21106
2006-03-05Restructured IMuse and IMuseInternal.Jamieson Christian
* IMuse is no longer a concurrency front-end. * IMuseInternal now derives from IMuse. * Common::StackLock used to protect thread-sensitive interface methods (same as IMuseDigital). * clear_queue() included in stopAllSounds() so it can be removed from the public interface. * Game ID now specified at init using property(). * Timer callbacks receive a struct containing IMuseInternal and MidiDriver refs, instead of just the latter. * OSystem pointer from init is now cached and used instead of global. All references to the g_system and g_scumm globals are now gone. BOOYAH! Tested with MI2, DOTT and S&M, under Windows, in Native MIDI, Adlib, and Mixed modes. No regressions or concurrency issues observed. Manifestations of the latter are the biggest concern at this point. svn-id: r21104
2006-03-05Fix compiler warningsTravis Howell
svn-id: r21086
2006-03-05Separated the IMuse Part methods into their own file. Updated the Bloodshed ↵Jamieson Christian
Dev-C++ project file at the same time. svn-id: r21085
2006-03-04Removed the default ignoreFadeouts parameter value for ImuseInternal's ↵Jamieson Christian
getSoundStatus method. The disposition of this method is going to be changing soon, and I'm getting confused by the assumptions being made by many of the calls to it. svn-id: r21080
2006-03-03DOS versions of HE games sounds like Roland music tooTravis Howell
svn-id: r21023
2006-03-03Added MT-32 device-specific reset on shutdown. Rearranged MT-32 ↵Jamieson Christian
initialization sequence to give the ScummVM welcome message a better chance of showing up on the LCD panel. svn-id: r21022
2006-02-26Removed deprecated IMUSE_DEBUG #define in favor of debugC calls using the ↵Jamieson Christian
runtime-selectable DEBUG_IMUSE category. svn-id: r20950
2006-02-25Replaced MKID by MID_BE in most places in the SCUMM engineMax Horn
svn-id: r20862
2006-02-20Moved iMUSE code to the new directory engines/scumm/imuse/Max Horn
svn-id: r20801