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

Video::AVIDecoder::AVIAudioTrack Class Reference

#include <avi_decoder.h>

Inheritance diagram for Video::AVIDecoder::AVIAudioTrack:
Collaboration diagram for Video::AVIDecoder::AVIAudioTrack:

List of all members.

Public Member Functions

 AVIAudioTrack (const AVIStreamHeader &streamHeader, const PCMWaveFormat &waveFormat, Audio::Mixer::SoundType soundType)
 ~AVIAudioTrack ()
virtual void createAudioStream ()
virtual void queueSound (Common::SeekableReadStream *stream)
void skipAudio (const Audio::Timestamp &time, const Audio::Timestamp &frameTime)
virtual void resetStream ()
uint32 getCurChunk () const
Common::StringgetName ()
void setCurChunk (uint32 chunk)
bool isRewindable () const
bool rewind ()

Protected Types

enum  {
  kWaveFormatNone = 0, kWaveFormatPCM = 1, kWaveFormatMSADPCM = 2, kWaveFormatMSIMAADPCM = 17,
  kWaveFormatMP3 = 85, kWaveFormatDK3 = 98
}

Protected Member Functions

Audio::AudioStreamgetAudioStream () const

Protected Attributes

AVIStreamHeader _audsHeader
PCMWaveFormat _wvInfo
Audio::AudioStream_audioStream
Audio::PacketizedAudioStream_packetStream
uint32 _curChunk

Detailed Description

Definition at line 279 of file avi_decoder.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
kWaveFormatNone 
kWaveFormatPCM 
kWaveFormatMSADPCM 
kWaveFormatMSIMAADPCM 
kWaveFormatMP3 
kWaveFormatDK3 

Definition at line 299 of file avi_decoder.h.


Constructor & Destructor Documentation

Video::AVIDecoder::AVIAudioTrack::AVIAudioTrack ( const AVIStreamHeader streamHeader,
const PCMWaveFormat waveFormat,
Audio::Mixer::SoundType  soundType 
)

Definition at line 1041 of file avi_decoder.cpp.

Video::AVIDecoder::AVIAudioTrack::~AVIAudioTrack (  ) 

Definition at line 1050 of file avi_decoder.cpp.


Member Function Documentation

void Video::AVIDecoder::AVIAudioTrack::createAudioStream (  )  [virtual]

Definition at line 1093 of file avi_decoder.cpp.

Audio::AudioStream* Video::AVIDecoder::AVIAudioTrack::getAudioStream (  )  const [inline, protected]

Definition at line 296 of file avi_decoder.h.

uint32 Video::AVIDecoder::AVIAudioTrack::getCurChunk (  )  const [inline]

Definition at line 288 of file avi_decoder.h.

Common::String& Video::AVIDecoder::AVIAudioTrack::getName (  )  [inline]

Definition at line 289 of file avi_decoder.h.

bool Video::AVIDecoder::AVIAudioTrack::isRewindable (  )  const [inline]

Definition at line 292 of file avi_decoder.h.

void Video::AVIDecoder::AVIAudioTrack::queueSound ( Common::SeekableReadStream stream  )  [virtual]

Definition at line 1054 of file avi_decoder.cpp.

void Video::AVIDecoder::AVIAudioTrack::resetStream (  )  [virtual]

Definition at line 1082 of file avi_decoder.cpp.

bool Video::AVIDecoder::AVIAudioTrack::rewind (  ) 

Definition at line 1088 of file avi_decoder.cpp.

void Video::AVIDecoder::AVIAudioTrack::setCurChunk ( uint32  chunk  )  [inline]

Definition at line 290 of file avi_decoder.h.

void Video::AVIDecoder::AVIAudioTrack::skipAudio ( const Audio::Timestamp time,
const Audio::Timestamp frameTime 
)

Definition at line 1063 of file avi_decoder.cpp.


Member Data Documentation

Definition at line 312 of file avi_decoder.h.


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


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