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

Video::VideoDecoder::RewindableAudioTrack Class Reference

An AudioTrack that implements isRewindable() and rewind() using RewindableAudioStream. More...

#include <video_decoder.h>

Inheritance diagram for Video::VideoDecoder::RewindableAudioTrack:
Collaboration diagram for Video::VideoDecoder::RewindableAudioTrack:

List of all members.

Public Member Functions

 RewindableAudioTrack (Audio::Mixer::SoundType soundType)
virtual ~RewindableAudioTrack ()
bool isRewindable () const
 Return if the track is rewindable.
bool rewind ()
 Rewind the video to the beginning.

Protected Member Functions

Audio::AudioStreamgetAudioStream () const
 Get the AudioStream that is the representation of this AudioTrack.
virtual
Audio::RewindableAudioStream
getRewindableAudioStream () const =0
 Get the RewindableAudioStream pointer to be used by this class for rewind() and getAudioStream().

Detailed Description

An AudioTrack that implements isRewindable() and rewind() using RewindableAudioStream.

Definition at line 752 of file video_decoder.h.


Constructor & Destructor Documentation

Video::VideoDecoder::RewindableAudioTrack::RewindableAudioTrack ( Audio::Mixer::SoundType  soundType  )  [inline]

Definition at line 754 of file video_decoder.h.

virtual Video::VideoDecoder::RewindableAudioTrack::~RewindableAudioTrack (  )  [inline, virtual]

Definition at line 755 of file video_decoder.h.


Member Function Documentation

Audio::AudioStream * Video::VideoDecoder::RewindableAudioTrack::getAudioStream (  )  const [protected, virtual]

Get the AudioStream that is the representation of this AudioTrack.

Implements Video::VideoDecoder::AudioTrack.

Definition at line 675 of file video_decoder.cpp.

virtual Audio::RewindableAudioStream* Video::VideoDecoder::RewindableAudioTrack::getRewindableAudioStream (  )  const [protected, pure virtual]

Get the RewindableAudioStream pointer to be used by this class for rewind() and getAudioStream().

bool Video::VideoDecoder::RewindableAudioTrack::isRewindable (  )  const [inline, virtual]

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.

Definition at line 757 of file video_decoder.h.

bool Video::VideoDecoder::RewindableAudioTrack::rewind (  )  [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.

Returns:
true on success, false otherwise.

Reimplemented from Video::VideoDecoder::Track.

Definition at line 679 of file video_decoder.cpp.


The documentation for this class was generated from the following files:


Generated on Sat Jan 12 2019 05:05:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge