aboutsummaryrefslogtreecommitdiff
path: root/sound/mididrv.h
AgeCommit message (Collapse)Author
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-02Moved MidiDriver creation code into the MidiDriver class (as static ↵Max Horn
methods), same for some other MIDI related stuff svn-id: r15968
2004-11-06Major MT-32 emu overhaul based on KingGuppy's code.Eugene Sandulenko
o added configure option o mi2 intro doesn't freeze anymore and has no sound glitches o missing instruments in many titles are fixed o numerous memory overwrite bugs are fixed o code is cleaned a lot and splitted into many smaller files o mt32.cpp went to backends/midi o synced with upstream code o reverberation fixed * don't complain about File class wrapper :) * all custom types are back * #pragmas are to do * maybe some indentation is wrong too I prefer smaller commits, but this thing came in one piece. svn-id: r15715
2004-10-21Patch #1048326 Better MT-32 supportEugene Sandulenko
svn-id: r15635
2004-10-17Add commentMax Horn
svn-id: r15595
2004-08-22cleanup of TimerProc messMax Horn
svn-id: r14683
2004-04-26MIDI control change 18 is no longer transmitted.Jamieson Christian
It is not a valid MIDI control change message. It is used internally in the SCUMM MIDI tracks to indicate part priority. The only MidiDriver that needs it is Adlib. It should be noted that the priority values are out of bounds for a regular MIDI message anyway. Valid control change values are 0-127, but the priority value ranges from 0-255. This fixes a crash with a certain software MT-32 emulator running under Linux. Thanks to olki for bringing up this issue. svn-id: r13645
2004-02-06Fixed "no newline at end of file" warning.Torbjörn Andersson
svn-id: r12746
2004-02-05Prepare Zodiac MIDI supportChris Apers
svn-id: r12734
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-10-18cleanupMax Horn
svn-id: r10894
2003-10-18We proudly present the latest installment of our hit series 'Untangle the ↵Max Horn
mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now svn-id: r10883
2003-10-05Preliminary preparation for new YM2612 FM emulator.Jamieson Christian
All the hooks are in, but actual implementation needs to be checked for portability. svn-id: r10615
2003-10-02cleanup & restructuring; in particular move the midi driver list to its own ↵Max Horn
source file svn-id: r10550
2003-09-25Fix for Bug [810564] ALL: missing instruments with native MT-32Jamieson Christian
As defined in Patch [811623] MT-32 patch for Bug 810564 Added a channel mask to MPU-401 devices so that --native-mt32 may force the device to use only the subset of MIDI channels actually supported by the MT-32. Also added a best-guess interpretation of iMuse Part priority in the SysEx 0x00 msg, since part priorities become more of an issue when the channel count is cramped. svn-id: r10409
2003-08-13Added PC Speaker and PCjr command line options,Jamieson Christian
in preparation for Kirben's addition of WA support for games that already have AD tracks. svn-id: r9656
2003-08-08Added generic send() option to MidiChannel.Jamieson Christian
This circumvents problems doing generic send() calls to MidiDrivers that support more than 16 MIDI channels (i.e. Adlib). Because of the way it interacts with MidiDriver, Simon could have run into a problem if it tried to allocate more than 15 Adlib music channels (though this would only happen in very, VERY rare circumstances). Also fixed a problem with the channel numbering scheme used by MidiDriver_Adlib, in particular the percussion channel number. svn-id: r9604
2003-08-05getting rid of g_mixer; removing lots of whitespaceMax Horn
svn-id: r9527
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-05-23Revamped iMuse and Player classes. Player now uses MidiParser to parse its ↵Jamieson Christian
data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver". Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser). *** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! *** This has been tested through the intros and a number of other scenes from MI2, FOA and S&M. NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned.... svn-id: r7849
2003-05-18MIDI Meta event Tx for virtual MidiDriver'sJamieson Christian
svn-id: r7638
2003-05-17Fixed Adlib sound problem on old (small header) games. Thanks for ↵Jamieson Christian
eriktorbjorn for the material that led to the solution. svn-id: r7610
2003-05-17Absorbed last tidbits of mididrv.cpp into other filesJamieson Christian
svn-id: r7606
2003-04-30PalmOS changesMax Horn
svn-id: r7222
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2002-12-25fix -pedantic warningsMax Horn
svn-id: r6108
2002-12-21MidiStreamer no longer derives from MidiDriver.Jamieson Christian
Removed MidiStreamer methods that weren't actually needed. That's one layer of indirection removed from Simon music. svn-id: r6050
2002-12-18Initial iMuse SysEx implementation.Jamieson Christian
svn-id: r6013
2002-12-18Initial framework for SysEx output support.Jamieson Christian
svn-id: r6010
2002-12-11ripped out obsolete midi streaming code from backends (this may break ↵Max Horn
Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me) svn-id: r5905
2002-12-08removed obsolete stuffMax Horn
svn-id: r5888
2002-12-01Fixed Adlib instrument setup in old (GF_SMALL_HEADER) games.Jamieson Christian
Restored MT-32 emulation lost during restructuring. svn-id: r5786
2002-11-26Restructured MIDI channel allocation architecture.Jamieson Christian
Adlib no longer suffers from 16-channel MIDI restrictions. Fixes a regression in the MI2 intro music under Adlib. svn-id: r5721
2002-11-21Revamped Adlib functionality.Jamieson Christian
IMuseAdlib is defunct. New MidiDriver_ADLIB device. Simon 1/2 now supports Adlib. svn-id: r5677
2002-11-04Increased GM channel resource to full spectrum (0-15, instead of 0-8 Base ↵Jamieson Christian
MIDI config); misc. pitchbend cleanups svn-id: r5403
2002-10-21oops forgot this fileMax Horn
svn-id: r5213
2002-10-21Pitch bend fixes for QTMAJamieson Christian
svn-id: r5208
2002-10-02Renamed new AMidi to EtudeRuediger Hanke
svn-id: r5079
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903
2002-07-07indent runMax Horn
svn-id: r4475
2002-05-16Added an ALSA sequencer support. Updated readme.txt to explain it, andNicolas Noble
Makefile to allow the user to enable it. I also reorganised the Makefile a bit, since there is now one more optionnal library. BBrox, I also merged your Makefile.x11 in it, just take a look at it! svn-id: r4341
2002-05-07First commit of the OPL2 MIDI driver (to have MIDI music withoutLionel Ulmer
requiring any OS-level MIDI support). This was taken from AdPlug. This is *very* buggy for now (well, it works, but it sounds just plain ugly :-) ). svn-id: r4232
2002-04-26removed the unused destroy() methods; using 'delete this' issn't nice anyway <g>Max Horn
svn-id: r4097
2002-04-26added new style midi drivers using QuickTime (MacOS 9 & X) and CoreAudio ↵Max Horn
(MacOS X) svn-id: r4086
2002-04-21Add boilerplate license to some files, to satisfy Debian types :)James Brown
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to replace these, or get permission to relicense them, before 0.2.0 svn-id: r4036
2002-04-14wrote new mixer class,Ludvig Strigeus
cleaned up sound header files, integrated mixer into scummvm & simon svn-id: r3937