equal
deleted
inserted
replaced
935 DP_CONTEXT(CDevAudioControl::ContextEvent *CD1*, CtxDevSound, DPLOCAL); |
935 DP_CONTEXT(CDevAudioControl::ContextEvent *CD1*, CtxDevSound, DPLOCAL); |
936 DP_IN(); |
936 DP_IN(); |
937 |
937 |
938 if (aEvent == KUidA3FContextUpdateComplete) |
938 if (aEvent == KUidA3FContextUpdateComplete) |
939 { |
939 { |
940 if(iIgnoreAsyncOpComplete) |
940 if(iIgnoreAsyncOpComplete) |
941 { |
941 { |
942 iAdaptationObserver->PreemptionFinishedCallbackReceived(ETrue); |
942 iAdaptationObserver->PreemptionFinishedCallbackReceived(ETrue); |
943 iIgnoreAsyncOpComplete = EFalse; |
943 iIgnoreAsyncOpComplete = EFalse; |
944 } |
944 } |
945 else |
945 else |
946 { |
946 { |
947 iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue); |
947 iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue); |
948 } |
948 } |
949 } |
949 } |
950 else if(aEvent == KUidA3FContextPreEmption || aEvent == KUidA3FContextPreEmptedCommit) |
950 else if(aEvent == KUidA3FContextPreEmption || aEvent == KUidA3FContextPreEmptedCommit) |
951 { |
951 { |
952 |
952 |
953 //Preemption during the below states should complete invoke AsynOperationComplete |
953 //Preemption during the below states should complete invoke AsynOperationComplete |