Matthew Hoops
1817dd9bc5
Do not use TO_LE_16 for the IMA ADPCM decoder as it breaks sound on BE systems.
...
svn-id: r39465
2009-03-17 02:35:43 +00:00
Fabio Battaglia
647276b885
Moving sword1/vag.* into sound/, to be used by Broken Sword 2 PSX
...
svn-id: r39416
2009-03-15 10:25:22 +00:00
Andre Heider
c72cba069b
Use pow() instead of powf() when compiling with MinGW32 to work around a libstdc++ cross-compile bug, see #2673362
...
svn-id: r39309
2009-03-10 19:32:38 +00:00
Max Horn
77b40251ca
Added some more Audio::Timestamp unit tests
...
svn-id: r39262
2009-03-09 16:15:25 +00:00
Max Horn
7cd40da1be
Added some comments to Audio::Timestamp
...
svn-id: r39257
2009-03-09 03:45:40 +00:00
Eugene Sandulenko
ef1e3ebc3c
Patch #2658710 : "Add comments to specify which engines use which decoders"
...
svn-id: r39236
2009-03-08 15:57:59 +00:00
Max Horn
673a21b249
Added Audio::Timestamp class, based on SCI's sfx_timestamp_t; also provide a unit test for it, based on the old (and very outdated) timetest.cpp. To be used by Audio::Mixer one day...
...
svn-id: r39112
2009-03-04 06:58:28 +00:00
Willem Jan Palenstijn
4fbda3b8b0
Fix typo.
...
svn-id: r38940
2009-02-27 23:38:37 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Eugene Sandulenko
0a532dfc30
Add interleave parameter to FMOPL as needed by SCI engine
...
svn-id: r38211
2009-02-15 10:07:50 +00:00
Travis Howell
4131d3d07f
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36236
2009-02-07 05:05:14 +00:00
Travis Howell
8c84ec82fc
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36235
2009-02-07 04:49:10 +00:00
Travis Howell
934a59941d
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36234
2009-02-07 04:40:39 +00:00
Joost Peters
e8e3397a3c
make readBufferTinsel*() output in native endianness, rather than little endian.
...
svn-id: r36215
2009-02-04 16:40:44 +00:00
Filippos Karapetis
dd39274391
Fixed regression in the ADPCM decoder. DW2 music should be played correctly again
...
svn-id: r36195
2009-02-01 22:21:57 +00:00
Filippos Karapetis
71b4f84c46
Fixed incorrect usage of a boolean (boolean variables are not supposed to be used as indexes to arrays...)
...
svn-id: r36194
2009-02-01 22:06:43 +00:00
Max Horn
341bc64aaf
do not include common/debug.h from common/util.h
...
svn-id: r36143
2009-01-30 05:25:17 +00:00
Matthew Hoops
34e76afb16
Remove leftover comments.
...
svn-id: r36098
2009-01-27 11:49:53 +00:00
Matthew Hoops
13552cce55
Add support for looping ADPCM sounds. I'm also adding decoding of the "standard" IMA ADPCM code (aka Intel DVI ADPCM). This is from Mohawk. ;)
...
svn-id: r36097
2009-01-27 11:46:54 +00:00
Travis Howell
f9d0d2a44a
Add/Update comments.
...
svn-id: r36094
2009-01-27 03:26:51 +00:00
Travis Howell
f002e06fe0
Add looping support to makeVOCStream().
...
svn-id: r36093
2009-01-27 03:21:05 +00:00
Travis Howell
82a7414197
Fix regression, the original stream shouldn't be deleted, unless disposeAfterUse is set.
...
svn-id: r36092
2009-01-27 03:13:13 +00:00
Travis Howell
bce799366f
Fix regression, the original stream shouldn't be deleted.
...
svn-id: r36091
2009-01-27 03:10:56 +00:00
Max Horn
8e447d1ee9
Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream to directly return the AudioStream created by makeADPCMStream
...
svn-id: r36085
2009-01-27 00:42:43 +00:00
Willem Jan Palenstijn
a8ae95cc10
fixing #2531282 : don't fall back to a real audio CD when playing enhanced midi tracks
...
svn-id: r36030
2009-01-24 01:29:52 +00:00
Willem Jan Palenstijn
de341291aa
remove 'HACK': don't use _cd.playing to indicate emulation
...
svn-id: r36029
2009-01-24 01:23:04 +00:00
Torbjörn Andersson
9e2f9b338f
Removed a (hopefully) obsolete FIXME comment.
...
svn-id: r35690
2009-01-03 00:08:46 +00:00
Torbjörn Andersson
890808fa4b
Rewrote to get rid of "condition is always false" warning.
...
svn-id: r35639
2008-12-31 15:23:08 +00:00
Filippos Karapetis
c7a2121add
Added possible FIXMEs
...
svn-id: r35637
2008-12-31 15:09:32 +00:00
Filippos Karapetis
a8a4ba3a98
Prevent erroneous access of negative array indices
...
svn-id: r35633
2008-12-31 14:49:53 +00:00
Max Horn
6a2778cccc
Fixed warning
...
svn-id: r35630
2008-12-31 13:59:00 +00:00
Torbjörn Andersson
6f24756a15
Fixed GCC warning.
...
svn-id: r35628
2008-12-31 13:05:26 +00:00
Filippos Karapetis
136390a540
Commented out part of the code that corrupts the heap for me
...
svn-id: r35627
2008-12-31 13:00:09 +00:00
Filippos Karapetis
cae6bdac08
Preliminary Shorten audio support for SAGA 2 games. It's still very wrong and needs further work, but it's a start
...
svn-id: r35626
2008-12-31 11:46:21 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Jordi Vilalta Prat
c4f33dfb86
Custom percussion instruments for the AdLib MIDI driver (Slightly modified patch #2357165 )
...
svn-id: r35439
2008-12-19 16:21:27 +00:00
Johannes Schickel
5fa38662e2
Whoops. Fix accidently wrong evaluation statement.
...
svn-id: r35337
2008-12-13 12:56:53 +00:00
Johannes Schickel
223a57a563
Cleanup.
...
svn-id: r35336
2008-12-13 12:45:53 +00:00
Johannes Schickel
9555ea8bc9
Fix for bug #2423449 "AGOS: Music Looping broken (regression)".
...
svn-id: r35335
2008-12-13 12:31:39 +00:00
Sven Hesse
052e83cd24
Okay, removing my implementation of AppandableAudioStream::getTotalPlayTime (I've apparently misunderstood its intent) and using Mixer::getSoundElapsedTime() instead
...
svn-id: r35317
2008-12-12 17:12:05 +00:00
Max Horn
59dc18d9ef
cleanup
...
svn-id: r35214
2008-12-03 10:59:06 +00:00
Sven Hesse
30b6294d38
Apparently, constraining the number of mixing samples to be divisible by 4 is too strict, so I'm changing readBufferTinsel6() around a bit to allow for any number of samples (at the cost of adding 2 variables and a bit complexity ;))
...
svn-id: r35209
2008-12-02 21:58:48 +00:00
Johannes Schickel
2ebe04ac3e
- Extended MidiDriver::sysEx to allow 264 byte sysEx messages
...
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.
svn-id: r35180
2008-11-30 04:42:30 +00:00
Johannes Schickel
893a79b01d
Initial version of proper MIDI support for KYRA.
...
svn-id: r35174
2008-11-30 01:53:32 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Max Horn
dd14e46698
Fixed a warning on the DS build, added some clarifying comments, reformatted the okiStepSize and imaStepTable tables (the former really is a subtable of the latter)
...
svn-id: r35106
2008-11-17 11:10:34 +00:00
Max Horn
1067a2ec77
Factoring shared code of template classes into a shared base class saves another 4-7kb code size
...
svn-id: r35104
2008-11-17 11:09:23 +00:00
Max Horn
be0f709be9
Saving 32kb DATA size
...
svn-id: r35103
2008-11-17 11:07:04 +00:00
Sven Hesse
b1fa413ed4
Implementing getTotalPlayTime() for AppendableMemoryStream
...
svn-id: r35098
2008-11-16 20:34:31 +00:00
Sven Hesse
24131d781a
Added support for the ADPCM used in Discworld 2
...
svn-id: r35089
2008-11-15 19:40:01 +00:00