Public Member Functions | |
| SmushAudioTrack (Audio::Mixer::SoundType soundType, bool isVima, int freq=22050, int channels=-1) | |
| Audio::AudioStream * | getAudioStream () const override |
| bool | isSeekable () const override |
| bool | seek (const Audio::Timestamp &time) override |
| void | skipSamples (int samples) |
| int | getRate () const |
| void | handleVIMA (Common::SeekableReadStream *stream, uint32 size) |
| void | handleIACT (Common::SeekableReadStream *stream, int32 size) |
| void | init () |
Public Member Functions inherited from Video::VideoDecoder::AudioTrack | |
| AudioTrack (Audio::Mixer::SoundType soundType) | |
| TrackType | getTrackType () const override |
| bool | endOfTrack () const override |
| 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 |
| bool | getMute () |
| void | setMute (bool mute) |
Public Member Functions inherited from Video::VideoDecoder::Track | |
| virtual TrackType | getTrackType () const =0 |
| virtual bool | endOfTrack () const =0 |
| virtual bool | isRewindable () const |
| virtual bool | rewind () |
| virtual bool | isSeekable () const |
| virtual bool | seek (const Audio::Timestamp &time) |
| void | pause (bool shouldPause) |
| bool | isPaused () const |
| virtual Audio::Timestamp | getDuration () const |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
| enum | TrackType { kTrackTypeNone , kTrackTypeVideo , kTrackTypeAudio } |
Protected Member Functions inherited from Video::VideoDecoder::AudioTrack | |
| void | pauseIntern (bool shouldPause) override |
| virtual Audio::AudioStream * | getAudioStream () const =0 |
| virtual void | pauseIntern (bool shouldPause) |
|
inlineoverridevirtual |
Get the AudioStream that is the representation of this AudioTrack
Implements Video::VideoDecoder::AudioTrack.
|
inlineoverridevirtual |
Return if the track is seekable.
Reimplemented from Video::VideoDecoder::Track.
|
overridevirtual |
Seek to the given time.
| time | The time to seek to, from the beginning of the video. |
Reimplemented from Video::VideoDecoder::Track.