Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2007

    S60 3rd ed Recording audio with CMdaAudioRecorderUtility into RAM


    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:
    // Play through the device speaker
        // Set maximum volume for playback
        iMdaAudioRecorderUtility->SetVolume(iMdaAudioRecorderUtility->MaxVolume() - (iMdaAudioRecorderUtility->MaxVolume() / 4));
    	//Set position to last played position
    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.

    Can anyone help me out please?

  2. #2
    Regular Contributor
    Join Date
    May 2007

    Re: S60 3rd ed Recording audio with CMdaAudioRecorderUtility into RAM

    Ok now I cleaned the project and did a complete rebuild and I could debug the application.
    I get a KErrNotSupported error when I try to call OpenDesL().
    Does that mean that I cannot record to RAM using CMdaAudioRecorderUtility?
    Or am I just using the wrong kind of buffer?

    Any help is greatly appreciated.

Similar Threads

  1. Buggy AMR Audio Recording. Please Help!!
    By jhamby in forum Symbian
    Replies: 8
    Last Post: 2009-07-07, 10:34
  2. Video with audio recording delay problem on N90
    By vasya0 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-12-03, 16:44
  3. Recording an audio stream using the Series 60 emulator
    By rastapasta in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-04-23, 11:46
  4. PLz.. plzz.. help me Audio Recording
    By khalandar in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-02-19, 09:27
  5. Recording audio using 'CMdaAudioRecorderUtility'
    By Shaikuny in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2004-10-22, 08:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts