#include <video_decoder.h>
Public Member Functions | |
| RewindableAudioTrack (Audio::Mixer::SoundType soundType) | |
| bool | isRewindable () const |
| bool | rewind () |
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 | isSeekable () const |
| virtual bool | seek (const Audio::Timestamp &time) |
| void | pause (bool shouldPause) |
| bool | isPaused () const |
| virtual Audio::Timestamp | getDuration () const |
Protected Member Functions | |
| Audio::AudioStream * | getAudioStream () const |
| virtual Audio::RewindableAudioStream * | getRewindableAudioStream () const =0 |
Protected Member Functions inherited from Video::VideoDecoder::AudioTrack | |
| void | pauseIntern (bool shouldPause) |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
| enum | TrackType { kTrackTypeNone, kTrackTypeVideo, kTrackTypeAudio } |
An AudioTrack that implements isRewindable() and rewind() using RewindableAudioStream.
|
inlinevirtual |
Return if the track is rewindable.
If a video is seekable, it does not need to implement this for it to also be rewindable.
Reimplemented from Video::VideoDecoder::Track.
|
virtual |
Rewind the video to the beginning.
If a video is seekable, it does not need to implement this for it to also be rewindable.
Reimplemented from Video::VideoDecoder::Track.
|
protectedvirtual |
Get the AudioStream that is the representation of this AudioTrack
Implements Video::VideoDecoder::AudioTrack.
|
protectedpure virtual |
Get the RewindableAudioStream pointer to be used by this class for rewind() and getAudioStream()