×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    22

    CMdaAudioRecorderUtility - File Open on a descripter fails.

    hi,

    I'm using CMdaAudioRecorderUtility class to play/record using a descripter. Whenever I use OpenL() function using TMdaDesClipLocation, the MoscoStateChangeEvent() callback gives me KErrBadDescriptor (-38) error. Can anyone tell me what is going wrong whenever I use a discriptor to open.

    The code is as follows:
    --------------------------

    HBufC8* iMyBuf = HBufC8::NewL(2056);

    iLocation.iDes = (TDesC8*) &(iMyBuf->Des());

    iMdaAudioRecorderUtility->OpenL(&iLocation, &iFormat,&iCodec);


    thanks in advance,
    abhi

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    21

    RE: CMdaAudioRecorderUtility - File Open on a descripter fails.

    This is a far shot, but when I polled the length of the
    recorded audio descriptor, it increased in 2000 byte chunks.
    The buffer may be too short.

Posting Permissions

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