CMdaAudioRecorderUtility::OpenFileL Problem on 8.0a Emulator
| Thu, 2005-06-30 10:40 | |
|
hi i have written following code Code: iAudio = CMdaAudioRecorderUtility::NewL(*this); iAudio->SetAudioDeviceMode(CMdaAudioRecorderUtility::ELocal); iAudioUtility->OpenFileL(filename); CActiveScheduler::Start(); file name contains an amr file path and is correct. now OpenFileL() should open file and return KErrNone in MoscoStateChangeEventL() Code: void CAudioEngine::MoscoStateChangeEvent(CBase* , TInt aPreviousState, TInt aCurrentState, TInt aErrorCode) {   if (aErrorCode!=KErrNone)   {     return;   }   else   { switch(aPreviousState) { case CMdaAudioRecorderUtility::EOpen: isFileOpen = ETrue; //Get back to the calling function. CActiveScheduler::Stop(); break; default: break; }    } } this code is woring fine NOKIA 6630 but on Series 60 8.0a emulator i am getting error code KErrNotFound. Even though the file is created. and if i am not running step by step it gives following error "Unhandled Execption in EPOC.EXE (VBRAUDIORECORDCONTROLLER.DLL): 0xC0000005: Access Violation." can any one please help. and this code worked fine on both NOKIA 6600 and 7.0 emulator. warm regards |
|






Forum posts: 76
..
KiraN Puranik
Forum posts: 83
warm regards
saurabh
Forum posts: 83
can any please confirm if this is a bug in series 60 SDK 2.0 FP2 edition
warm regards
saurabh