mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp
branchRCL_3
changeset 11 ff8a573c0e2e
parent 0 f0cf47e981f9
child 18 0da2e08216b6
equal deleted inserted replaced
10:04980be5c5fe 11:ff8a573c0e2e
   393 TBool CMusEngObserverStub::AudioRouteChangeAllowed() const
   393 TBool CMusEngObserverStub::AudioRouteChangeAllowed() const
   394     {
   394     {
   395     return iAudioRouteChangeAllowed;
   395     return iAudioRouteChangeAllowed;
   396     }
   396     }
   397     
   397     
   398     
   398 // -----------------------------------------------------------------------------
       
   399 // 
       
   400 // -----------------------------------------------------------------------------
       
   401 //    
       
   402 void CMusEngObserverStub::VolumeChanged( TInt aVolume, TBool /*aAudioRouteChanged*/ )
       
   403     {
       
   404     iVolume = aVolume;
       
   405     }
   399 
   406 
   400 // ----- HELPERS ---------------------------------------------------------------
   407 // ----- HELPERS ---------------------------------------------------------------
   401 
   408 
   402 
   409 
   403 // -----------------------------------------------------------------------------
   410 // -----------------------------------------------------------------------------
   437              !iAudioRoutingChangedCalled &&
   444              !iAudioRoutingChangedCalled &&
   438              iTranscodingProgressedPercentage == 0 &&
   445              iTranscodingProgressedPercentage == 0 &&
   439              !iSessionTemporarilyNotAvailable &&
   446              !iSessionTemporarilyNotAvailable &&
   440              !iIncomingSessionOriginator &&
   447              !iIncomingSessionOriginator &&
   441              !iShowNote &&
   448              !iShowNote &&
   442              iAudioRouteChangeAllowed );
   449              iAudioRouteChangeAllowed &&
       
   450              !iVolume );
   443     }
   451     }
   444 
   452 
   445 // -----------------------------------------------------------------------------
   453 // -----------------------------------------------------------------------------
   446 // 
   454 // 
   447 // -----------------------------------------------------------------------------
   455 // -----------------------------------------------------------------------------
   481     delete iIncomingSessionOriginator;
   489     delete iIncomingSessionOriginator;
   482     iSessionTemporarilyNotAvailable = EFalse;   
   490     iSessionTemporarilyNotAvailable = EFalse;   
   483     iIncomingSessionOriginator = NULL;
   491     iIncomingSessionOriginator = NULL;
   484     iShowNote = EFalse;
   492     iShowNote = EFalse;
   485     iAudioRouteChangeAllowed = ETrue;
   493     iAudioRouteChangeAllowed = ETrue;
       
   494     iVolume = 0;
   486     }
   495     }
   487 
   496 
   488 
   497 
   489 // CSipProfileAlrController STUB
   498 // CSipProfileAlrController STUB
   490 CSipProfileAlrController* CSipProfileAlrController::NewL( 
   499 CSipProfileAlrController* CSipProfileAlrController::NewL(