Jochen Hoenicke
86cd961b72
Fix Bug #1163202 (music never stops). Some code cleanup.
...
svn-id: r17155
2005-03-15 13:41:15 +00:00
Jochen Hoenicke
402dd115ea
Weakened the low pass filter (thanks to tbcarey who compared it with a real PCjr)
...
svn-id: r17154
2005-03-15 10:04:35 +00:00
Torbjörn Andersson
dd5e5abe49
Whitespace
...
svn-id: r17149
2005-03-15 08:20:22 +00:00
Max Horn
abd12dd1b6
Use class Mutex instead of MutexRef
...
svn-id: r16679
2005-01-28 22:05:51 +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
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
1ae87c0fbb
Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
...
svn-id: r15944
2004-11-28 21:24:02 +00:00
Max Horn
8ff15ae72c
Use modern form of setupPremix
...
svn-id: r15915
2004-11-27 16:12:11 +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
42863d5cc2
cleanup / updated some comments
...
svn-id: r15524
2004-10-11 22:27:26 +00:00
Jochen Hoenicke
e609820a5b
Clear all channel variables in clear_channel
...
svn-id: r13203
2004-03-05 14:35:16 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +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
Max Horn
ebecf1dbaa
unify _vm / _scumm usage
...
svn-id: r12262
2004-01-08 20:37:26 +00:00
Oliver Kiehl
ea154852b7
add newlines to end of files
...
svn-id: r12249
2004-01-08 13:36:26 +00:00
Chris Apers
a6f378aee2
No more needed
...
svn-id: r12245
2004-01-08 12:12:46 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Chris Apers
3f1d66cf11
PalmOS sound API cannot access globals or functions out of the first segment
...
svn-id: r11740
2003-12-18 11:47:58 +00:00
Paweł Kołodziejski
1f9e408e2f
cleanup whitespaces
...
svn-id: r11217
2003-11-08 21:59:32 +00:00
Chris Apers
3f06651bab
Moved PalmOS initializations out of namespaces.
...
svn-id: r10703
2003-10-09 14:17:06 +00:00
Max Horn
0954fc1dac
cleanup
...
svn-id: r10620
2003-10-05 17:32:38 +00:00
Max Horn
ad293a5ab8
cleanup / doxygenification
...
svn-id: r10578
2003-10-03 23:34:06 +00:00
Max Horn
d7660a2662
introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
...
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d
renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
...
svn-id: r10549
2003-10-02 22:42:03 +00:00
Jochen Hoenicke
748523dbe2
Generated signed sound samples (cf. feature request #812913 ).
...
svn-id: r10510
2003-09-30 17:10:03 +00:00
Max Horn
0c8df28387
cleanup; some more fixed need afnow that the premix proc is expected to generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2)
...
svn-id: r10312
2003-09-19 14:43:57 +00:00
Max Horn
f7d50f7c68
unify legal headers a bit here
...
svn-id: r10305
2003-09-18 19:56:38 +00:00
Max Horn
292cdb02ed
just generate the data as stereo, instead of munging the buffer at the end
...
svn-id: r10298
2003-09-18 16:15:38 +00:00
Max Horn
9470c9f661
changed & documented the premixer semantics
...
svn-id: r10294
2003-09-18 16:01:33 +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
Jochen Hoenicke
bcb87f4126
Add a new hull curve entry needed by Indy3. This fixes bug #770698 .
...
svn-id: r10230
2003-09-13 15:02:59 +00:00
Chris Apers
3156f0dd2f
Reduce PalmOS data segement
...
svn-id: r10083
2003-09-08 08:54:37 +00:00
Max Horn
1dbab0237f
cleanup/refactoring
...
svn-id: r10070
2003-09-07 19:28:45 +00:00
Max Horn
361c3b95d5
some cleanup; clarified isSoundInUse semantics and the difference between IMuse::get_sound_active and IMuse::getSoundStatus; added lots of const qualifiers to IMuse; rewrote IMuseInternal::getSoundStatus (hopefully not breaking it); added MusicEngine::getSoundStatus
...
svn-id: r10069
2003-09-07 17:14:56 +00:00
Max Horn
0012f7fa96
added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 (initial stab, more work to follow)
...
svn-id: r10066
2003-09-07 16:16:19 +00:00
Max Horn
76961a90c0
added an assert
...
svn-id: r10054
2003-09-07 00:00:35 +00:00
Jochen Hoenicke
185d563690
A different fix for Bugs item #788531 .
...
Allocate a 4th channel and map all accesses to out of bounds
channels to this channel.
svn-id: r9705
2003-08-15 12:48:47 +00:00
Jamieson Christian
c0730f6cb9
Fix for Bug [788531] Indy3VGA - Access violation with PC Speaker "travel" music
...
Checked for OOB channel clear command. The "travel" music
in question seems to try to clear channel 4 when there are
only channels 0-3. Now we check and bail if OOB.
Perhaps this isn't quite the correct thing to do. Would
channel 4 be significant, as in perhaps "clear ALL channels"?
Hoenicke should answer this one.
svn-id: r9700
2003-08-15 07:10:30 +00:00
Jochen Hoenicke
fa457b95c1
Don't create imuse for v1 and v2 games (otherwise getSoundStatus doesn't work).
...
PCjr support for V1 games, bug fix in speaker support.
set_pcjr is now called by Player_V2 constructor according to midi driver.
Renaming of member variables to begin with an underscore.
svn-id: r9692
2003-08-14 19:41:40 +00:00
Jamieson Christian
d38a028996
More monkeyvga credits fix for -epcspk/pcjr
...
svn-id: r9666
2003-08-13 17:38:05 +00:00
Jamieson Christian
2ad09e7857
Fix monkeyvga hang when using -epcspk/pcjr
...
svn-id: r9665
2003-08-13 17:18:31 +00:00
Jochen Hoenicke
fef62655f8
Fixed the freqency of one note. This bug is also in the original Lucas
...
Arts Games...
svn-id: r9648
2003-08-12 15:40:24 +00:00
Max Horn
4ae47a74bf
added support for output sample rates > 32767 (still limited to a max of 65535, but all we care about are 44100 and 48000 anyway)
...
svn-id: r9510
2003-08-05 17:52:47 +00:00
Max Horn
c10905b975
cleanup
...
svn-id: r8662
2003-06-27 00:10:17 +00:00
Max Horn
acec45a483
cleanup
...
svn-id: r8494
2003-06-15 01:00:43 +00:00
Jochen Hoenicke
f1b3e170e9
This should be the right check for header_len.
...
I first thought that old games did not have GF_SMALL_HEADER.
svn-id: r8379
2003-06-07 09:48:10 +00:00
Max Horn
86df3537b9
replaced GF_AFTER with _version
...
svn-id: r8372
2003-06-07 00:13:26 +00:00
Torbjörn Andersson
229c5bb328
I have no idea if this is right, but at least sound seems to be working
...
again in Maniac Mansion, Zak and EGA Loom.
svn-id: r8365
2003-06-06 23:22:59 +00:00
Jochen Hoenicke
ce0352eab2
Added a fix for music_timer in V3 games.
...
svn-id: r8361
2003-06-06 21:56:37 +00:00
Jochen Hoenicke
9533f5605a
Synchronize channels playing the same frequency. This prevents
...
interference effects.
svn-id: r8318
2003-06-05 08:45:24 +00:00