aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2006-07-23Use #include "..." instead of #include <...> for pack-start.h and pack-end.hTorbjörn Andersson
for consistency with other #includes. svn-id: r23585
2006-07-22Fix struct packing issues (macros are not resolve in #pragma params, at ↵Max Horn
least for GCC) svn-id: r23569
2006-07-22Speed increase for DS port - uses cache ram to store SIN_TABLE. Other ↵Neil Millstone
versions are unaffected. svn-id: r23552
2006-07-21Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS ↵Max Horn
now (hiya eriktorbjorn, this one is for you *ggg*) svn-id: r23547
2006-07-21Spelling and formattingOystein Eftevaag
svn-id: r23542
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-07-13Some whitespace changes to see if the CIA bot is still silent.Torbjörn Andersson
svn-id: r23491
2006-07-09Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of ↵Max Horn
checking for GCC / not GCC svn-id: r23458
2006-07-09Patch #1519399: DS BackendMax Horn
svn-id: r23452
2006-06-24Renamed class Timer to TimerManager (the old name was somewhat ↵Max Horn
incorrect/confusing) svn-id: r23278
2006-06-24* Renamed config.mak to config.mkMax Horn
* 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-20Cleanup. It seems unnecessary to have a "break" right after an unconditionalTorbjörn Andersson
return in a switch case. svn-id: r23198
2006-06-19Added assert to audiostream allocation since failure causes serious problemsLars Persson
svn-id: r23184
2006-06-06Rename AdlibInstrument fieldsTravis Howell
svn-id: r22951
2006-05-31Clip samp to 2047, not 2048, so that it stays positive when multiplied by 16.Torbjörn Andersson
This seems to fix sound distortion in the Inherit the Earth demo. svn-id: r22812
2006-05-24Fix compressed sound in makeWAVStream()Travis Howell
svn-id: r22596
2006-05-23Cleanup.Torbjörn Andersson
svn-id: r22573
2006-05-18Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. ItTorbjörn Andersson
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-12Whitespace changes. (Oh dear, now *I'm* forcing myself to large re-compiles.)Torbjörn Andersson
svn-id: r22413
2006-05-09- Updated MSVC8 project filesEugene Sandulenko
- 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-04-30cleanupMax Horn
svn-id: r22244
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-22Fix valgrind warningTravis Howell
svn-id: r22082
2006-04-22- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it isEugene Sandulenko
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-15cleanupMax Horn
svn-id: r21920
2006-04-13Fixes possible illegal writes/segfaults in compressToType0 (added a comment ↵Johannes Schickel
about the changes). svn-id: r21853
2006-04-12Fix typo reported in #1469339: "FluidSynth error typo"Eugene Sandulenko
svn-id: r21831
2006-04-07GP32 uses custom version of libtremor, so update header path.Won Star
svn-id: r21665
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-04-04Since our debug() adds an exclamation mark at the message end, removeEugene Sandulenko
it in several calls to avoid duplication!!11! svn-id: r21607
2006-04-04Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h insteadMax Horn
svn-id: r21605
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-19Updated/added some comments on VOC/WAVE functionsMax Horn
svn-id: r21384
2006-03-19Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStreamTravis Howell
svn-id: r21376
2006-03-14Added workaround in FMOPL for the pathological case where a note was turned offTorbjörn Andersson
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-14Fixed a potential bug that could cause memory to be read out-of-bounds.Torbjörn Andersson
(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-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-03-03Hiding the implementation of ADPCMInputStream from the public, in favor of a ↵Max Horn
factory function (just like with the other AudioStream subclasses) svn-id: r21043
2006-03-03It's really 'MPEG', not 'Mpeg'Max Horn
svn-id: r21042
2006-03-03Explain the (admittedly strange) usage of some of our makeXXXStream factory ↵Max Horn
functions svn-id: r21040
2006-02-27SysEx data now passed around with const pointers. Permits simplification of ↵Jamieson Christian
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-25Moved dummy MIDI driver from backends/ to sound/ (this fixes bug #1435221)Max Horn
svn-id: r20878
2006-02-23fixed warnings for msvc7Paweł Kołodziejski
svn-id: r20831
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11- Use midi drivers only when neededChris Apers
- disable zodiac midi driver with scumm engine since it doesn't work with it in ARM mode (??) svn-id: r20524
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-02-07Removed .cvsignore filesMax Horn
svn-id: r20424
2006-01-30Wrong #ifdefChris Apers
svn-id: r20314