tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    17 
    17 
    18 
    18 
    19 #include <telephonyaudiorouting.h>
    19 #include <telephonyaudiorouting.h>
    20 
    20 
    21 
    21 
       
    22 
       
    23 CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iCurrentOutput =
       
    24         CTelephonyAudioRouting::ENone;
       
    25 CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iPreviousOutput = 
       
    26         CTelephonyAudioRouting::ENone;
    22 
    27 
    23 
    28 
    24 // ============================ MEMBER FUNCTIONS ===============================
    29 // ============================ MEMBER FUNCTIONS ===============================
    25 
    30 
    26 
    31 
    84         TInt leaveValue = iForceFailWithCode;
    89         TInt leaveValue = iForceFailWithCode;
    85         iForceFailWithCode = KErrNone;
    90         iForceFailWithCode = KErrNone;
    86         User::Leave( leaveValue );
    91         User::Leave( leaveValue );
    87         }
    92         }
    88         
    93         
       
    94     iPreviousOutput = iCurrentOutput;
    89     iCurrentOutput = aOutput;
    95     iCurrentOutput = aOutput;
    90     }
    96     }
    91 
    97 
    92 
    98 
    93 // -----------------------------------------------------------------------------
    99 // -----------------------------------------------------------------------------