#include <video_decoder.h>
Public Member Functions | |
StreamFileAudioTrack (Audio::Mixer::SoundType soundType) | |
StreamFileAudioTrack (Audio::SeekableAudioStream *stream, Audio::Mixer::SoundType soundType) | |
bool | loadFromFile (const Common::Path &baseName) |
Public Member Functions inherited from Video::VideoDecoder::SeekableAudioTrack | |
SeekableAudioTrack (Audio::Mixer::SoundType soundType) | |
bool | isSeekable () const |
bool | seek (const Audio::Timestamp &time) |
Audio::Timestamp | getDuration () const |
Public Member Functions inherited from Video::VideoDecoder::AudioTrack | |
AudioTrack (Audio::Mixer::SoundType soundType) | |
TrackType | getTrackType () const |
virtual bool | endOfTrack () const |
void | start () |
void | stop () |
void | start (const Audio::Timestamp &limit) |
byte | getVolume () const |
void | setVolume (byte volume) |
uint32 | getRate () const |
void | setRate (uint32 rate) |
void | setRate (Common::Rational rate) |
int8 | getBalance () const |
void | setBalance (int8 balance) |
Audio::Mixer::SoundType | getSoundType () const |
void | setSoundType (Audio::Mixer::SoundType soundType) |
uint32 | getRunningTime () const |
void | setMute (bool mute) |
Public Member Functions inherited from Video::VideoDecoder::Track | |
virtual bool | isRewindable () const |
virtual bool | rewind () |
void | pause (bool shouldPause) |
bool | isPaused () const |
Protected Member Functions | |
Audio::SeekableAudioStream * | getSeekableAudioStream () const |
Protected Member Functions inherited from Video::VideoDecoder::SeekableAudioTrack | |
Audio::AudioStream * | getAudioStream () const |
Protected Member Functions inherited from Video::VideoDecoder::AudioTrack | |
void | pauseIntern (bool shouldPause) |
Protected Attributes | |
Audio::SeekableAudioStream * | _stream |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
enum | TrackType { kTrackTypeNone, kTrackTypeVideo, kTrackTypeAudio } |
A SeekableAudioTrack that constructs its SeekableAudioStream using SeekableAudioStream::openStreamFile()
bool Video::VideoDecoder::StreamFileAudioTrack::loadFromFile | ( | const Common::Path & | baseName | ) |
Load the track from a file with the given base name.
|
inlineprotectedvirtual |
Get the SeekableAudioStream pointer to be used by this class for seek(), getDuration(), and getAudioStream()
Implements Video::VideoDecoder::SeekableAudioTrack.