I was wondering if it is possible to record audio into RAM using CMdaAudioRecorderUtiliy.
I used the example and tweaked to use OpenDesL instead of OpenFile.
I used a HBufC8 created with HBufC8::NewMaxL(bufsize) and then dereferenced the HBufC8 pointer to get a descriptor that I passed to OpenDesL.
I don't get any error message but using this code to play the data back after stopping the recording doesn't produce any audible output:
I tried to debug the application with on-device debug but the debugger did not let me step into any of the functions that's calling MdaAudioRecorderUtility.
// Play through the device speaker
// Set maximum volume for playback
iMdaAudioRecorderUtility->SetVolume(iMdaAudioRecorderUtility->MaxVolume() - (iMdaAudioRecorderUtility->MaxVolume() / 4));
//Set position to last played position
Can anyone help me out please?