121 Commits

Author SHA1 Message Date
Joost Peters
11c8ff9544 Handle command 0xD0 (queen uses this) - thanks aholler.
svn-id: r12533
2004-01-20 10:51:53 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
c07a290d8c disable the reverb hack for now; at hacked in sound font support (specify 'soundfont' config option with path to a .SF2 file); simplify code a bit by using OpenDefaultComponent; allow usage of any music device, not just the DLSSynth (this may or may not help people with real MIDI devices)
svn-id: r11918
2003-12-25 17:23:49 +00:00
Max Horn
032d8ad52e fix various buglets (like, only 15 of the 16 channels were being inited; also, the 'All note off' code caused odd problems, not yet sure why. I am disabling it for now)
svn-id: r11884
2003-12-24 12:53:07 +00:00
Max Horn
e9b193f2e5 fix drum channel
svn-id: r11883
2003-12-24 02:25:59 +00:00
Jonathan Gray
7c320d63de add config file parameter to specify the desired port when using the ALSA music driver
svn-id: r11583
2003-12-11 14:38:43 +00:00
Paweł Kołodziejski
13c7acee9d cleanup whitespaces
svn-id: r11220
2003-11-08 22:57:42 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Max Horn
7eab653832 cleanup
svn-id: r10894
2003-10-18 13:04:59 +00:00
Chris Apers
9033d3dbab Make PalmOS port happy
svn-id: r10843
2003-10-17 08:15:00 +00:00
Jamieson Christian
da9fcd9ceb More Euphony/YM2612 instrument layering and polyphony
fixes. Aside from variations in the instrument timbre,
the output from ScummVM now seems to match up with the
output from UNZ (MAME YM2612 emulator).

svn-id: r10672
2003-10-07 15:15:26 +00:00
Jamieson Christian
f49a741cfb Remove my trace output. :P
svn-id: r10669
2003-10-07 13:12:29 +00:00
Jamieson Christian
027543b30b More polyphony tweaks. Sounding a bit better.
svn-id: r10668
2003-10-07 13:11:54 +00:00
Max Horn
8c9dc47ee1 fixed warnings
svn-id: r10646
2003-10-06 22:33:54 +00:00
Max Horn
6cad2556ef removed unused 'rate' param from nextTick; another tiny tweak to Operator2612::nextTick (avoids one memory store over here, woohoo <g>)
svn-id: r10644
2003-10-06 15:26:01 +00:00
Jonathan Gray
5ca9daeebd remove <string> include so we don't depend on stdlib stuff (not used anyway) this also stops compile problems arising from our overloaded memory operators here
svn-id: r10643
2003-10-06 14:32:22 +00:00
Max Horn
7829083a78 malloc/new optimizations
svn-id: r10642
2003-10-06 14:15:01 +00:00
Jamieson Christian
83ace36fcc Per-channel polyphony now > 1
svn-id: r10641
2003-10-06 14:08:33 +00:00
Max Horn
52efd44852 even more optimizations
svn-id: r10639
2003-10-06 13:37:54 +00:00
Max Horn
5a1bd7574a some more tweaks
svn-id: r10637
2003-10-06 13:02:06 +00:00
Max Horn
ca13989959 some incremental changes (more will follow, this is step-by-step optimzation, watch it happen in pseudo-real-time and color. icecream is sold at the entrance, please stop smoking
svn-id: r10636
2003-10-06 12:33:40 +00:00
Jamieson Christian
94134421bc More performance optimizations
svn-id: r10629
2003-10-06 04:41:25 +00:00
Max Horn
a4150583cc oops - that happesn if you incorrectly re-apply a broken patch =)
svn-id: r10628
2003-10-06 01:25:24 +00:00
Max Horn
ef485006b1 more optimizations
svn-id: r10627
2003-10-06 01:24:22 +00:00
Jamieson Christian
97d7223bca Fix compiler warnings
svn-id: r10626
2003-10-06 01:08:38 +00:00
Jamieson Christian
f16775476f The real YM2612 implementation. Portable,
and with significant performances optimizations
thanks to Fingolfin, or optimizing emperor. :)

svn-id: r10625
2003-10-06 01:01:31 +00:00
Jamieson Christian
a722d0601e Preliminary preparation for new YM2612 FM emulator.
All the hooks are in, but actual implementation
needs to be checked for portability.

svn-id: r10615
2003-10-05 15:36:52 +00:00
Max Horn
17bf7b95aa removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
2003-09-28 21:08:48 +00:00
Jamieson Christian
7f707acfb6 Converted the MPU-401 timer to use the Timer class.
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-26 14:05:33 +00:00
Jamieson Christian
a30eb131bb Fix for Bug [810564] ALL: missing instruments with native MT-32
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-09-25 22:32:05 +00:00
Max Horn
9470c9f661 changed & documented the premixer semantics
svn-id: r10294
2003-09-18 16:01:33 +00:00
Torbjörn Andersson
3342a20578 Extend the ALSA version check to look at SND_LIB_MAJOR as well. They're
bound to hit 1.0 any year now.

Of course, this is completely untested.

svn-id: r10288
2003-09-18 07:27:48 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
925ddb1b86 moved declaration of error/warning/debug from engine.h to util.h
svn-id: r10151
2003-09-10 12:23:42 +00:00
Ruediger Hanke
191c4b9b8e use startup message, avoid possible race condition on exit
svn-id: r9833
2003-08-23 18:03:17 +00:00
Jochen Hoenicke
d1391b8f2d Changed adlib note priorities for small header games
svn-id: r9746
2003-08-17 19:31:10 +00:00
Jochen Hoenicke
3b75fa8d3c Changed on_timer frequency in adlib so V3 SFX are correctly timed.
Changed V3 conversion code to adapt to the new (correct) speed.

svn-id: r9712
2003-08-15 16:40:17 +00:00
Travis Howell
124650e073 Remove debug code that shouldn't have been commit
svn-id: r9655
2003-08-13 12:16:42 +00:00
Travis Howell
b198fbc3bb Add adlib music for indy3ega/loom and adlib sfx, patch #770862
svn-id: r9649
2003-08-12 16:09:41 +00:00
Jamieson Christian
dbc42e0fb3 Revamped the GM-to-FM emulation tables.
The new tables come directly from the Adlib driver
for the original Sam & Max distro. Sam & Max using
Adlib should now sound essentially identical to
the original distro ("a few more tests"), and other
games without specific Adlib support, such as Simon,
should sound a whole lot closer to the GM tonality.
Percussion support is now comprehensive for Sam & Max
and a lot more thorough for other games.

svn-id: r9605
2003-08-08 12:06:14 +00:00
Jamieson Christian
154e872d5a Added generic send() option to MidiChannel.
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-08 11:54:24 +00:00
Max Horn
75db41750e getting rid of g_mixer; removing lots of whitespace
svn-id: r9527
2003-08-05 23:58:24 +00:00
Max Horn
c431e229b3 removing whitespace
svn-id: r9526
2003-08-05 23:57:37 +00:00
Ruediger Hanke
c99f6980c7 Hotfixes ...
svn-id: r9514
2003-08-05 18:18:26 +00:00
Travis Howell
318a6dc408 Rvert this non-smallheader adlib change
svn-id: r9491
2003-08-05 12:43:03 +00:00
Travis Howell
8bf012d966 Add adlib music improvements for indy3/monkeyega/monkeyvga and cleanups from patch #770862
svn-id: r9480
2003-08-05 05:21:57 +00:00
Jamieson Christian
f6984add8f Fixed unit'd var in Adlib driver
svn-id: r9195
2003-07-26 19:52:34 +00:00
Ruediger Hanke
5c9ebd053e Some MorphOS port fixes
svn-id: r9136
2003-07-22 22:30:16 +00:00
Max Horn
b05e7de7bb replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jamieson Christian
c4455fc0fd Fix for OOB Adlib frequencies
svn-id: r8907
2003-07-11 10:47:10 +00:00