tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp
branchRCL_3
changeset 23 bc78a40cd63c
parent 22 73a1feb507fb
--- a/tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp	Tue Aug 31 15:12:07 2010 +0300
+++ b/tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp	Wed Sep 01 12:31:01 2010 +0100
@@ -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;
     }