Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
b12ebf7218
Fixed sysEx buffer sizes.
...
svn-id: r35192
2008-11-30 13:03:43 +00:00
Johannes Schickel
2ebe04ac3e
- Extended MidiDriver::sysEx to allow 264 byte sysEx messages
...
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.
svn-id: r35180
2008-11-30 04:42:30 +00:00
Max Horn
f32be87633
Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
...
svn-id: r34906
2008-11-05 17:24:56 +00:00
Max Horn
31320430de
Partial commit of patch #2012839 : Atari Patch for adding Native MIDI and Fix Compile
...
svn-id: r34194
2008-08-27 18:52:21 +00:00
Torbjörn Andersson
4e66938e8c
Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with a
...
slight modification to the README changes. (I don't know how to interpret all
the output from aconnect, so I'm only documenting "the most important bit".)
svn-id: r33648
2008-08-05 21:43:10 +00:00
Max Horn
0860df5d0e
Fixed code formatting
...
svn-id: r33056
2008-07-14 07:54:18 +00:00
Jordi Vilalta Prat
256036d4af
Fixed ALSA's invalid port error message
...
svn-id: r32698
2008-06-14 04:52:10 +00:00
Jordi Vilalta Prat
8eac356946
Added initial interface to list music devices and their types
...
svn-id: r32695
2008-06-13 16:04:43 +00:00
Jordi Vilalta Prat
177993b145
Renamed MIDI plugins to Music plugins
...
svn-id: r32693
2008-06-13 14:30:47 +00:00
Max Horn
8d0766f4f7
Hack to disable 'depracted' warnings on OS X 10.5
...
svn-id: r32173
2008-05-18 17:20:59 +00:00
Max Horn
ebe1009335
Fixed QuickTime MIDI plugin
...
svn-id: r32127
2008-05-14 21:28:55 +00:00
Jordi Vilalta Prat
eb6c809d2b
- Added more information (ID and capabilities) to the MIDI drivers
...
- Added the MidiPlugin interface to the remaining MIDI drivers
- Added an initial MidiManager to handle the MIDI plugins (just static plugins by now)
svn-id: r32117
2008-05-14 14:56:29 +00:00
Jordi Vilalta Prat
d942fd42bb
Moved midiplugin.h to sound/ since it will be used for more than just the native MIDI drivers.
...
svn-id: r32097
2008-05-14 05:47:29 +00:00
Max Horn
d123c67174
Fix QuickTime MIDI driver compilation
...
svn-id: r32038
2008-05-11 21:28:51 +00:00
Filippos Karapetis
d6fafb4ad1
Fixed compilation under windows
...
svn-id: r32010
2008-05-11 10:52:58 +00:00
Jordi Vilalta Prat
d696ed6ea2
Added the MidiPlugin interface (first step towards the MIDI plugins)
...
svn-id: r31993
2008-05-11 02:10:05 +00:00
Johannes Schickel
600ab40bca
Changed all delete [] usages to delete[].
...
svn-id: r31927
2008-05-07 14:31:45 +00:00
Max Horn
05b159609b
Removed remaining traces of the dead MorphOS backend, which itself was removed about one year ago
...
svn-id: r31114
2008-03-12 18:42:47 +00:00
Max Horn
b434f189bc
Switched CoreAudio MIDI driver to use AudioUnit v2 API (results in better Leopard support/performance, it seems, at least in Exult)
...
svn-id: r31113
2008-03-12 18:38:03 +00:00
Jordi Vilalta Prat
065f8f5419
Automatic device detection for CAMD.
...
svn-id: r30911
2008-02-20 19:35:00 +00:00
Jordi Vilalta Prat
672a508bdd
Added CAMD MIDI driver for AmigaOS4
...
svn-id: r30910
2008-02-20 17:07:58 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
2222b947ba
WORKAROUND bug #1870304 : Solaris does not provide INADDR_NONE
...
svn-id: r30467
2008-01-13 12:54:13 +00:00
Max Horn
33b2a4083d
Fix dmedia.cpp to not use stdafx (likely fixes building on IRIX)
...
svn-id: r30151
2008-01-02 13:31:16 +00:00
Torbjörn Andersson
ceffb6d2be
Changed "if( ... )" to "if ( ... )" and "while( ... )" to "while ( ... )", and
...
removed an unnecessary \n.
svn-id: r29379
2007-11-02 16:55:09 +00:00
Max Horn
8eb73f2694
Patch #1815526 : Add TiMidity++ MIDI server support
...
svn-id: r29377
2007-11-02 16:01:52 +00:00
Max Horn
5a07c3c552
Patch #1804801 : DMedia MIDI driver for IRIX
...
svn-id: r29142
2007-09-30 12:12:22 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
4cc9d17c34
Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
...
svn-id: r28890
2007-09-11 09:20:39 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Chris Apers
532311576e
Fixed compilation
...
svn-id: r26698
2007-05-01 09:58:44 +00:00
Chris Apers
3aee6e3f8e
Fixed sysEx function
...
svn-id: r26696
2007-05-01 09:51:53 +00:00
Nicola Mettifogo
1e985051a9
reduced dependency from windows-specific header files
...
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn
eeda548204
Explicitly #include fcntl.h and unistd.h for the open/write/close syscalls
...
svn-id: r26026
2007-03-08 20:42:40 +00:00
Max Horn
8778f121e2
Replaced uses of fprintf() with warning() or error()
...
svn-id: r26022
2007-03-08 17:23:19 +00:00
Max Horn
4db72c8762
Unified how we deal with (and how we generate) MIDI sysex messages -- in particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class)
...
svn-id: r25630
2007-02-16 13:30:41 +00:00
Torbjörn Andersson
a3ea44fd48
Some updates (mostly guesswork) for the ALSA MIDI driver, mostly prompted by
...
Waxworks (Simon engine). See http://www.borg.com/~jglatt/tech/midispec.htm for
reference.
* Added case for Aftertouch (Key Pressure).
* Changed Channel Pressure to flush the event immediatley. The message could
apply to notes while they are playing.
* Downgraded the error for unknown MIDI messages to a warning, and clarified it
slightly.
svn-id: r23949
2006-09-20 17:16:58 +00:00
Chris Apers
8922513d9f
Fixed compilation
...
svn-id: r23913
2006-09-17 10:08:16 +00:00
Max Horn
04709491f7
Avoid using exceptions
...
svn-id: r21894
2006-04-14 23:21:59 +00:00
Max Horn
e4930bd96d
Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead
...
svn-id: r21605
2006-04-04 21:45:13 +00:00
Max Horn
8cdee5a931
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
...
svn-id: r21500
2006-03-29 15:59:37 +00:00
Oystein Eftevaag
c3d8674a26
Adds support for building on Intel Macs, using a modified
...
version of patch 1448395 by Aubin and some of my
own changes.
Notably:
* Two elements of a struct in backends/midi/quicktime.cpp
needed to be forced to BE.
* NASM set to build Mach-O binaries
* configure now checks for Altivec support on Darwin hosts,
instead of assuming it. Altivec support can also be disabled (not 100% sure if t
his is actually needed, but might be handy for crosscompiling).
* The aliasing of the symbols contained in the .asm files
done on Windows were also needed on MacOS.
Note that while the asm code is properly compiled and linked
in, HQ2/3x support will still not work properly on Intel macs
if NASM is enabled.
svn-id: r21280
2006-03-14 12:18:04 +00:00
Eugene Sandulenko
233c2a42f9
WIP of maemo port
...
svn-id: r21055
2006-03-04 01:32:04 +00:00
Torbjörn Andersson
278d0de012
Fixed compilation.
...
svn-id: r20953
2006-02-27 07:18:49 +00:00
Jamieson Christian
2469e00248
SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
...
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers.
svn-id: r20952
2006-02-27 01:59:07 +00:00
Willem Jan Palenstijn
2d2258f596
clear ALSA event structure before use
...
svn-id: r20951
2006-02-27 00:01:29 +00:00
Max Horn
a161b09728
Moved dummy MIDI driver from backends/ to sound/ (this fixes bug #1435221 )
...
svn-id: r20878
2006-02-25 14:45:31 +00:00
Chris Apers
0a5cd1ce98
Disable Adlib on PalmOS 68k devices
...
svn-id: r20575
2006-02-11 19:01:06 +00:00
Max Horn
cbb2ca005c
Change CVS keywords to SVN keywords
...
svn-id: r20535
2006-02-11 12:47:47 +00:00
Max Horn
0ad58cdb95
Removed .cvsignore files
...
svn-id: r20424
2006-02-07 22:50:14 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Max Horn
549c6ea871
Fixed the CoreMIDI driver -- MT-32 now sounds perfect under Mac OS X :-)
...
svn-id: r19860
2005-12-30 14:41:25 +00:00
Max Horn
93bef2e0be
Switched the CoreAudio driver to use an AUGraph; this simplifies things a lot and should also cope with the user switching the default output device while ScummVM is running
...
svn-id: r19835
2005-12-26 20:54:24 +00:00
Max Horn
fcf1af2ffc
New CoreMIDI midi backend for OS X
...
svn-id: r19832
2005-12-26 11:18:25 +00:00
Jonathan Gray
25794c23e2
Default to /dev/sequencer before /dev/null if no MIDI device
...
is specified.
svn-id: r19480
2005-11-06 01:23:40 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8a59ff208c
Fix more GCC 4.0 warnings
...
svn-id: r18533
2005-07-11 00:48:27 +00:00
Max Horn
bf507bfa11
cleanup
...
svn-id: r18484
2005-07-02 13:01:59 +00:00
Max Horn
9d00744954
Small fixes
...
svn-id: r18483
2005-07-02 12:54:53 +00:00
Max Horn
7970562356
Hackish native MIDI HW support for Mac OS X (incomplete)
...
svn-id: r18481
2005-07-02 12:52:30 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
28e40b33a7
Add a comment regarding use of CoreAudio/AudioUnits v1 API
...
svn-id: r17916
2005-05-05 11:57:52 +00:00
Max Horn
3ea96a13a0
If we don't want to use reverb, then at least disable it properly, not via a bad hack
...
svn-id: r17671
2005-04-18 18:02:07 +00:00
Max Horn
5c48717dd2
Remove some more header dependencies
...
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
fec3df2096
Moved the softsynth midi drivers into a sound/softsynth; amongst other things, this fixes bug #1083058
...
svn-id: r16316
2004-12-25 18:34:44 +00:00
Max Horn
f09293b22c
Clean up OSystem::Event
...
svn-id: r15990
2004-12-05 17:42:20 +00:00
Jerome Fisher
470a83e024
Synched with upstream (Munt 0.1.1).
...
Memory timbres are now loaded into the correct location again, and reaching the end of a PCM sample has been improved. The latter change is probably the only one relevant to ScummVM, and even that is unlikely to be audible.
svn-id: r15972
2004-12-02 23:00:15 +00:00
Jerome Fisher
e757242937
- Fixed uninitialised reverb level. This bug took embarrassingly long to find...
...
svn-id: r15962
2004-11-29 02:21:35 +00:00
Jerome Fisher
e61e0f27a0
- Now actually read and write the 4 bytes of tuning frequency info in the header.
...
svn-id: r15961
2004-11-29 01:05:15 +00:00
Max Horn
10dd548b85
Changed parameter order of SoundMixer::playInputStream to match that of playRaw
...
svn-id: r15950
2004-11-28 23:02:28 +00:00
Jerome Fisher
1f56326bd5
- Now sets the palette earlier, and only once.
...
svn-id: r15948
2004-11-28 22:23:13 +00:00
Jerome Fisher
87fc0548f9
- Now sets itself as a "permanent" mixer channel.
...
svn-id: r15947
2004-11-28 22:17:06 +00:00
Eugene Sandulenko
1947aa48ac
Initialize palette for the progress bar
...
svn-id: r15945
2004-11-28 21:31:46 +00:00
Jerome Fisher
6c84bbf2bd
- Cleanup.
...
- Signedness fix.
- Changed partial age to 32-bit... They don't exactly run until the heat-death of the universe.
svn-id: r15943
2004-11-28 21:08:37 +00:00
Max Horn
3da8e08c0c
Fixed various warnings
...
svn-id: r15939
2004-11-28 13:10:57 +00:00
Max Horn
540ba778e9
fixed an unsigned comparision warning (does this code really do what you intended it to do?)
...
svn-id: r15938
2004-11-28 13:09:02 +00:00
Max Horn
3225ae0203
const correctness fix
...
svn-id: r15937
2004-11-28 13:08:23 +00:00
Jerome Fisher
6d255be202
- More cleanup.
...
- Another tuning tweak. Sounds better to my ear, but still guesswork.
svn-id: r15934
2004-11-28 07:25:18 +00:00
Jerome Fisher
c5915d19d0
- Now really use g_scummfont everywhere.
...
svn-id: r15933
2004-11-28 07:08:54 +00:00
Jerome Fisher
2a3b7efc3d
- Now uses g_scummfont instead of g_sysfont.
...
- Added default case to event switch to eliminate compiler warning.
svn-id: r15932
2004-11-28 07:07:15 +00:00
Jerome Fisher
2149e0fc78
- Cleanup. Still waiting for a real MT-32 to check PCM tuning.
...
svn-id: r15931
2004-11-28 06:03:23 +00:00
Jerome Fisher
39817f91b3
- Tweaked tuning.
...
svn-id: r15930
2004-11-28 05:42:12 +00:00
Jerome Fisher
077d19f500
- Added graphical representation of initialisation progress. This is quite hacky.
...
- Initialisation is now interruptible.
- All data is now loaded from MT32_CONTROL.ROM. drumpat.rom, Preset1.syx, Preset2.syx and patchlog.cfg are no longer used.
- Major cleanup. In particular, separated Rhythm part into a new class, instead of dealing with it as a special case everywhere.
- Improved accuracy of pitch key-follow.
- Recaching now happens lazily.
- Changed some right-shifts to divs, due to the former not being arithmetic on some architectures.
- Setting "MT32EMU_ACCURATENOTES" to 1 will generate lookup tables for the exact frequency of every note played. Not recommended.
- Several small bugs fixed.
svn-id: r15929
2004-11-28 05:35:07 +00:00
Max Horn
1a7ca2dc2a
AudioStream::read() has been removed quite some time ago, now making sure that change is reflected everywhere
...
svn-id: r15911
2004-11-27 13:54:09 +00:00
Jerome Fisher
ea79c9c5e7
- Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, which don't seem to be supported).
...
svn-id: r15830
2004-11-19 01:39:16 +00:00
Max Horn
525df7cff0
const const const
...
svn-id: r15825
2004-11-15 23:33:06 +00:00
Jerome Fisher
f08482d0ce
- Now uses playInputStream to add a channel to the mixer, instead of setting the premixer. There can be only one, and this conflicted with Adlib in multi_midi mode.
...
svn-id: r15821
2004-11-15 12:39:08 +00:00
Torbjörn Andersson
73afa3165b
This has to be a typo.
...
svn-id: r15809
2004-11-14 14:58:39 +00:00
Eugene Sandulenko
2fb46f1b95
Make #pragma pack really multiplatform. Old code didn't work on
...
non-Win32 platforms.
svn-id: r15805
2004-11-14 11:46:29 +00:00
Jerome Fisher
504d54e8ab
- Huge cleanup of LUT stuff.
...
- No longer stores a sawtooth waveform twice, once with each sample negated.
- More graceful handling of truncated waveformcache files.
- Fixed tuning of patterns for non-32KHz sample rates (needs checking).
- Note: Waveform cache format changed, will automatically be rebuilt.
svn-id: r15804
2004-11-14 08:04:56 +00:00
Jerome Fisher
0ed79dfad7
- Prettied up, fixed sign-extension bug.
...
svn-id: r15803
2004-11-14 07:54:43 +00:00
Jerome Fisher
a158e884a0
- More cleanup.
...
- Note-on MIDI commands outside the range 12-108 are now raised/lowered by octaves until in range (instead of being ignored).
svn-id: r15802
2004-11-14 04:40:12 +00:00
Jerome Fisher
1aeca6838b
MT32 MidiDriver:
...
- Cleanup
MT32Emu:
- Lots more cleanup.
- Properly implemented pitch bending (not fast, but theoretically perfect).
- Full position delta is now calculated before PCM interpolation/decimation is performed, so that pitch modifiers will be considered.
- Now reports when using SSE or 3DNow, and when the samplerate is invalid.
svn-id: r15801
2004-11-14 04:13:15 +00:00
Jerome Fisher
5e442766e5
MT32 MidiDriver:
...
- Channels now ignore effectLevel() and chorusLevel(), instead of sending unsupported control change messages to MT32Emu (they're not supported in a real MT-32, either, according to docs).
- Implemented setPitchBendRange() by sending a sysex write command to adjust the patch.
- _outputRate is now hard-coded at 32000, until tuning can be fixed for other sample rates.
MT32EMu:
- Extended File interface to deal with reading/writing 16/32-bit values endian-independently (they're always big-endian on file).
- Improved usage of packing-related pragmas.
- Should now be endian-agnostic (without depending on #defines for the endianness).
svn-id: r15800
2004-11-13 19:24:37 +00:00
Paweł Kołodziejski
22afdfc5c9
renamed file mt32
...
svn-id: r15794
2004-11-12 11:32:35 +00:00
Paweł Kołodziejski
6f8f614893
renamed file mt32
...
svn-id: r15793
2004-11-12 11:09:47 +00:00
Jerome Fisher
e4f600ee48
- Minor improvement to failure handling.
...
svn-id: r15777
2004-11-10 10:50:47 +00:00
Max Horn
cbfa7e3b5c
Use the actual output rate of the sound mixer when producing MT32 audio samples -> by default only does 22.5 kHz -> it's now actually almost usable on my machine ;-). Alternative approach might be to hard code 32000 here
...
svn-id: r15775
2004-11-10 00:25:58 +00:00
Max Horn
daee2edcfe
oops
...
svn-id: r15734
2004-11-08 10:17:47 +00:00
Max Horn
79509f9383
cleanup
...
svn-id: r15733
2004-11-08 10:16:07 +00:00
Eugene Sandulenko
6d38776da0
Fix it on LE systems. SCUMM_LITTLE_ENDIAN is defined in common/scummsys.h,
...
so it's a good idea to have that included before check :)
svn-id: r15732
2004-11-08 01:17:55 +00:00
Max Horn
e759cf5522
Re-apply endian fix
...
svn-id: r15731
2004-11-07 18:25:32 +00:00
Torbjörn Andersson
6b3432a93e
Be more consistent with the other module.mk files.
...
svn-id: r15719
2004-11-06 09:26:36 +00:00
Travis Howell
b36be2d8bc
Remove stray ;
...
svn-id: r15717
2004-11-06 05:18:04 +00:00
Eugene Sandulenko
dee673d96e
Improve reporting (OSD messages, file open errors) and fix typos.
...
Forgot to mention:
o waveforms.raw is autogenerated if not present
svn-id: r15716
2004-11-06 02:20:43 +00:00
Eugene Sandulenko
805b21181a
Major MT-32 emu overhaul based on KingGuppy's code.
...
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-11-06 01:41:32 +00:00
Eugene Sandulenko
6fd31192e1
o Sync with upstream source
...
o Move back to old sawtooth filter, which sounds better
svn-id: r15683
2004-10-24 19:21:38 +00:00
Torbjörn Andersson
53d1021985
More cleanup. Too bored to continue now.
...
svn-id: r15682
2004-10-24 15:04:19 +00:00
Torbjörn Andersson
22581c3c10
More cleanup.
...
svn-id: r15681
2004-10-24 14:50:34 +00:00
Eugene Sandulenko
7b84693125
o Check size of waveforms.raw so output rate could be adjusted
...
o Eliminate rom_path, as we use our File class
svn-id: r15679
2004-10-24 13:03:42 +00:00
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