mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp
branchRCL_3
changeset 11 ff8a573c0e2e
parent 0 f0cf47e981f9
child 18 0da2e08216b6
--- a/mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp	Fri Mar 12 15:42:21 2010 +0200
+++ b/mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp	Mon Mar 15 12:40:08 2010 +0200
@@ -395,7 +395,14 @@
     return iAudioRouteChangeAllowed;
     }
     
-    
+// -----------------------------------------------------------------------------
+// 
+// -----------------------------------------------------------------------------
+//    
+void CMusEngObserverStub::VolumeChanged( TInt aVolume, TBool /*aAudioRouteChanged*/ )
+    {
+    iVolume = aVolume;
+    }
 
 // ----- HELPERS ---------------------------------------------------------------
 
@@ -439,7 +446,8 @@
              !iSessionTemporarilyNotAvailable &&
              !iIncomingSessionOriginator &&
              !iShowNote &&
-             iAudioRouteChangeAllowed );
+             iAudioRouteChangeAllowed &&
+             !iVolume );
     }
 
 // -----------------------------------------------------------------------------
@@ -483,6 +491,7 @@
     iIncomingSessionOriginator = NULL;
     iShowNote = EFalse;
     iAudioRouteChangeAllowed = ETrue;
+    iVolume = 0;
     }