aboutsummaryrefslogtreecommitdiff
path: root/sound/flac.cpp
AgeCommit message (Collapse)Author
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-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-06Fix FLAC's getLength implementation.Johannes Schickel
svn-id: r47093
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-07-14Got rid of some more ioFailed uses (also fixed a potential leak in ↵Max Horn
graphics/font.cpp, and handle eos correctly in the FLAC code) svn-id: r42488
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
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-09-03Some cleanup by peresMax Horn
svn-id: r34308
2008-09-03Fix for MSVC warning about ambiguous usage of MINFilippos Karapetis
svn-id: r34299
2008-05-27- Cleanup code for FlacInputStream::getTotalPlayTimeJohannes Schickel
- Reset input stream position in MP3InputStream after calculating total play time svn-id: r32323
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
2008-01-05This 'if' should not be necessary anymoreMax Horn
svn-id: r30254
2008-01-05Fix for bug #1795755: LOOM/FLAC: Pauses (temporary lockups) after speechMax Horn
svn-id: r30252
2008-01-05Converted some spaces to tabs.Torbjörn Andersson
svn-id: r30225
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-04-06Fix looping for FLAC tracs (looping parts of a file already worked, but ↵Max Horn
looping until the end of data didn't) svn-id: r26388
2007-03-04Removed obsolete commentMax Horn
svn-id: r25956
2007-02-24Added numLoops parameter to DigitalTrackInfo::playMax Horn
svn-id: r25836
2007-02-24Add looping support to the FLAC decoderMax Horn
svn-id: r25833
2007-02-24Replaced variable buffer in the FLAC code by a fixed onMax Horn
svn-id: r25832
2007-02-24more FLAC code cleanupMax Horn
svn-id: r25831
2007-02-24Removed FlacInputStream::deleteBufferMax Horn
svn-id: r25829
2007-02-22FLAC code cleanupMax Horn
svn-id: r25796
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-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-10-28Modified version of patch #1584720 (add support for FLAC-1.1.3)Max Horn
svn-id: r24554
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
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