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

Grim::SmushDecoder::SmushAudioTrack Class Reference

#include <smush_decoder.h>

Inheritance diagram for Grim::SmushDecoder::SmushAudioTrack:
Collaboration diagram for Grim::SmushDecoder::SmushAudioTrack:

List of all members.

Public Member Functions

 SmushAudioTrack (Audio::Mixer::SoundType soundType, bool isVima, int freq=22050, int channels=-1)
 ~SmushAudioTrack ()
Audio::AudioStreamgetAudioStream () 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 ()

Private Attributes

bool _isVima
byte _IACToutput [4096]
int32 _IACTpos
int _channels
int _freq
Audio::QueuingAudioStream_queueStream

Detailed Description

Definition at line 109 of file smush_decoder.h.


Constructor & Destructor Documentation

Grim::SmushDecoder::SmushAudioTrack::SmushAudioTrack ( Audio::Mixer::SoundType  soundType,
bool  isVima,
int  freq = 22050,
int  channels = -1 
)

Definition at line 595 of file smush_decoder.cpp.

Grim::SmushDecoder::SmushAudioTrack::~SmushAudioTrack (  ) 

Definition at line 604 of file smush_decoder.cpp.


Member Function Documentation

Audio::AudioStream* Grim::SmushDecoder::SmushAudioTrack::getAudioStream (  )  const [inline, override]

Definition at line 114 of file smush_decoder.h.

int Grim::SmushDecoder::SmushAudioTrack::getRate (  )  const [inline]

Definition at line 118 of file smush_decoder.h.

void Grim::SmushDecoder::SmushAudioTrack::handleIACT ( Common::SeekableReadStream stream,
int32  size 
)

Definition at line 642 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushAudioTrack::handleVIMA ( Common::SeekableReadStream stream,
uint32  size 
)

Definition at line 616 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushAudioTrack::init (  ) 

Definition at line 608 of file smush_decoder.cpp.

bool Grim::SmushDecoder::SmushAudioTrack::isSeekable (  )  const [inline, override]

Definition at line 115 of file smush_decoder.h.

bool Grim::SmushDecoder::SmushAudioTrack::seek ( const Audio::Timestamp time  )  [override]

Definition at line 713 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushAudioTrack::skipSamples ( int  samples  ) 

Definition at line 717 of file smush_decoder.cpp.


Member Data Documentation

Definition at line 127 of file smush_decoder.h.

Definition at line 128 of file smush_decoder.h.

Definition at line 125 of file smush_decoder.h.

Definition at line 124 of file smush_decoder.h.


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


Generated on Sat Mar 23 2019 05:07:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge