phoneengine/audiohandling/src/cpegsmaudiodata.cpp
changeset 27 2f8f8080a020
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
--- a/phoneengine/audiohandling/src/cpegsmaudiodata.cpp	Fri Apr 16 14:58:25 2010 +0300
+++ b/phoneengine/audiohandling/src/cpegsmaudiodata.cpp	Mon May 03 12:31:11 2010 +0300
@@ -83,6 +83,9 @@
     
     iInbandTonePlayer = 
         CPEAudioInbandTonePlayer::NewL( *this, iFsSession, aAudioFactory );
+    TInt volume = iPhoneModel.DataStore()->AudioVolume(); 
+    iInbandTonePlayer->SetVolume( volume );
+    
     iDtmfTonePlayer = CPEAudioDtmfTonePlayer::NewL();
     }
 
@@ -295,10 +298,11 @@
 // CPEGsmAudioData::DoHandleVolumeChange
 // -----------------------------------------------------------------------------
 //
-void CPEGsmAudioData::DoHandleVolumeChange( TInt aVolume )
+void CPEGsmAudioData::DoHandleVolumeChange( TInt aVolume, TBool aSendMsg)
 
     {
     iInbandTonePlayer->SetVolume( aVolume );
+    CPEAudioData::DoHandleVolumeChange(aVolume , aSendMsg);
     }
 
 // ================= OTHER EXPORTED FUNCTIONS ===============================