Commit Graph

26 Commits

Author SHA1 Message Date
Max Horn
c8ce5b1865 Changed Audio::makeADPCMStream so that the stream passed to it can automatically be disposed
svn-id: r29517
2007-11-16 10:05:18 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
029b8c4323 Changed the order of the parameters of makeLinearInputStream to resemble Mixer::playRaw; also made makeLinearInputStream honor FLAG_LOOP (and for this, changed its loop related params slightly)
svn-id: r25926
2007-03-02 15:26:22 +00:00
Travis Howell
04bf129416 Fix compressed sound in makeWAVStream()
svn-id: r22596
2006-05-24 06:11:39 +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
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
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
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
406703148f Change CVS keywords to SVN keywords
svn-id: r20515
2006-02-11 10:05:31 +00:00
Travis Howell
e990352219 Fix memory leak, if called directly.
svn-id: r20199
2006-01-27 00:10:18 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Travis Howell
81a956eeb3 Revert as requested.
svn-id: r19582
2005-11-13 09:21:15 +00:00
Travis Howell
d17e916543 Fix sound looping regression in simon2 (Windows).
Sound flags were been reset.

svn-id: r19557
2005-11-11 06:43:38 +00:00
Eugene Sandulenko
37fbcf61ad Fix MS IMA ADPCM decoder. I like Microsoft so much for reinventing another
standard.

svn-id: r19203
2005-10-21 02:00:12 +00:00
Eugene Sandulenko
4306c9344c Improved IMA ADPCM decoder. It appeared that MS violated yet another standard
and nibbles order in samples appeared to be swapped. Had to untemplate
whole thing over again because I have no idea how to speicalize one of two
parameters in templates.

Now voices are clean but have some ticks, looks like overload. ITE wasn't
broken ;)

svn-id: r19166
2005-10-19 04:59:18 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Travis Howell
77d6a04abc Switch link to web page with more detailed information on compression types.
svn-id: r17905
2005-05-04 01:57:03 +00:00
Eugene Sandulenko
575e94602c o Fixed ADPCM decoder length bug
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech
  though it is somewhat noisy don't know why as decoder is based on ADPCM
   reference implementation.

svn-id: r17904
2005-05-03 22:12:23 +00:00
Torbjörn Andersson
9eecc9406d 16-bit WAVs are little-endian.
svn-id: r16539
2005-01-11 08:30:28 +00:00
Max Horn
51112e49b5 Fix legal header
svn-id: r16506
2005-01-09 16:14:56 +00:00
Max Horn
9cea3d393f Added shared code to load WAV(E) data from arbitrary seekable streams (files or memory)
svn-id: r16502
2005-01-09 15:49:43 +00:00