×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2003
    Posts
    88

    Yucca: Recording in a Descriptor

    Hi..
    I am trying to record in to a decstriptor but i am unable to do so..the changes done in the code of recording in a file are...
    iMdaAudioRecorderUtility = CMdaAudioRecorderUtility::NewL(*this);
    TMdaDesClipLocation cliplocation(buffer);
    TMdaRawAudioClipFormat rawFormat;
    TMdaRawAudioCodec codec;
    TMdaAudioDataSettings audiosettings;
    audiosettings.iSampleRate=8000;
    audiosettings.iChannels=1;
    //iMdaAudioRecorderUtility->OpenL(&cliplocation,NULL,NULL,NULL); //&codec,&audiosettings


    Buffer is decribed as follows:::::
    TBuf8<10000> buffer;

  2. #2
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    I'm not yucca, but your TBuf8<10000> buffer will exhaust the stack. The default stack size on Symbian is only 8k. Try allocating the buffer from heap.

    Lauri

  3. #3
    Regular Contributor
    Join Date
    May 2003
    Posts
    88

    Error Again

    hi,
    i have reduced the buffer size..then also the memory access error while debugging...

    help if possible..

    regards
    techno2003

Posting Permissions

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