aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
AgeCommit message (Collapse)Author
2010-01-07Fix use of getRate in VorbisInputStream's constructor. (Thanks to cyx for ↵Johannes Schickel
spotting this) svn-id: r47144
2010-01-07Remove the deprecated FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47134
2010-01-07Create a wrapper makeLoopingAudioStream to reduce code duplcation.Johannes Schickel
svn-id: r47128
2010-01-07Fix warningMax Horn
svn-id: r47119
2010-01-07- Strip custom looping code out of FLAC, Vorbis and MP3 streamsJohannes Schickel
- Adapt the legacy make*Stream factories to use the new AudioStream subclasses - Change return value of make*Stream back to AudioStream * svn-id: r47111
2010-01-06Adapt FLAC and Vorbis to use calculateSampleOffset in their seek implementation.Johannes Schickel
svn-id: r47085
2010-01-05- Put the new factories for MP3, Vorbis and FLAC in place.Johannes Schickel
- Marked the loop factories with loop related parameters as deprecated. svn-id: r47061
2010-01-05Remove unsafe getTotalPlayTime from AudioStream.Johannes Schickel
svn-id: r47037
2010-01-05Add a "getLength" function to SeekableAudioStream.Johannes Schickel
svn-id: r47036
2010-01-05- Add a new SeekableAudioStream interface. Soon to be used to replace audio ↵Johannes Schickel
stream specific looping code by generic code in Mixer... - Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013
2010-01-01This time properly fix getTotalPlayTime for looped FLAC, MP3 and VORBIS ↵Johannes Schickel
audio streams. svn-id: r46863
2010-01-01Properly reset _numPlayedLoops in setNumLoops in all AudioStream ↵Johannes Schickel
implementations implementing setNumLoops. svn-id: r46861
2010-01-01Fix getTotalPlayTime for MP3, FLAC, Vorbis and LinearMemoryStream after the ↵Johannes Schickel
latest loop related changes. svn-id: r46838
2010-01-01Implemented setNumLoops() for common audio streams.Eugene Sandulenko
Implemented getNumPlayedLoops() for common audio streams. Requested by m_kriewitz. svn-id: r46836
2009-10-03If an error occured on constructing a VorbisInputStream, return 0 from ↵Andre Heider
makeVorbisStream, just like makeFlacStream does. svn-id: r44556
2009-09-23Removed an assert() in favour of error checking.Andre Heider
svn-id: r44278
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