problem when CMdaAudioRecorderUtility->SetDestinationFormatL() is used
| Sun, 2005-07-17 08:03 | |
|
Hi
Greetings I need to record to a file in raw format, Using SetDestinationFormatL() i am setting the foprmat to raw type, but it is giving the error as " Feature Not supported " The code is given below void CRecorderAdapter::RecordL() { // Record from the device microphone iMdaAudioRecorderUtility->SetAudioDeviceMode(CMdaAudioRecorderUtility::ELocal); // Set maximum gain for recording iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain()); // Delete current audio sample from beginning of file iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0)); iMdaAudioRecorderUtility->CropL(); TMdaRawAudioClipFormat *iClipFormat = new (ELeave) TMdaRawAudioClipFormat; iMdaAudioRecorderUtility->SetDestinationFormatL(iClipFormat->Uid()); iMdaAudioRecorderUtility->RecordL(); } Thanks in advance |
|





