--- 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;
}