aboutsummaryrefslogtreecommitdiff
path: root/sound/mp3.cpp
AgeCommit message (Collapse)Author
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
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-10-23fixed warningsPaweł Kołodziejski
svn-id: r15665
2004-10-17Fix playback of MP3 files till EOF in some casesMax Horn
svn-id: r15587
2004-08-08Remove orphaned TODOMax Horn
svn-id: r14517
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-02-22Patch #885904 (Flac Support) with some tweaks by meMax Horn
svn-id: r12984
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2004-01-03more MAD MP3 / Ogg Vorbis cleanup: try not to expose anything about the libs ↵Max Horn
used for MP3/Vorbis support -> this eases changing the implementations, and reduces header dependencies (and thus compile time) :-) svn-id: r12097
2004-01-03removed SoundMixer::playMP3CDTrack; simplified makeMP3Stream (special ↵Max Horn
variant with mad_timer_t was really only needed for MP3TrackInfo class) svn-id: r12095
2003-12-21o Make use of the new LinearMemoryStream feature which allows auto-disposing ↵Max Horn
the sound data o This allows us to get rid of the ChannelRaw class o Removed the sound index return value from several methods o Removed all methods dealing with sound indices (i.e. stopChannel and pauseChannel) svn-id: r11801
2003-12-19distinguish between end of stream and end of dataMax Horn
svn-id: r11756
2003-12-19o Moved MP3 and Vorbis input streams to mp3.* resp. vorbis.*Max Horn
o Added SoundMixer::playInputStream and made some of the other play* methods use it o Added ProcInputStream stub (not working yet) which one day may allow us to replace the premix code, and allow other fancy stuff o Remove AudioInputStream::readBuffer default implementation (subclasses should always provide it for max. performance) o Some minor cleanup svn-id: r11754
2003-11-29moved Audio CD (emulation) code from scumm/sound.cpp to sound/, so that it ↵Max Horn
may be reused by other engines in the future svn-id: r11421