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

#include <speech_manager.h>

Collaboration diagram for ICB::SpeechManager:

List of all members.

Public Member Functions

 SpeechManager ()
 ~SpeechManager ()
bool8 UpdateSpeech ()
bool8 StartSpeech (const char *fileName, uint32 byteOffsetToWav, int32 vol=128)
void StopSpeech ()
void PauseSpeech ()
void ResumeSpeech ()
void SetSpeechVolume (int volume)
bool8 IsPlaying ()
bool8 IsPaused ()
int GetLength ()

Private Member Functions

bool8 OpenSpeech (Common::SeekableReadStream *stream)
void KillBuffer ()
void SetVolume (int volume)

Private Attributes

Audio::SoundHandle _handle
int m_speechVol
uint32 m_wavByteOffsetInCluster
uint32 m_wavDataSize
bool8 m_paused
int m_lengthInCycles

Detailed Description

Definition at line 40 of file speech_manager.h.

Constructor & Destructor Documentation

ICB::SpeechManager::SpeechManager (  ) 

Definition at line 48 of file speech_manager.cpp.

ICB::SpeechManager::~SpeechManager (  ) 

Definition at line 58 of file speech_manager.cpp.

Member Function Documentation

int ICB::SpeechManager::GetLength (  )  [inline]

Definition at line 65 of file speech_manager.h.

bool8 ICB::SpeechManager::IsPaused (  )  [inline]

Definition at line 64 of file speech_manager.h.

bool8 ICB::SpeechManager::IsPlaying (  ) 

Definition at line 60 of file speech_manager.cpp.

void ICB::SpeechManager::KillBuffer (  )  [private]

Definition at line 173 of file speech_manager.cpp.

bool8 ICB::SpeechManager::OpenSpeech ( Common::SeekableReadStream stream  )  [private]

Definition at line 158 of file speech_manager.cpp.

void ICB::SpeechManager::PauseSpeech (  ) 

Definition at line 125 of file speech_manager.cpp.

void ICB::SpeechManager::ResumeSpeech (  ) 

Definition at line 136 of file speech_manager.cpp.

void ICB::SpeechManager::SetSpeechVolume ( int  volume  ) 

Definition at line 146 of file speech_manager.cpp.

void ICB::SpeechManager::SetVolume ( int  volume  )  [private]

Definition at line 153 of file speech_manager.cpp.

bool8 ICB::SpeechManager::StartSpeech ( const char *  fileName,
uint32  byteOffsetToWav,
int32  vol = 128 

Definition at line 70 of file speech_manager.cpp.

void ICB::SpeechManager::StopSpeech (  ) 

Definition at line 118 of file speech_manager.cpp.

bool8 ICB::SpeechManager::UpdateSpeech (  ) 

Definition at line 105 of file speech_manager.cpp.

Member Data Documentation

Definition at line 43 of file speech_manager.h.

Definition at line 50 of file speech_manager.h.

Definition at line 49 of file speech_manager.h.

Definition at line 44 of file speech_manager.h.

Definition at line 47 of file speech_manager.h.

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

Generated on Sat Sep 26 2020 05:03:42 for ResidualVM by doxygen 1.7.1
curved edge   curved edge