I am trying to use the 'CMdaAudioRecorderUtility' object for recording audio on Nokia 3650 (OS 6.1) however each time I am attempting to do so, the application crashes.
this is what I am doing for opening the device:
// Begining for code:
m_audioSettings.iSampleRate = sr;
m_audioSettings.iChannels = channels;
m_audioSettings.iFlags = TMdaAudioDataSettings::ENoNetworkRouting;
m_audioSettings.iMaxVolume = 1;
m_pRecordedUtility = CMdaAudioRecorderUtility::NewL(m_recorderObserver);
m_pRecordedUtility->OpenL( &m_clipLocation, &m_rawAudioClipFormat,
//// end of code
the application crashes when I am trying to perform:
Am I opening the device correctly ?
if not, what am I doing wrong ?
Is there any sample code available for doing what I am trying to do ?
Thanks in advance !
Shai . K