hi im trying to record the uplink voice during when the call gets connected.Im using the CMdaAudioRecorderUtility to record the voice.But im facing a strange problem.
When my call gets connected im calling the following for opening a file for recording:
file123.Create(ifs, _L("C:\\Test.wav"), EFileShareExclusive | EFileWrite);
But the problem is that after call of this OpenFileL func. the callback function which is:
MoscoStateChangeEvent(CBase* aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode)
is not getting called and therefore i always gets a empty wave file recorded.
Im also calling the Stop() function of recording API when my call gets diconnected.
I have also trapped the OpenFileL() function and it returns 0 as error code.
So anybody having idea that why nothing is executed after OpenFileL() is called.