News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

Zap::GameUserInterface::VoiceRecorder struct Reference

Zap::GameUserInterface::VoiceRecorder Struct Reference


Public Types

enum  {
  FirstVoiceAudioSampleTime = 250,
  VoiceAudioSampleTime = 100,
  MaxDetectionThreshold = 2048
}

Public Member Functions

 VoiceRecorder ()
void idle (U32 timeDelta)
void process ()
void start ()
void stop ()
void render ()

Data Fields

Timer mVoiceAudioTimer
RefPtr< SFXObjectmVoiceSfx
RefPtr< VoiceEncodermVoiceEncoder
bool mRecordingAudio
S32 mMaxAudioSample
S32 mMaxForGain
ByteBufferPtr mUnusedAudio

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
FirstVoiceAudioSampleTime 
VoiceAudioSampleTime 
MaxDetectionThreshold 


Constructor & Destructor Documentation

Zap::GameUserInterface::VoiceRecorder::VoiceRecorder  ) 
 


Member Function Documentation

void Zap::GameUserInterface::VoiceRecorder::idle U32  timeDelta  ) 
 

void Zap::GameUserInterface::VoiceRecorder::process  ) 
 

void Zap::GameUserInterface::VoiceRecorder::start  ) 
 

void Zap::GameUserInterface::VoiceRecorder::stop  ) 
 

void Zap::GameUserInterface::VoiceRecorder::render  ) 
 


Field Documentation

Timer Zap::GameUserInterface::VoiceRecorder::mVoiceAudioTimer
 

RefPtr<SFXObject> Zap::GameUserInterface::VoiceRecorder::mVoiceSfx
 

RefPtr<VoiceEncoder> Zap::GameUserInterface::VoiceRecorder::mVoiceEncoder
 

bool Zap::GameUserInterface::VoiceRecorder::mRecordingAudio
 

S32 Zap::GameUserInterface::VoiceRecorder::mMaxAudioSample
 

S32 Zap::GameUserInterface::VoiceRecorder::mMaxForGain
 

ByteBufferPtr Zap::GameUserInterface::VoiceRecorder::mUnusedAudio