#include <SoundModule.h>
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. |
void CEncodedVoiceRecorder::Start | ( | char * | options | ) |
Initiates the encoded sound recording.
options | The sound options string. Refer to the design report. |
int CEncodedVoiceRecorder::GetAvailableData | ( | ALbyte * | data | ) |
Acquires the recorded encoded sound data.
data | The address of the memory that the recorded data will be written. |