ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

audiostream.cpp File Reference

#include "common/debug.h"
#include "common/file.h"
#include "common/mutex.h"
#include "common/textconsole.h"
#include "common/queue.h"
#include "common/util.h"
#include "audio/audiostream.h"
#include "audio/decoders/flac.h"
#include "audio/decoders/mp3.h"
#include "audio/decoders/quicktime.h"
#include "audio/decoders/raw.h"
#include "audio/decoders/vorbis.h"
#include "audio/mixer.h"
Include dependency graph for audiostream.cpp:

Go to the source code of this file.

Classes

struct  Audio::StreamFileFormat
class  Audio::QueuingAudioStreamImpl
struct  Audio::QueuingAudioStreamImpl::StreamHolder
 We queue a number of (pointers to) audio stream objects. More...
class  Audio::LimitingAudioStream
 An AudioStream wrapper that cuts off the amount of samples read after a given time length is reached. More...
class  Audio::NullAudioStream
 An AudioStream that plays nothing and immediately returns that the endOfStream() has been reached. More...

Namespaces

namespace  Audio
 

Internal interfaces to the ADPCM decoders.


Functions

AudioStream * Audio::makeLoopingAudioStream (RewindableAudioStream *stream, uint loops)
 Wrapper functionality to efficiently create a stream, which might be looped.
AudioStream * Audio::makeLoopingAudioStream (SeekableAudioStream *stream, Timestamp start, Timestamp end, uint loops)
 Wrapper functionality to efficiently create a stream, which might be looped in a certain interval.
QueuingAudioStream * Audio::makeQueuingAudioStream (int rate, bool stereo)
 Factory function for an QueuingAudioStream.
Timestamp Audio::convertTimeToStreamPos (const Timestamp &where, int rate, bool isStereo)
 Converts a point in time to a precise sample offset with the given parameters.
AudioStream * Audio::makeLimitingAudioStream (AudioStream *parentStream, const Timestamp &length, DisposeAfterUse::Flag disposeAfterUse=DisposeAfterUse::YES)
 Factory function for an AudioStream wrapper that cuts off the amount of samples read after a given time length is reached.
AudioStream * Audio::makeNullAudioStream ()
 Create an AudioStream that plays nothing and immediately returns that endOfStream() has been reached.

Variables

static const StreamFileFormat Audio::STREAM_FILEFORMATS []


Generated on Sat Jul 13 2019 05:01:21 for ResidualVM by doxygen 1.7.1
curved edge   curved edge