Age | Commit message (Collapse) | Author |
|
svn-id: r55381
|
|
svn-id: r54385
|
|
svn-id: r54204
|
|
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
|
|
svn-id: r54022
|
|
A new header file common/forbidden.h is included by scummsys.h and it
re-#defines numerous symbols like fopen(), fread(), system(), etc. with
garbage, in order to provoke compile errors in any code using them.
If a .cpp file really *must* use any of these (e.g. because it is a
backend file), then these redefinitions can be disabled by #defining
FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever
this is done, an explanatory comment should be added.
Note that this system cannot catch all "bad" usages (notably the Lua
code in the sword25 engine), as it can only work if scummsys.h is
included.
svn-id: r53961
|
|
svn-id: r53762
|
|
Patch by littleboy.
svn-id: r53578
|
|
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
|
|
svn-id: r53161
|
|
svn-id: r53160
|
|
Formerly we did not read the first chunk of MP3 data after seeking. This
resulted in incorrect sound output in the Freddy Pharkas demo when the
sound was compressed with MP3 for example.
svn-id: r52272
|
|
svn-id: r51495
|
|
svn-id: r51373
|
|
svn-id: r51328
|
|
For use with Kyra1 Mac instrument samples. T7G Mac and Loom Mac also use this format for their custom instrument samples.
svn-id: r51327
|
|
svn-id: r51094
|
|
svn-id: r50840
|
|
our own statically linked version rather than relying on the system
shared lib that happens to be on most Android systems.
svn-id: r50666
|
|
svn-id: r49844
|
|
svn-id: r49843
|
|
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
|
|
svn-id: r49449
|
|
the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3.
svn-id: r49319
|
|
svn-id: r49314
|
|
the doxygen comment).
svn-id: r49236
|
|
svn-id: r49171
|
|
hopefully fixing compilation on most systems at the same time.
svn-id: r49170
|
|
Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
|
|
svn-id: r48965
|
|
svn-id: r48921
|
|
svn-id: r48920
|
|
Unlike in the branch-1-1-x I did not restore the old RawMemoryStream
code in the trunk. Instead I stripped out the pre-buffering of the
RawStream code. I still decided to add some in-place buffering
in RawStream::readBuffer to at least not rely on super-fast disk I/O.
This is currently an experimental change. There might be need to
reconsider the buffering (even though backends with slow disk I/O
should actually do buffering for file I/O on their own).
svn-id: r48919
|
|
Currently we have an assert checking that the framerate of an
Audio::Timestamp is always > 0. Since MAD might return "0"
(and maybe even other illegal values) in case the MP3 stream is
invalid we need to check that before we setup the _length
Timestamp of MP3Stream.
svn-id: r48904
|
|
pass the constructor a boolean, this should save some binary size.
svn-id: r48496
|
|
svn-id: r48495
|
|
47469, since the IFF sound code is only used by the Parallaction game engine.
svn-id: r48467
|
|
It is not a good idea to supply an SubLoopingAudioStream with the start
and end time to be exactly the same time. Clarify that in the
SubLoopingAudioStream documentation, add an assert in the
SubLoopingAudioStream constructor for that case and also prevent
make8SVXStream from doing so.
svn-id: r48356
|
|
svn-id: r48246
|
|
* now takes a SeekableReadStream *pointer* like (almost) all other
audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency
svn-id: r48184
|
|
svn-id: r48032
|
|
svn-id: r48007
|
|
sample per channel
svn-id: r47864
|
|
unit tests yay!)
svn-id: r47859
|
|
svn-id: r47848
|
|
svn-id: r47847
|
|
- Rename makeFlacStream to makeFLACStream.
svn-id: r47846
|
|
svn-id: r47844
|
|
- FlacInputStream -> FlacStream
- VorbisInputStream -> VorbisStream
- MP3InputStream -> MP3Stream
svn-id: r47842
|
|
stream failed.
- Add a TODO in the MP3 code for the same behavior.
svn-id: r47841
|