aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
AgeCommit message (Collapse)Author
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2008-09-05Removed useless dependencies from common/file.h in common code. When ↵Nicola Mettifogo
complete removal was not possibile, dependency has been pushed to the cpp files from the headers. svn-id: r34343
2008-05-24Instead of simply returning 0 for "infinite" looping in FLAC and OGG/Vorbis ↵Johannes Schickel
streams in getTotalPlayTime return kUnknownPlayTime. svn-id: r32265
2008-05-24Take numLoops in account for getTotalPlayTime in FLAC and OGG/Vorbis streams.Johannes Schickel
svn-id: r32264
2008-05-24Implementation of AudioStream::getTotalPlayTime for FLAC and OGG/Vorbis streams.Johannes Schickel
svn-id: r32263
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-07-15Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data ↵Max Horn
which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway) svn-id: r28110
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-14Got rid of the last traces of DigitalTrackInfoMax Horn
svn-id: r26477
2007-02-24Added numLoops parameter to DigitalTrackInfo::playMax Horn
svn-id: r25836
2007-02-22added yet another #pragma mark to the vorbis code (just for the sake of *my* ↵Max Horn
text editor -- yeah, I'm selfish :-) svn-id: r25795
2007-02-22cleanupMax Horn
svn-id: r25794
2007-02-22Reduce chance for overflows in VorbisTrackInfo::playMax Horn
svn-id: r25793
2007-02-22Updated FLAC code to match the changes made to the MP3 & Vorbis decoders ↵Max Horn
(e.g. use a SeekableReadStream for input, allow specifying parts of a stream via time-valued parameters, etc.) -- note: looping is not yet implemented, even though it is already present in the API svn-id: r25792
2007-02-22Added looping support and an enhanced factory function to the Vorbis codeMax Horn
svn-id: r25789
2007-02-22Rewrote Ogg Vorbis code to be more flexible when it comes to seeking; also ↵Max Horn
now playback from arbitrary SeekableReadStream data sources is possible svn-id: r25784
2007-02-20Revamed the Ogg Vorbis & FLAC DigitalTrackInfo subclasses to work similar to ↵Max Horn
the MP3 one (i.e. only open the data file when about to play) svn-id: r25757
2007-02-19So far we only accepted track1.* as name for audio tracks -- now we also ↵Max Horn
accept track01.* (we still only document the former naming scheme, intentionally) svn-id: r25728
2006-04-30cleanupMax Horn
svn-id: r22244
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-07GP32 uses custom version of libtremor, so update header path.Won Star
svn-id: r21665
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-031. New build structure for Symbian builds to allow easier build and project ↵Lars Persson
updates 2. Updated framework files for new structure 3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether. 4. Incorporated Sevs code formatting changes in the new Symbian source structure. 5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered. 6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked) 7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome. 8. Built for S60V1 and UIQ2 targets from the cvs 9. Updated Readme with new build instructions. Any comments are welcome. Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated. svn-id: r19739
2005-12-02Updated to follow ScummVM coding standards i.e spaces, indents & "studpid" ↵Lars Persson
things fixed. svn-id: r19728
2005-12-01Working Vorbis support for Symbian OSLars Persson
svn-id: r19725
2005-11-06the PSP port of libtremor was updated, so this define is no longer neededJoost Peters
svn-id: r19488
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-17libtremor is installed to a different location when using the port from ↵Joost Peters
pspdev svn svn-id: r18838
2005-08-10Don't explicity check for tremor and vorbis everywhere andJonathan Gray
require both USE_TREMOR and USE_VORBIS to be defined when using tremor. svn-id: r18642
2005-08-10Rest of the changes required for tremor to actually work.Jonathan Gray
Based on patches against 0.7.1 by Jolan Luff. svn-id: r18641
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-30Enhanced tremor support from Jolan Luff.Jonathan Gray
The configure script now works as follows for detection: Tremor only: use tremor Vorbis only: use vorbis Both: use vorbis This behaviour can be changed with newly added configure script options. svn-id: r18478
2005-05-11Moved some more stuff to namespace Audio (enough for tonight)Max Horn
svn-id: r18040
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
2004-09-04Fix for bug #1022265 (Memory leak in vorbis.cpp?)Max Horn
svn-id: r14889
2004-06-29Fix for bug #981991 (VORBIS: Crash when using Ogg Vorbis CD tracks)Max Horn
svn-id: r14128
2004-06-28Make use of new File refcount code; also fixed long standing bug in vorbis ↵Max Horn
code (ov_clear was not being called, resulting in a file not being closed) svn-id: r14107
2004-03-28Format string fix.Torbjörn Andersson
svn-id: r13408
2004-03-21When I played an Ogg Vorbis-encoded FotAQ I noticed that whenever a soundTorbjörn Andersson
effect happened during a line of speech there was a chance - not a certainty - that the speech would get cut off prematurely. As far as I can tell, this is because the Vorbis decoder isn't the only one who's accessing the same file. Now the Vorbis decoder will explicitly seek to the position where it expects the file to be at before reading from it. I hope this is the correct fix. It does fix the problem for me, at least. I don't know if any of the other decoders needs a similar patch. I couldn't reproduce the problem with my MP3-encoded FotAQ, but there are other possible explanations for that, e.g. the bug gets harder to trigger the more sound data that is decoded in each pass. svn-id: r13353
2004-02-22Patch #885904 (Flac Support) with some tweaks by meMax Horn
svn-id: r12984
2004-02-12Removed now obsolete getSamplesPlayed() function. It was only ever used forTorbjörn Andersson
the Broken Sword cutscenes, where it didn't work very well, and was never fully implemented. svn-id: r12832
2004-01-18Patch #878883: Fix for Ogg Vorbis playbackMax Horn
svn-id: r12503