aboutsummaryrefslogtreecommitdiff
path: root/sound/mpu401.h
AgeCommit message (Collapse)Author
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-04Delegate channel functions to any MidiDriver. This is useful for theEugene Sandulenko
MT-32 emulation and quite possibly other MidiDrivers in future. svn-id: r15711
2004-08-22cleanup of TimerProc messMax Horn
svn-id: r14683
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-21include stdafx.hMax Horn
svn-id: r11829
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-09-26Converted the MPU-401 timer to use the Timer class.Jamieson Christian
Since this was the only place where we were using create_thread, that method should be removable now. I also removed the midi_driver_thread overrides for the MorphOS and YPA1 (Palm) backends. These need to be tested by their respective porters. svn-id: r10414
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-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-07-05updated code to use type MutexRef; added class StackLock (from sdl backend, ↵Max Horn
now in util.*) svn-id: r8777
2003-06-11fixed cast warningsMax Horn
svn-id: r8435
2003-06-11Fixed race condition in MPU401 shutdownJamieson Christian
svn-id: r8432
2003-06-01Some last SysEx cleanup.Jamieson Christian
svn-id: r8223
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-16Added SysEx hooksJamieson Christian
svn-id: r7579
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2002-12-18Miscellaneous cleanup.Jamieson Christian
svn-id: r6021
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-08started to split out the midi driversMax Horn
svn-id: r5889