Public Member Functions | |
void | PlayL () |
void | Stop () |
void | RecordL () |
~CAudioRecorderEngine () | |
void | MoscoStateChangeEvent (CBase *aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode) |
Static Public Member Functions | |
static CAudioRecorderEngine * | NewL (AudioRecorderPrivate *audioRecorderPvt) |
static CAudioRecorderEngine * | NewLC (AudioRecorderPrivate *audioRecorderPvt) |
Public Attributes | |
AudioRecorderPrivate * | iAudioRecorderPvt |
TBuf< 256 > | iResponse |
This class will demonstrate the multimedia framework APIS which are used to play a audio file.
Definition at line 61 of file audioengine.h.
CAudioRecorderEngine::~CAudioRecorderEngine | ( | ) |
close the file server, delete the recorder instance.
Definition at line 83 of file audioengine.cpp.
CAudioRecorderEngine * CAudioRecorderEngine::NewL | ( | AudioRecorderPrivate * | audioRecorderPvt | ) | [static] |
NewL() function of the class is used to create an instance of the audio engine.
Definition at line 55 of file audioengine.cpp.
CAudioRecorderEngine * CAudioRecorderEngine::NewLC | ( | AudioRecorderPrivate * | audioRecorderPvt | ) | [static] |
NewLC() function of the class is used to create an instance of the audio engine.
Definition at line 65 of file audioengine.cpp.
void CAudioRecorderEngine::PlayL | ( | ) |
Playback the recorded file.
Definition at line 115 of file audioengine.cpp.
void CAudioRecorderEngine::Stop | ( | ) |
Stop the recording / audio playback.
Definition at line 134 of file audioengine.cpp.
void CAudioRecorderEngine::RecordL | ( | ) |
This method is used to start the recording.
Definition at line 145 of file audioengine.cpp.
void CAudioRecorderEngine::MoscoStateChangeEvent | ( | CBase * | aObject, | |
TInt | aPreviousState, | |||
TInt | aCurrentState, | |||
TInt | aErrorCode | |||
) |
from MMdaObjectStateChangeObserver,Change in sound recorder state.
aObject | Recorder object | |
aPreviousState | Last state | |
aCurrentState | Current state | |
aErrorCode | Any error that has occurred |
This call back function is called, when there is a state change in the recorder. Opening a file, start recording, playing the recorded file.
Definition at line 107 of file audioengine.cpp.