I want to record human voice on mobile.
I wrote following pieces of code, it got compiled but while running on emulator it giving error that "Feature is not supported"
// create file to save recording
void CAudioRecEngine::CreateVoiceFileL(const TFileName& aFileName,MMdaObjectStateChangeObserver& aObserver)
iRecorder = CMdaAudioRecorderUtility::NewL(aObserver);
iVoiceFileLocation.iName = iDriveLetter;
iVoiceFileType = new (ELeave) CMdaAudioType;
iFormat = new (ELeave) TMdaRawAudioClipFormat
iCodec = new (ELeave) TMdaU8PcmRawAudioCodec;
iSettings = new (ELeave) TMdaAudioDataSettings;
iSettings->iSampleRate = 8000;
iSettings->iChannels = 1;
// Start recording
I am using beta version of series 60 3rd edition SDK.
I don't know, error is b'cas of beta version SDK???