CEncodedVoiceRecorder Class Reference

This class combines CVoiceRecorder and CSoundCodec to record encoded voice data. More...

#include <SoundModule.h>

List of all members.

Public Member Functions

 CEncodedVoiceRecorder ()
 Constructor. This does not initiate the sound recording.
void Start (char *options)
int GetAvailableData (ALbyte *data)
void Stop ()
 Stops the recording.
 ~CEncodedVoiceRecorder ()
 Destructor.

Protected Attributes

char * options
 Holds the sound options string.
CVoiceRecorder vr
 The voice recorder used.
CSoundCodec codec
 The sound codec used.


Detailed Description

This class combines CVoiceRecorder and CSoundCodec to record encoded voice data.

Member Function Documentation

void CEncodedVoiceRecorder::Start ( char *  options  ) 

Initiates the encoded sound recording.

Parameters:
options The sound options string. Refer to the design report.

int CEncodedVoiceRecorder::GetAvailableData ( ALbyte *  data  ) 

Acquires the recorded encoded sound data.

Parameters:
data The address of the memory that the recorded data will be written.
Returns:
The length of the recorded data. 0 indicates no data is available.


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

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5