Paweł Kołodziejski
1f99fbe77c
cleanup whitespaces
...
svn-id: r11221
2003-11-08 23:05:04 +00:00
Travis Howell
a5498d2102
Correct voc rate in DOTT demo
...
svn-id: r11186
2003-11-07 11:11:06 +00:00
Max Horn
4c833ba23e
fix invalid typo fixes ;-) (BTW did anybody get comit mails for khalek's changes? I didn't)
...
svn-id: r11183
2003-11-07 09:38:06 +00:00
Jonathan Gray
b2e9b73c4c
spelling fixes
...
svn-id: r11180
2003-11-07 02:43:47 +00:00
Joost Peters
6fc0cd7913
whatever
...
svn-id: r10959
2003-10-25 01:11:14 +00:00
Joost Peters
3ad14b06f5
added extra flag to mixer so we don't use free() on new'd pointers
...
svn-id: r10958
2003-10-24 23:09:01 +00:00
Max Horn
7eab653832
cleanup
...
svn-id: r10894
2003-10-18 13:04:59 +00:00
Max Horn
33f2fbff08
We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now
...
svn-id: r10883
2003-10-18 00:22:46 +00:00
Max Horn
ad2db08940
renamed some Timer methods
...
svn-id: r10868
2003-10-17 16:39:32 +00:00
Max Horn
c11ebb33b6
cleanup
...
svn-id: r10718
2003-10-10 12:12:56 +00:00
Max Horn
9f537f4b8c
clarification: premixer must use native endianess
...
svn-id: r10621
2003-10-05 17:42:55 +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
d4734bd4f2
use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
...
svn-id: r10592
2003-10-04 11:50:21 +00:00
Max Horn
ad293a5ab8
cleanup / doxygenification
...
svn-id: r10578
2003-10-03 23:34:06 +00:00
Max Horn
88de9a21ae
undo aquadran's recent changes here. If this doesn't compile on MSVC7, fine, simply remove it from your project file - it's not supposed to be compiled ATM
...
svn-id: r10564
2003-10-03 10:30:33 +00:00
Paweł Kołodziejski
f0fae232b9
fixed compilation under msvc7
...
svn-id: r10562
2003-10-03 07:45:41 +00:00
Max Horn
bb6765f85d
cleanup & restructuring; in particular move the midi driver list to its own source file
...
svn-id: r10550
2003-10-02 22:52:57 +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
4dcb829e78
Timer services are now available through g_timer, so
...
you don't have to go through the Engine to get to them.
svn-id: r10450
2003-09-27 23:59:00 +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
a4675f34a7
work around silly bug in Microsoft Visual Studio .NET 2003. M$ does not stop at breaking HTML and Java, no, now they have to mutilate C/C++, too. MS-C instead of ANSI-C, anybody? *grmbl*
...
svn-id: r10319
2003-09-19 21:29:59 +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
Max Horn
231cb16b5b
some tweaks to the build system (work toward plugin support)
...
svn-id: r10279
2003-09-17 21:53:13 +00:00
Torbjörn Andersson
bc90c04c25
Don't call the premix function when the mixer is paused. (This is
...
particularly noticeable in games with PC speaker emulation, but I could
hear faint noises in AdLib music as well.)
svn-id: r10262
2003-09-16 07:06:17 +00:00
Max Horn
9e88df9e16
some (untested!) support for backends which require unsigned audio samples
...
svn-id: r10183
2003-09-11 22:57:06 +00:00
Max Horn
c0e2d2be66
fixed module.mk
...
svn-id: r10155
2003-09-10 12:41:14 +00:00
Max Horn
eae239394c
moved declaration of error/warning/debug from engine.h to util.h; added voc.cpp
...
svn-id: r10150
2003-09-10 12:19:57 +00:00
Travis Howell
123c9035cf
Up debug level of this warning, since it floods output in loom
...
svn-id: r10131
2003-09-09 13:23:09 +00:00
Max Horn
555dae9fee
map 0xA5 to 11025 Hz, too
...
svn-id: r10129
2003-09-09 12:36:41 +00:00
Max Horn
2c67f7b32f
map 0xD3 in VOC headers to 22050 Hz, too
...
svn-id: r10128
2003-09-09 12:34:13 +00:00
Max Horn
ef373fe2e8
start to use code from the original resample codebase, since it uses fixed point math instead of float; however, the code is not at all complete right now, I just commit this to get it off my HD (neither the old nor the new code in resample.cpp work anyway)
...
svn-id: r10089
2003-09-08 15:32:37 +00:00
Max Horn
ea461dfc3c
new header file for VOC specific stuff
...
svn-id: r10072
2003-09-07 20:23:38 +00:00
Max Horn
0be0196013
removed pauseMixer method from mixer, and renamed stop to stopChannel
...
svn-id: r10042
2003-09-06 10:47:30 +00:00
Max Horn
eac128f011
optimized channel volume/pan handling
...
svn-id: r10028
2003-09-05 23:27:11 +00:00
Max Horn
3aa8454efa
moved the sound ID param in playRaw before volume/pan
...
svn-id: r10023
2003-09-05 22:09:56 +00:00
Max Horn
caf8e8f5fc
oops
...
svn-id: r10021
2003-09-05 21:18:44 +00:00
Max Horn
06b6ff9a44
added default volume/pan values
...
svn-id: r10019
2003-09-05 21:06:32 +00:00
Max Horn
11193b0746
cleaned up sound/mixer.h a bit; renamed some mixer methods for consistency
...
svn-id: r10018
2003-09-05 20:48:32 +00:00
Paweł Kołodziejski
7bc63a0ce3
fixes for uninitialized pan and volume
...
svn-id: r9998
2003-09-05 06:22:10 +00:00
Jonathan Gray
e17a451ac5
remove shadow'd var by using variable name from prototype
...
svn-id: r9979
2003-09-02 22:38:53 +00:00
Paweł Kołodziejski
7c4e678a87
moved volume and pan control into flow func
...
svn-id: r9976
2003-09-02 20:34:22 +00:00
Torbjörn Andersson
4b49daf3ff
Fixed compiler warning that I introduced earlier.
...
svn-id: r9974
2003-09-02 16:51:51 +00:00
Torbjörn Andersson
f486997822
Added per-channel pausing. Maybe I should have named the pauseChannel()
...
function simply pause() to be consistent with stop(), but there already is
a pause() function and I don't want to have two functions with the same
name doing different things. (The current pause() function pauses all
channels.)
svn-id: r9968
2003-09-02 13:48:20 +00:00
Paweł Kołodziejski
db18d4657c
forgot this
...
svn-id: r9957
2003-09-01 14:02:45 +00:00
Chris Apers
e6a0261c7e
The channel could be destroyed so changeVolumeAndPan can't access it in that case
...
svn-id: r9955
2003-09-01 10:12:28 +00:00
Paweł Kołodziejski
82fea49671
added comments:
...
volume: 0 - 127
pan: (-127 <-> 0 <-> 127) (left <-> center <-> right)
svn-id: r9945
2003-08-31 20:36:53 +00:00
Paweł Kołodziejski
2533b23a60
added mixer features: volume and pan control per channel
...
svn-id: r9944
2003-08-31 20:26:21 +00:00
Torbjörn Andersson
f72681b10a
Made PlayingSoundHandle unsigned again, since the mixer change was
...
reverted.
svn-id: r9930
2003-08-30 20:36:44 +00:00