Commit Graph

17 Commits

Author SHA1 Message Date
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