Commit Graph
351 Commits
Author SHA1 Message Date
Eugene Sandulenko e8811e7158 Oops
svn-id: r15670
2004-10-23 20:56:53 +00:00
Eugene Sandulenko 0b07a5f484 o Turn BASE_FREQ constant into variable. MT-32 has to be run in lesser time slices.
o Attempt to fix mi2, but that cure for symptom, not the cause. Under dosbox header is always valid, but here we get 0x41001612 instead of 0x41101612.

svn-id: r15669
2004-10-23 20:33:39 +00:00
Paweł Kołodziejski c10cce6af1 fixed warnings
svn-id: r15665
2004-10-23 13:39:03 +00:00
Torbjörn Andersson 879c2562e6 More cleanup. Too bored to go on.
svn-id: r15664
2004-10-23 13:23:46 +00:00
Torbjörn Andersson 62ca7b6644 Cleanup
svn-id: r15663
2004-10-23 13:17:03 +00:00
Torbjörn Andersson 4d8bc9862c Cleanup
svn-id: r15662
2004-10-23 13:02:05 +00:00
Torbjörn Andersson 07a6802dff Cleaned up axtoi()
svn-id: r15661
2004-10-23 12:50:31 +00:00
Torbjörn Andersson 1a36eeda0e ScummVM style (partial)
svn-id: r15653
2004-10-22 15:59:11 +00:00
Max Horn 5c53a3e260 cleanup
svn-id: r15652
2004-10-22 15:56:39 +00:00
Torbjörn Andersson bf588c163f ScummVM style.
svn-id: r15651
2004-10-22 15:48:56 +00:00
Torbjörn Andersson a4eb97da4c Replaced the Bit* data types with ScummVM's int* and uint* types. The
64-bit type has been renamed int64 and uint64. As a consequence, bug
#1051999 (the MinGW compilation problems) is now fixed.

svn-id: r15650
2004-10-22 15:39:28 +00:00
Torbjörn Andersson e88cd31e4d Indentation
svn-id: r15646
2004-10-22 10:24:48 +00:00
Torbjörn Andersson 8e1481ae8f Fixed warning. Hopefully without breaking anything.
The __int64 problem remains, though.

svn-id: r15645
2004-10-22 10:13:18 +00:00
Travis Howell 3843b6cb02 Correction for mingw compile
svn-id: r15644
2004-10-22 09:38:11 +00:00
Max Horn 5c87bcafa6 Fix sign warnings
svn-id: r15638
2004-10-21 23:03:09 +00:00
Eugene Sandulenko 9d0b746aaa Patch #1048326 Better MT-32 support
svn-id: r15635
2004-10-21 22:37:37 +00:00
Max Horn 72df42e047 Fix for bug #1049937 (FOA: Regression in Adlib music)
svn-id: r15618
2004-10-19 23:03:04 +00:00
Torbjörn Andersson 61e438df22 Made the calculation of _samples_per_tick a bit less prone to arithmetic
overflow. It failed if the output rate was 44100 Hz. (It didn't use to, but
somewhere along the line an unsigned value was changed to a signed. This
seemed like a better fix, though.)

svn-id: r15610
2004-10-19 08:47:10 +00:00
Max Horn 82a3d09a65 Fix warning
svn-id: r15593
2004-10-17 19:34:43 +00:00
Max Horn 267144e69c added MidiDriver_Emulated base class used by the adlib & ym2612 midi 'drivers'
svn-id: r15589
2004-10-17 17:49:45 +00:00
Max Horn 649eb19a3e Cleanup
svn-id: r15588
2004-10-17 17:12:35 +00:00
Max Horn bdf66b1a07 Make use of the new setupPremix variant (i.e. use an AudioStream subclass instead of a premix proc)
svn-id: r15523
2004-10-11 22:19:22 +00:00
Chris Apers 2ca4529bba Use common PI value instead
svn-id: r15435
2004-10-06 10:14:31 +00:00
Chris Apers 951131e7c2 Zodiac midi driver
svn-id: r15028
2004-09-12 11:14:14 +00:00
Max Horn 759cd67de5 cleanup of TimerProc mess
svn-id: r14683
2004-08-22 13:27:34 +00:00
Jonathan Gray d1616e1cb5 Add passthrough ability. Patch by Christian Schoenebeck with slight modifications
svn-id: r14354
2004-07-27 13:21:52 +00:00
Torbjörn Andersson 578b87b856 Reverted to the old random_nr() function. This appears to have been the
cause of bug #916886: Calling getRandomNumber(-1) causes ScummVM to crash,
while calling random_nr(-1) doesn't. We may still want to replace it with
getRandomNumber() later, of course.

svn-id: r13341
2004-03-19 07:36:20 +00:00
Max Horn 1b537be8d4 Patch #902111: Change remaining random function calls to use RandomSource
svn-id: r13262
2004-03-13 18:44:10 +00:00
Max Horn d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Chris Apers 2420bf2900 Prepare Zodiac MIDI support
svn-id: r12734
2004-02-05 13:56:39 +00:00
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