mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioRecorderTestModule/src/CropFromBeginning.cpp
--- a/mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioRecorderTestModule/src/CropFromBeginning.cpp Tue Aug 31 15:43:02 2010 +0300
+++ b/mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioRecorderTestModule/src/CropFromBeginning.cpp Wed Sep 01 12:23:00 2010 +0100
@@ -107,7 +107,7 @@
CActiveScheduler::Start();
- if (selfObj->callbackErr != KErrNone)
+ if (error == KErrNone)
{
error = selfObj->callbackErr;
}
@@ -140,8 +140,8 @@
#ifdef _DEBUG
RDebug::Print (_L ("CCropFromBeginning::MoscoStateChangeEvent"));
#endif
-
- callbackErr = aErrorCode;
+ TInt err = KErrNone;
+// callbackErr = KErrNone;
logger->Log(_L("MoscoStateChangeEvent called, error: %d prev: %d curr : %d"),aErrorCode,aPreviousState,aCurrentState);
@@ -185,12 +185,6 @@
CActiveScheduler::Stop();
}
- if (aErrorCode != KErrNone)
- {
-
- CActiveScheduler::Stop();
-
- }
return;