aboutsummaryrefslogtreecommitdiff
path: root/sound/mp3.cpp
AgeCommit message (Collapse)Author
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
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-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-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
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-06-22Fixed getTotalPlayTime implementation for MP3InputStream.Johannes Schickel
svn-id: r32755
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-27Implemented getTotalPlayTime for MP3InputStream.Johannes Schickel
svn-id: r32322
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-04-06Changed the MP3 playback code again, this time hopefully fixing the problems ↵Max Horn
in the MI Amiga demo svn-id: r26392
2007-04-06Fixed looping of MP3 tracks (same problem as with the FLAC tracks)Max Horn
svn-id: r26389
2007-02-24Added numLoops parameter to DigitalTrackInfo::playMax Horn
svn-id: r25836
2007-02-22cleanupMax Horn
svn-id: r25794
2007-02-22Added looping support and an enhanced factory function to the Vorbis codeMax Horn
svn-id: r25789
2007-02-22cleanupMax Horn
svn-id: r25788
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-20Added looping to the MP3 streams (currently virtually untested, so watch out)Max Horn
svn-id: r25756
2007-02-20Remove some leftover comments I made while writing the new MP3 code; make ↵Max Horn
use of the new ReadStream::readStream() method in makeMP3Stream() svn-id: r25755
2007-02-20Rewrote MP3InputStream mostly from scratch:Max Horn
- added support for proper time-based seeking (for now internally only) - this should permit VBR encoded MP3 audio CD tracks to be used (not tested) - Symbian specific hacks were removed, as they hopefully aren't needed anymore (not tested)) This change will is likely to introduce regressions, everybody please test all cases where we allow using MP3 encoded data svn-id: r25750
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-07-13Some whitespace changes to see if the CIA bot is still silent.Torbjörn Andersson
svn-id: r23491
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-12-03Fixed (wrongly) changed address in the header.Johannes Schickel
svn-id: r19733
2005-12-02Updated to follow ScummVM coding standards i.e spaces, indents & "studpid" ↵Lars Persson
things fixed. svn-id: r19728
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-06-26Fix warningMax Horn
svn-id: r18469
2005-06-26Updated Scummvm MP3 implementation with patch so it works with Symbian ↵Lars Persson
multithreading. This openingen/closing the file for each chunk to read. This does only affect the Symbian build and the other ports should work as normal. svn-id: r18466
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