Christoph Mallon
ab80b20a30
COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).
2011-08-07 15:19:08 +02:00
Christoph Mallon
a5a8833c05
COMMON: Add DisposablePtr<T>, which replaces many repeated implementations of a dispose flag.
2011-08-07 15:19:08 +02:00
Christoph Mallon
97a6ee2e64
AUDIO: #define OV_EXCLUDE_STATIC_CALLBACKS to not get unnecessary static data, which causes warnings.
2011-08-07 15:19:07 +02:00
Eugene Sandulenko
2fa17c44ed
JANITORIAL: Remove SVN keywords
2011-08-06 11:30:47 +01:00
D G Turner
54f25aa843
COMMON: Renamed Integer Log2 function from log2 to intLog2.
...
This avoids naming collisions with system libraries on some platforms
i.e. DS, DC where the log2 is realised by macro.
2011-07-19 02:29:13 +01:00
Sven Hesse
1f3ccd4eed
AUDIO: Fix stereo MS IMA ADPCM decoding
2011-07-19 03:10:10 +02:00
D G Turner
765813f750
CODECS: Replaced Integer log2 in QDM2 with Common::Math implementation.
2011-07-19 02:07:15 +01:00
Johannes Schickel
f1d3b35cc4
JANITORIAL: Remove svn keywords from audio/decoders/codec.h
2011-07-10 22:10:43 +02:00
Matthew Hoops
46aabed3f5
AUDIO: Fix QDM2 sound in QuickTime files
2011-07-10 15:50:47 -04:00
Matthew Hoops
c46aa548d6
AUDIO: Fix remaining AAC bugs by decoding with the same AAC context
...
This introduces a new Audio::Codec class, based on DrMcCoy's solution for WMA in eos.
2011-07-10 15:50:47 -04:00
Julien
2f200ac493
ANALYSIS: Fix potential memory leak when using realloc
...
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer.
See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-23 15:11:36 +08:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Matthew Hoops
b6a9901e0a
AUDIO: Remove tabs from comment spacing
2011-06-07 10:09:16 -04:00
Matthew Hoops
41e332a80d
AUDIO: Clarify makeAACStream() usage
...
So we don't have anyone calling the function or attempting to make the AAC code seekable or anything crazy like that.
2011-06-07 09:52:42 -04:00
Matthew Hoops
547fd1bdca
COMMON: Cleanup QuickTime variable and struct naming
2011-06-03 00:58:29 -04:00
Matthew Hoops
2e06681698
COMMON: Begin objectifying QuickTimeParser::SampleDesc further
...
This is preparation for multiple video and audio tracks
2011-06-02 23:44:40 -04:00
Matthew Hoops
aa49b38c5a
Merge remote branch 'upstream/master' into t7g-ios
...
Conflicts:
engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00
Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
md5
2d3ad096ab
SWORD25: Fix compilation when libvorbis is not present
2011-05-13 21:09:31 +03:00
Matthew Hoops
bc7ff27828
AUDIO: Fix QuickTime stereo audio seeking
2011-05-13 02:22:11 -04:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Matthew Hoops
d2f5b91a9a
AUDIO: Fix usage of Timestamp::convertToFramerate
2011-05-11 14:48:13 -04:00
Matthew Hoops
a1d41da096
Merge remote branch 'upstream/master' into t7g-ios
...
Conflicts:
audio/decoders/qdm2.h
common/util.cpp
engines/groovie/music.cpp
engines/groovie/resource.h
video/qt_decoder.cpp
video/qt_decoder.h
2011-05-11 00:30:28 -04:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion
cd6ee0589d
JANITORIAL: Format forward declarations to follow convention
2011-04-28 12:20:34 +03:00
Matthew Hoops
9d8874c707
AUDIO: Cleanup MS IMA handling
...
- Split The Last Express' ADPCM to the engine. Using the MS IMA routine was really a hack.
- Fixed stereo MS IMA ADPCM, the old routine was completely wrong.
2011-04-24 23:14:14 -04:00
dhewg
e15f9cc072
AUDIO: Fix Tremolo support
...
Include by used library, not by backend
2011-04-22 21:43:42 +02:00
Alyssa Milburn
d23150ff78
AUDIO: Name the ADPCM status struct.
2011-04-14 23:47:50 +02:00
Matthew Hoops
76105b29b7
AUDIO: Split the QuickTimeAudioDecoder into a new header file
...
(Mirroring the new adpcm_intern.h file)
2011-04-14 10:25:02 -04:00
Matthew Hoops
f035c26301
AUDIO: Fix a typo
2011-04-14 10:20:51 -04:00
Matthew Hoops
6d153f311c
Merge remote branch 'upstream/master' into t7g-ios
...
Conflicts:
video/qt_decoder.cpp
2011-04-13 16:04:29 -04:00
Matthew Hoops
deb46ab38b
AUDIO: Split the Intel DVI ADPCM into its own class
...
IMA is really just the definition on how to decode a sample from a nibble, DVI is just a way for those nibbles to be stored in the stream.
2011-04-13 09:45:13 -04:00
Max Horn
393c6f6ade
AUDIO: Expose some internal ADPCM data tables
2011-04-13 12:48:57 +02:00
Max Horn
e0a30e0039
AUDIO: Stop adpcm.h from including common/stream.h
2011-04-13 12:48:57 +02:00
Max Horn
7607e351cc
TINSEL: Move custom ADPCM decoders to tinsel engine
2011-04-13 12:48:57 +02:00
Max Horn
b9296a189e
AUDIO: Expose ADPCM decoder internals via a new header
...
There are tons of ADPCM variants out there, and it is impractical to
stuff them all into a single adpcm.cpp file. By exposing the internals,
engines can implement their ADPCM decoder variants more easily.
2011-04-13 12:48:57 +02:00
Matthew Hoops
499753cbb8
AUDIO: Don't end the AAC stream if we still have buffered samples
2011-04-12 16:23:34 -04:00
Matthew Hoops
08b70fa1a7
AUDIO: Fix QuickTime/MPEG-4 seeking
...
MPEG-4 seeking was broken while QuickTime seeking was extremely slow. All is fixed now
2011-04-12 14:23:23 -04:00
Matthew Hoops
368e0e47b5
AUDIO: Remove unused variables
2011-04-10 18:20:53 -04:00
Matthew Hoops
9d0e5a7132
ALL: Add/update some comments
2011-04-10 15:11:03 -04:00
Matthew Hoops
f9413e4dc2
AUDIO: Add support for AAC audio
2011-04-10 14:51:24 -04:00
Matthew Hoops
7c5dfaa04c
COMMON: Parse the MPEG-4 esds atom
2011-04-08 22:46:19 -04:00
Matthew Hoops
faee277978
COMMON: Add a DisposeAfterUse flag to QuickTimeParser
2011-04-08 17:04:29 -04:00
Matthew Hoops
88ebf13077
AUDIO: Allow for seeking in a QuickTimeAudioStream
2011-04-08 10:54:13 -04:00
Matthew Hoops
8cf73e3fb4
AUDIO: Split QuickTime audio into a new class
...
Standalone QuickTime files can now be played as an AudioStream
2011-04-07 19:40:07 -04:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00