Torbjörn Andersson
15f9a3ce33
Some more whitespace changes.
...
svn-id: r23655
2006-08-01 14:10:46 +00:00
Torbjörn Andersson
1e9e65d5bc
Whitespace.
...
svn-id: r23654
2006-08-01 14:05:18 +00:00
Johannes Schickel
8d453f2267
Another little formatting and a typo fix.
...
svn-id: r23621
2006-07-29 23:51:43 +00:00
Johannes Schickel
43fbc9eb81
Adding comment about forced MQ on small devices.
...
svn-id: r23620
2006-07-29 23:44:09 +00:00
Johannes Schickel
1d52f836dc
Some formatting 'fixes'
...
svn-id: r23619
2006-07-29 23:42:27 +00:00
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Neil Millstone
42cebc00dc
Speed increase for DS port - uses cache ram to store SIN_TABLE. Other versions are unaffected.
...
svn-id: r23552
2006-07-22 10:56:11 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Oystein Eftevaag
ef42b9962d
Spelling and formatting
...
svn-id: r23542
2006-07-21 10:59:55 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
612ba0c2be
Some whitespace changes to see if the CIA bot is still silent.
...
svn-id: r23491
2006-07-13 14:01:48 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Max Horn
bea72e9514
Patch #1519399 : DS Backend
...
svn-id: r23452
2006-07-09 11:47:17 +00:00
Max Horn
75628fe9d7
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
...
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Torbjörn Andersson
ecfedb1e81
Cleanup. It seems unnecessary to have a "break" right after an unconditional
...
return in a switch case.
svn-id: r23198
2006-06-20 18:55:25 +00:00
Lars Persson
67d58ec4bb
Added assert to audiostream allocation since failure causes serious problems
...
svn-id: r23184
2006-06-19 21:08:34 +00:00
Travis Howell
c77ad1a24c
Rename AdlibInstrument fields
...
svn-id: r22951
2006-06-06 11:07:03 +00:00
Torbjörn Andersson
a5fc242946
Clip samp to 2047, not 2048, so that it stays positive when multiplied by 16.
...
This seems to fix sound distortion in the Inherit the Earth demo.
svn-id: r22812
2006-05-31 22:37:28 +00:00
Travis Howell
04bf129416
Fix compressed sound in makeWAVStream()
...
svn-id: r22596
2006-05-24 06:11:39 +00:00
Torbjörn Andersson
dfda0555c3
Cleanup.
...
svn-id: r22573
2006-05-23 09:46:48 +00:00
Torbjörn Andersson
2531fd5873
Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. It
...
could use some cleanup, and there are a couple of TODOs sprinkled throughout
the code, but it seems to work reasonably well. Until the Kyra 3 main menu is
implemented, it won't actually be used though.
It uses the appendable audio stream class, which I have moved out of the SCUMM
engine.
svn-id: r22526
2006-05-18 21:46:07 +00:00
Torbjörn Andersson
ccac2aea20
Whitespace changes. (Oh dear, now *I'm* forcing myself to large re-compiles.)
...
svn-id: r22413
2006-05-12 12:03:36 +00:00
Eugene Sandulenko
d2546e3979
- Updated MSVC8 project files
...
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
int <-> bool conversions.
svn-id: r22397
2006-05-09 14:16:43 +00:00
Max Horn
ccfb74431b
cleanup
...
svn-id: r22244
2006-04-30 13:40:35 +00:00
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +00:00
Travis Howell
30b4b87f58
Fix valgrind warning
...
svn-id: r22082
2006-04-22 05:48:40 +00:00
Eugene Sandulenko
ff6028b00b
- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it is
...
out of sync with video. See TODO there.
- Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams.
svn-id: r22080
2006-04-22 03:00:21 +00:00
Max Horn
ce13d8e946
cleanup
...
svn-id: r21920
2006-04-15 21:27:56 +00:00
Johannes Schickel
fac96dfb34
Fixes possible illegal writes/segfaults in compressToType0 (added a comment about the changes).
...
svn-id: r21853
2006-04-13 23:13:56 +00:00
Eugene Sandulenko
3631505437
Fix typo reported in #1469339 : "FluidSynth error typo"
...
svn-id: r21831
2006-04-12 20:36:45 +00:00
Won Star
e1bbc61bb5
GP32 uses custom version of libtremor, so update header path.
...
svn-id: r21665
2006-04-07 10:44:20 +00:00
Eugene Sandulenko
8fa9bd6728
Removed extra exclamation marks in warning() calls as well.
...
svn-id: r21608
2006-04-04 22:21:10 +00:00
Eugene Sandulenko
d292c0ec55
Since our debug() adds an exclamation mark at the message end, remove
...
it in several calls to avoid duplication!!11!
svn-id: r21607
2006-04-04 22:04:51 +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
9217472f0e
With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
...
svn-id: r21557
2006-04-02 14:16:31 +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
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
f7d16b0000
Updated/added some comments on VOC/WAVE functions
...
svn-id: r21384
2006-03-19 14:11:32 +00:00
Travis Howell
6632a4df53
Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
...
svn-id: r21376
2006-03-19 05:15:49 +00:00
Torbjörn Andersson
839b5d3e86
Added workaround in FMOPL for the pathological case where a note was turned off
...
while still at the very beginning of the "attack" phase. This is the very
lowest point on the attack curve, yet it would continue from the beginning of
the release curve, i.e. its very highest point. This is what caused Kyra to
often play low-frequency notes at the very beginning of a new song. (That, and
a truly bizarre function for initialising the channels.)
The proper fix would be to locate the correct point on the release curve and
continue from there. For now, though, only handle the trivial case.
svn-id: r21302
2006-03-14 23:01:44 +00:00
Torbjörn Andersson
59b6f0f715
Fixed a potential bug that could cause memory to be read out-of-bounds.
...
(Unfortunately, this does not fix the Kyra bug I'm looking for.)
In the most extreme case:
* DR and RR will point to &DR_TABLE[60], and AR will point to &AR_TABLE[60]
* SLOT->KSR will be 0
* CH->kcode will be 15
In that case, it will attempt to access AR[15], RR[15] and DR[15], i.e.
AR_TABLE[75] and DR_TABLE[75]. So these arrays need to be 76 elements, not 75.
We used to initialise element 75, but this was changed to 74 to match the size
of the arrays. Buf if my reasoning is correct, it was the arrays that were too
small.
svn-id: r21301
2006-03-14 20:09:32 +00:00
Eugene Sandulenko
233c2a42f9
WIP of maemo port
...
svn-id: r21055
2006-03-04 01:32:04 +00:00
Max Horn
140f6fce26
Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
...
svn-id: r21043
2006-03-03 15:51:33 +00:00
Max Horn
5833b3b0aa
It's really 'MPEG', not 'Mpeg'
...
svn-id: r21042
2006-03-03 15:46:39 +00:00
Max Horn
a836a83d84
Explain the (admittedly strange) usage of some of our makeXXXStream factory functions
...
svn-id: r21040
2006-03-03 15:36:12 +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
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
Paweł Kołodziejski
bb03e03561
fixed warnings for msvc7
...
svn-id: r20831
2006-02-23 18:11:22 +00:00