Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User djburford's Avatar
    Join Date
    Oct 2004
    Posts
    2
    Hi,

    I have already seen several posts on the CMdaAudioRecorderUtility class. So, hopefully someone here can help us with our problem.

    We have an application that uses the CMdaAudioRecorderUtility to record speech from the phone microphone and save it to a wav file.

    When we build the app using the SDK for OS 7.0 (Nokia Series 60 2.1 SDK) and run the app on a 6600, it operates as expected. However, when run on a 6630, the app pops up a message which reports "Feature not supported". This seems to happen on a call to the RecordL() method of CMdaAudioRecorderUtility.

    We thought that rebuilding the app using the SDK for OS 8.0 may fix the problem, but unfortunately this does not seem to help.

    Can anyone help with this problem? What exactly does "feature not supported" indicate?

    Regards,
    Dennis

  2. #2
    Registered User shitalbhatiya's Avatar
    Join Date
    Jan 2006
    Posts
    1
    i m getting similar kind on error msg "feature not supported" bt with 3rd Ed SDK.
    can u tell in more detail what code u using?

  3. #3
    Registered User HellenZ's Avatar
    Join Date
    Sep 2005
    Posts
    44
    Did you try the sound example that comes with the SDK? It calls the same function. I tried on 6630, and it worked.

  4. #4
    Registered User gblank's Avatar
    Join Date
    Mar 2006
    Posts
    15
    Hi,

    I'm trying to create a recording application using CMdaAudioRecorderUtility.

    I'm using SDK60_3RD and visual studio2003 . NET.

    I'm getting the code to run but in the nokia emulator I get "Feature not supported" every time I reach CMdaAudioRecorderUtility::RecordL or CropL methods.

    Can you please help me with that.



    My code looks like this ;



    _LIT(file,"C:\\myrecord.wav");



    RArray<TUint> aSupportedSampleRates;

    iMdaAudioRecorderUtility->GetSupportedSampleRatesL(aSupportedSampleRates);



    iMdaAudioRecorderUtility->SetDestinationSampleRateL(TMdaAudioDataSettings::ESampleRate8000Hz);

    // Set maximum gain for recording

    iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain());

    // Delete current audio sample from beginning of file

    iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0));

    iMdaAudioRecorderUtility->SetAudioDeviceMode(CMdaAudioRecorderUtility::ELocal);

    // iMdaAudioRecorderUtility->CropL();

    iMdaAudioRecorderUtility->OpenFileL(file);

    int nState = iMdaAudioRecorderUtility->State();

    iMdaAudioRecorderUtility->RecordL();



    Thanks

  5. #5
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    Call OpenFileL() function in your ConstructL() function.

    regards,
    eswar

  6. #6
    Registered User gblank's Avatar
    Join Date
    Mar 2006
    Posts
    15
    I tried everything ( calling OpenFL from ConstructL ) all gives the same error ("Feature not supported" ) I just don't get it.
    It should be very simple.

  7. #7
    Regular Contributor Nitin SuperByte's Avatar
    Join Date
    Mar 2007
    Location
    "On a b'ful lil palnet called EARTH belongs wid Galaxy named MilkyWay in Universe"
    Posts
    402
    My problem is also same except my code is working fine on Nokia 3230 but fail on 6681 nd other set... to see my code click http://discussion.forum.nokia.com/fo...d.php?t=119355
    ===With Symbian===
    "Something Has Survived..!!!"

  8. #8
    Registered User LStar's Avatar
    Join Date
    Mar 2008
    Posts
    1
    I have the same error,my code is:
    iMdaAudioRecorderUtility->SetAudioDeviceMode( CMdaAudioRecorderUtility::ELocal);
    iMdaAudioRecorderUtility->SetVolume( iMdaAudioRecorderUtility->MaxVolume() );

    // Set maximum gain for recording
    iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain());
    iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0));

    iMdaAudioRecorderUtility->RecordL();

    it does not work,but when I add a line before "iMdaAudioRecorderUtility->RecordL(); ",like this:
    // Set maximum gain for recording
    iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain());
    iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0));

    CEikonEnv::Static()->InfoWinL(_L("Press any key and begin..."),_L(""));
    iMdaAudioRecorderUtility->RecordL();
    it workes well,I really don't know why this happend,can anyone tell me?
    send me a mail and tell me please,thinks.
    my mail is :
    sunstar_li@163.com

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