Torbjörn Andersson
9eecc9406d
16-bit WAVs are little-endian.
...
svn-id: r16539
2005-01-11 08:30:28 +00:00
Torbjörn Andersson
13e2c224c8
This is probably not the optimal fix, but at least ScummVM compiles again.
...
svn-id: r16538
2005-01-11 08:06:19 +00:00
Max Horn
ec79a9a768
A little more moving around #include's (last one for today ;-)
...
svn-id: r16534
2005-01-10 22:51:42 +00:00
Max Horn
f030081647
eek, we put a static RandomSource instance into every file that included fmopl.h...
...
svn-id: r16532
2005-01-10 22:46:23 +00:00
Max Horn
5c48717dd2
Remove some more header dependencies
...
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
cffd917165
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
...
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
51112e49b5
Fix legal header
...
svn-id: r16506
2005-01-09 16:14:56 +00:00
Max Horn
9cea3d393f
Added shared code to load WAV(E) data from arbitrary seekable streams (files or memory)
...
svn-id: r16502
2005-01-09 15:49:43 +00:00
Max Horn
eeea238ef7
This function is currently not used...
...
svn-id: r16501
2005-01-09 15:48:47 +00:00
Max Horn
0fb2bd30f4
cleanup
...
svn-id: r16500
2005-01-09 15:48:27 +00:00
Max Horn
32f0dbdcb2
Moving AppendableAudioStream into SCUMM engine, as it is only used there
...
svn-id: r16494
2005-01-09 03:15:59 +00:00
Max Horn
c6e0d31e76
Added a font manager (work in progress)
...
svn-id: r16460
2005-01-06 21:15:52 +00:00
Max Horn
5d88c39549
Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133 )
...
svn-id: r16454
2005-01-06 18:38:34 +00:00
Travis Howell
ab432327d8
Add missing control changes, patch #1094825 .
...
svn-id: r16416
2005-01-03 11:33:12 +00:00
Max Horn
74bf578bda
Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
...
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
f52be9df68
Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
...
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
b15d92e470
Fix running ScummVM in plugin-mode
...
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
160a28e912
Fixing hasActiveChannelOfType
...
svn-id: r16354
2004-12-28 11:19:36 +00:00
Max Horn
48e70acbaa
Use SoundMixer::kMaxMixerVolume
...
svn-id: r16351
2004-12-27 23:58:04 +00:00
Max Horn
bc882a1af4
Introduced two new constants SoundMixer::kMaxChannelVolume and SoundMixer::kMaxMixerVolume, for clarity
...
svn-id: r16348
2004-12-27 23:33:19 +00:00
Max Horn
357eb38b49
Allow premix channels to use a custom sound type
...
svn-id: r16332
2004-12-27 02:58:55 +00:00
Max Horn
f15f517bb4
Add 'speech' sound type to mixer; make use of that in iMuse Digital
...
svn-id: r16331
2004-12-27 01:32:40 +00:00
Max Horn
67b311713d
Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
...
svn-id: r16330
2004-12-27 00:27:00 +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
433711be5e
Removing this dead code for now, it only leads to confusion
...
svn-id: r16314
2004-12-25 18:22:55 +00:00
Max Horn
59b6a07826
Evil workaround for bug #1083058
...
svn-id: r16045
2004-12-14 01:02:55 +00:00
Max Horn
3891c0fa39
change loadVOCFromStream to take a reference instead of a pointer (to a stream)
...
svn-id: r16035
2004-12-11 23:34:34 +00:00
Max Horn
5d5a13eec7
Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
...
svn-id: r15968
2004-12-02 00:33:42 +00:00
Max Horn
d6d3e5422b
cleanup
...
svn-id: r15955
2004-11-28 23:24:32 +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
45d92a02f4
Added a "permanent" field to Channels, which simply prevents them from being deleted during stopAll().
...
I hope this doesn't step on anyone's toes; it was quite urgent, since loading a saved game stopped MT-32 emulation audio forever.
svn-id: r15946
2004-11-28 22:15:09 +00:00
Max Horn
f6b495c8bc
Assume for now that the premixer is always used for music playback (as opposed to being used for SFX); this affects the volume (see bug #1049375 )
...
svn-id: r15940
2004-11-28 13:57:49 +00:00
Max Horn
c51b1266c0
Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; SCUMM now uses the appendable stream directly
...
svn-id: r15919
2004-11-27 17:09:05 +00:00
Max Horn
573e02bb4c
Removed the old setupPremix version, it is not needed anymore. Also fixed some doxygen comments (they were being assigned to the wrong things)
...
svn-id: r15918
2004-11-27 16:26:54 +00:00
Max Horn
ba74a8e7f6
Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
...
svn-id: r15914
2004-11-27 15:58:18 +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
Max Horn
96804652a2
cleanup
...
svn-id: r15863
2004-11-22 22:52:48 +00:00
James Brown
4aa5649c1e
Erm, this was never meant to be commited. I might as well leave the .h change for now, until kyra is investigated further.
...
svn-id: r15788
2004-11-11 14:19:38 +00:00
James Brown
cb4b3c1f7e
Prevent infinite loop by displaying the launcher after a game start FAILURE too.
...
svn-id: r15787
2004-11-11 14:01:11 +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
775bd838c7
Delegate channel functions to any MidiDriver. This is useful for the
...
MT-32 emulation and quite possibly other MidiDrivers in future.
svn-id: r15711
2004-11-04 21:34:17 +00:00
Max Horn
5f4575ccd0
Doxygen fixes
...
svn-id: r15699
2004-10-30 21:52:57 +00:00
Paweł Kołodziejski
c10cce6af1
fixed warnings
...
svn-id: r15665
2004-10-23 13:39:03 +00:00
Chris Apers
dc02e95cd7
Prepare true AdLib support on PalmOS
...
svn-id: r15649
2004-10-22 12:11:24 +00:00
Eugene Sandulenko
9d0b746aaa
Patch #1048326 Better MT-32 support
...
svn-id: r15635
2004-10-21 22:37:37 +00:00
Max Horn
697da0eb9b
Add comment
...
svn-id: r15595
2004-10-17 19:39:54 +00:00
Max Horn
9f4bf02c1e
Fix playback of MP3 files till EOF in some cases
...
svn-id: r15587
2004-10-17 13:49:11 +00:00
Max Horn
1036e88aa6
Implement premix proc via an AudioStream / Channel (eventually we'll remove the setupPremix method which takes a proc pointer)
...
svn-id: r15522
2004-10-11 22:01:21 +00:00