Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor Wah's Avatar
    Join Date
    Mar 2003
    Posts
    55
    Hi folks,

    I have a project to record sound in Nokia phone. The main goal of my project is record the sound in small size, so WAV cannot be use. I have read some information from forum and make a test. Following is part of the source code. It can record sound in amr format, however it works in Nokia 6600, but not in 7610 and N70.
    Any idea?

    Besides, where I can find the UID for others clip format? such as ogg, mp3 or others compressed audio formation for MMF? I want to try others format incase amr not work.

    Thanks



    In ConstructL:

    iMdaAudioRecorderUtility = CMdaAudioRecorderUtility::NewL(*this, 0, 80, EMdaPriorityPreferenceQuality);

    OpenFile:
    const TUid KMMFExControllerUID = {0x101F5022};
    const TUid KMMFExDesFormatUID = {0x101FAF66};
    const TUint32 KMMFFourCCCodeAMR = {0x524d4120};

    iMdaAudioRecorderUtility->OpenFileL(aFileName,KMMFExControllerUID,KMMFExControllerUID,KMMFExDesFormatUID,KMMFFourCCCodeAMR);

    where aFileName is E:\test.amr



    Record:
    // Set maximum gain for recording
    iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain());

    // Delete current audio sample from beginning of file
    // CropL doesn't work according forum nokia know issues
    // iMdaAudioRecorderUtility->CropL();

    iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0));

    iMdaAudioRecorderUtility->RecordL();

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    there are no support on recording Mp3 with series 60 devices (6600 does not even play MP3 nativly). Anyway, you could search this forum for recording using streams. If I remember right Sten had quite nice posts descriping on how to record AMR with streams.

    yucca

  3. #3
    Regular Contributor Wah's Avatar
    Join Date
    Mar 2003
    Posts
    55
    Thanks for you information.

    Besdies where I can find others audio clip format UID?

Similar Threads

  1. Replies: 0
    Last Post: 2004-04-12, 07:50
  2. How to use CMdaAudioRecorderUtility to Record sound in amr?
    By ruixj in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-03-26, 08:05
  3. How can I play and record AMR format sound ?
    By ruixj in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-03-26, 04:49
  4. Amr sound file format
    By alepe in forum Symbian C++
    Replies: 2
    Last Post: 2004-01-25, 19:17
  5. AMR sound problem in 3650 & 6600
    By ankur_k in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-01-21, 14:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved