tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp
branchRCL_3
changeset 18 0da2e08216b6
parent 0 f0cf47e981f9
child 32 73a1feb507fb
--- a/tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp	Tue Apr 27 16:34:06 2010 +0300
+++ b/tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp	Tue May 11 16:10:30 2010 +0300
@@ -20,6 +20,11 @@
 
 
 
+CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iCurrentOutput =
+        CTelephonyAudioRouting::ENone;
+CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iPreviousOutput = 
+        CTelephonyAudioRouting::ENone;
+
 
 // ============================ MEMBER FUNCTIONS ===============================
 
@@ -86,6 +91,7 @@
         User::Leave( leaveValue );
         }
         
+    iPreviousOutput = iCurrentOutput;
     iCurrentOutput = aOutput;
     }