Commit Graph

23 Commits

Author SHA1 Message Date
Matthew Hoops
2f31b05651 Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
2010-05-23 18:33:55 +00:00
Matthew Hoops
11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Matthew Hoops
c7fa1074fb Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite).
svn-id: r49063
2010-05-17 21:59:05 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Matthew Hoops
969a048619 Silence a valgrind warning. The sound buffer should be created with malloc and not new[].
svn-id: r47896
2010-02-05 04:27:51 +00:00
Matthew Hoops
19d3f5ad9b Have SCI look through the patches directory (except in KQ6 where the patches in that directory are broken) to fix some GK1 Windows problems. Add the MSRLE codec to AVI (from DrMcCoy's Dark Seed II engine, with permission). GK1 Windows now will play the credits video.
svn-id: r47894
2010-02-05 03:29:04 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
a44c6e4323 Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it.
svn-id: r47213
2010-01-09 22:37:10 +00:00
Max Horn
474d49946f Rename QueuedAudioStream to QueuingAudioStream
svn-id: r47179
2010-01-08 22:06:04 +00:00
Max Horn
7efba85064 Switch Tinsel, MADE and some of the video players to QueuedAudioStream
svn-id: r47178
2010-01-08 22:05:12 +00:00
Sven Hesse
4a189842bb Adding support for mono signed 16bit little-endian uncompressed PCM audio (thank you, clone :))
svn-id: r46270
2009-12-06 04:38:20 +00:00
Sven Hesse
c7305331ee Only print sound information if there actually is sound (preventing a division by 0 exception)
svn-id: r46210
2009-11-30 02:00:42 +00:00
Sven Hesse
8ede0caf72 Properly clear the chunk headers again on closing
svn-id: r46209
2009-11-30 01:58:15 +00:00
Sven Hesse
68b99f1c95 Adding a parameter to the AviDecoder constructor to allow changing the SoundType (instead of it being fixed to Plain)
svn-id: r46170
2009-11-28 00:38:18 +00:00
Sven Hesse
07d8f1c89b Fixing a valgrind warning by memsetting _palette
svn-id: r46169
2009-11-28 00:32:16 +00:00
Sven Hesse
447711b597 Fixing an invalid read in the destructor
svn-id: r46164
2009-11-27 20:28:37 +00:00
Sven Hesse
c8b8ab679f 00AM is another compressed frame type, fixing this (thanks to digitall for figuring that out :D)
svn-id: r46163
2009-11-27 19:26:20 +00:00
Sven Hesse
cb2cc67b41 Extended the AviDecoder a bit
svn-id: r46162
2009-11-27 18:25:40 +00:00
Matthew Hoops
620fa7c641 Override getAudioLag() in the AviDecoder (blatantly borrowed from the SmackerDecoder).
svn-id: r45172
2009-10-16 18:32:20 +00:00
Matthew Hoops
b43e99566e Converting AVIPlayer into a class that inherits from VideoDecoder and adapt SCI to use this. Also, moving the codec and Codec class into their own folder. (Based on a patch by md5)
svn-id: r45170
2009-10-16 18:05:56 +00:00