CCallAudioControlImpl Class Reference

class CCallAudioControlImpl : public CBase

Inherits from

Public Member Functions
~CCallAudioControlImpl ()
TInt AppendDownlinkVolumeObserver ( CDownlinkVolumeObserver &)
TInt AppendRoutingObserver ( CRoutingObserver &)
TInt AppendUplinkGainObserver ( CUplinkGainObserver &)
TInt GetAvailableOutputs ( RArray < CCallAudioControl::TAudioOutput > &)
TInt GetDownlinkVolume ( TUint &)
TInt GetMaxDownlinkVolume ( TUint &)
TInt GetMinDownlinkVolume ( TUint &)
TInt GetOutput ( CCallAudioControl::TAudioOutput &)
TInt GetUplinkMute ( TBool &)
CCallAudioControlImpl * NewL ()
void NotifyL ( TAction , TInt , TInt )
TInt PreviousOutput ( CCallAudioControl::TAudioOutput &)
TInt RemoveDownlinkVolumeObserver ( CDownlinkVolumeObserver &)
TInt RemoveRoutingObserver ( CRoutingObserver &)
TInt RemoveUplinkGainObserver ( CUplinkGainObserver &)
TInt SetDownlinkVolume ( TUint )
TInt SetOutput ( CCallAudioControl::TAudioOutput )
TInt SetUplinkMute ( TBool )
Private Member Functions
CCallAudioControlImpl ()
void AvailableOutputsChanged ( CTelephonyAudioRouting &)
TInt CheckIfOkToSetVolume ()
void ConstructL ()
TInt GetVolume ()
TInt HandleCallStateChange ()
TInt HandleEPVolumeChange ( TInt )
TInt HandleIHFVolumeChange ( TInt )
TInt HandleMuteChange ( TBool )
TBool IsCallActive ()
void NotifyGainObservers ()
void NotifyRoutingObservers ( TUint , TInt )
void NotifyRoutingObservers ( TUint )
void NotifyVolumeObservers ()
void OutputChanged ( CTelephonyAudioRouting &)
TInt SetMute ( TBool )
void SetOutputComplete ( CTelephonyAudioRouting &, TInt )
TInt VerifyAndSetVolume ( TInt )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TInt iCallState
CCallAudioControlProperty * iCsNotifier
CCallAudioControl::TAudioOutput iCurrentAudioOutput
RPointerArray < CDownlinkVolumeObserver > iDownlinkVolumeObservers
CCallAudioControlRepository * iEpVolumeNotifier
CCallAudioControlRepository * iIhfVolumeNotifier
CCallAudioControlProperty * iMuteNotifier
TBool iPendingEpVolLevelOp
TBool iPendingIhfVolLevelOp
TBool iPendingMuteSetOp
CPhCltCommandHandler * iPhoneClient
CCallAudioControl::TAudioOutput iPreviousAudioOutput
TBool iRequestedEpVolLevel
TBool iRequestedIhfVolLevel
TBool iRequestedMuteState
RPointerArray < CRoutingObserver > iRoutingObservers
CTelephonyAudioRouting * iTelephonyAudioRouting
RPointerArray < CUplinkGainObserver > iUplinkGainObservers
TInt iVolume
TBool iWinsTesting

Constructor & Destructor Documentation

CCallAudioControlImpl()

CCallAudioControlImpl ( ) [private]

~CCallAudioControlImpl()

~CCallAudioControlImpl ( )

Member Functions Documentation

AppendDownlinkVolumeObserver(CDownlinkVolumeObserver &)

TInt AppendDownlinkVolumeObserver ( CDownlinkVolumeObserver & aObserver )

Parameters

CDownlinkVolumeObserver & aObserver

AppendRoutingObserver(CRoutingObserver &)

TInt AppendRoutingObserver ( CRoutingObserver & aObserver )

Parameters

CRoutingObserver & aObserver

AppendUplinkGainObserver(CUplinkGainObserver &)

TInt AppendUplinkGainObserver ( CUplinkGainObserver & aObserver )

Parameters

CUplinkGainObserver & aObserver

AvailableOutputsChanged(CTelephonyAudioRouting &)

void AvailableOutputsChanged ( CTelephonyAudioRouting & aTelephonyAudioRouting ) [private]

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting

CheckIfOkToSetVolume()

TInt CheckIfOkToSetVolume ( ) [private]

ConstructL()

void ConstructL ( ) [private]

GetAvailableOutputs(RArray< CCallAudioControl::TAudioOutput > &)

TInt GetAvailableOutputs ( RArray < CCallAudioControl::TAudioOutput > & aAvailableOutputs )

Parameters

RArray < CCallAudioControl::TAudioOutput > & aAvailableOutputs

GetDownlinkVolume(TUint &)

TInt GetDownlinkVolume ( TUint & aVolume )

Parameters

TUint & aVolume

GetMaxDownlinkVolume(TUint &)

TInt GetMaxDownlinkVolume ( TUint & aVolume )

Parameters

TUint & aVolume

GetMinDownlinkVolume(TUint &)

TInt GetMinDownlinkVolume ( TUint & aVolume )

Parameters

TUint & aVolume

GetOutput(CCallAudioControl::TAudioOutput &)

TInt GetOutput ( CCallAudioControl::TAudioOutput & aOutput )

GetUplinkMute(TBool &)

TInt GetUplinkMute ( TBool & aMute )

Parameters

TBool & aMute

GetVolume()

TInt GetVolume ( ) [private]

HandleCallStateChange()

TInt HandleCallStateChange ( ) [private]

HandleEPVolumeChange(TInt)

TInt HandleEPVolumeChange ( TInt aVolume ) [private]

Parameters

TInt aVolume

HandleIHFVolumeChange(TInt)

TInt HandleIHFVolumeChange ( TInt aVolume ) [private]

Parameters

TInt aVolume

HandleMuteChange(TBool)

TInt HandleMuteChange ( TBool aMute ) [private]

Parameters

TBool aMute

IsCallActive()

TBool IsCallActive ( ) [private]

NewL()

CCallAudioControlImpl * NewL ( ) [static]

NotifyGainObservers()

void NotifyGainObservers ( ) [private]

NotifyL(TAction, TInt, TInt)

void NotifyL ( TAction aAction,
TInt aError,
TInt aValue
)

Parameters

TAction aAction
TInt aError
TInt aValue

NotifyRoutingObservers(TUint, TInt)

void NotifyRoutingObservers ( TUint aEvent,
TInt aError
) [private]

Parameters

TUint aEvent
TInt aError

NotifyRoutingObservers(TUint)

void NotifyRoutingObservers ( TUint aEvent ) [private]

Parameters

TUint aEvent

NotifyVolumeObservers()

void NotifyVolumeObservers ( ) [private]

OutputChanged(CTelephonyAudioRouting &)

void OutputChanged ( CTelephonyAudioRouting & aTelephonyAudioRouting ) [private]

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting

PreviousOutput(CCallAudioControl::TAudioOutput &)

TInt PreviousOutput ( CCallAudioControl::TAudioOutput & aPrevOutput )

Parameters

CCallAudioControl::TAudioOutput & aPrevOutput

RemoveDownlinkVolumeObserver(CDownlinkVolumeObserver &)

TInt RemoveDownlinkVolumeObserver ( CDownlinkVolumeObserver & aObserver )

Parameters

CDownlinkVolumeObserver & aObserver

RemoveRoutingObserver(CRoutingObserver &)

TInt RemoveRoutingObserver ( CRoutingObserver & aObserver )

Parameters

CRoutingObserver & aObserver

RemoveUplinkGainObserver(CUplinkGainObserver &)

TInt RemoveUplinkGainObserver ( CUplinkGainObserver & aObserver )

Parameters

CUplinkGainObserver & aObserver

SetDownlinkVolume(TUint)

TInt SetDownlinkVolume ( TUint aVolume )

Parameters

TUint aVolume

SetMute(TBool)

TInt SetMute ( TBool aMute ) [private]

Parameters

TBool aMute

SetOutput(CCallAudioControl::TAudioOutput)

TInt SetOutput ( CCallAudioControl::TAudioOutput aOutput )

SetOutputComplete(CTelephonyAudioRouting &, TInt)

void SetOutputComplete ( CTelephonyAudioRouting & aTelephonyAudioRouting,
TInt aErr
) [private]

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting
TInt aErr

SetUplinkMute(TBool)

TInt SetUplinkMute ( TBool aMute )

Parameters

TBool aMute

VerifyAndSetVolume(TInt)

TInt VerifyAndSetVolume ( TInt aVolume ) [private]

Parameters

TInt aVolume

Member Data Documentation

TInt iCallState

TInt iCallState [private]

CCallAudioControlProperty * iCsNotifier

CCallAudioControlProperty * iCsNotifier [private]

CCallAudioControl::TAudioOutput iCurrentAudioOutput

CCallAudioControl::TAudioOutput iCurrentAudioOutput [private]

RPointerArray< CDownlinkVolumeObserver > iDownlinkVolumeObservers

RPointerArray < CDownlinkVolumeObserver > iDownlinkVolumeObservers [private]

CCallAudioControlRepository * iEpVolumeNotifier

CCallAudioControlRepository * iEpVolumeNotifier [private]

CCallAudioControlRepository * iIhfVolumeNotifier

CCallAudioControlRepository * iIhfVolumeNotifier [private]

CCallAudioControlProperty * iMuteNotifier

CCallAudioControlProperty * iMuteNotifier [private]

TBool iPendingEpVolLevelOp

TBool iPendingEpVolLevelOp [private]

TBool iPendingIhfVolLevelOp

TBool iPendingIhfVolLevelOp [private]

TBool iPendingMuteSetOp

TBool iPendingMuteSetOp [private]

CPhCltCommandHandler * iPhoneClient

CPhCltCommandHandler * iPhoneClient [private]

CCallAudioControl::TAudioOutput iPreviousAudioOutput

CCallAudioControl::TAudioOutput iPreviousAudioOutput [private]

TBool iRequestedEpVolLevel

TBool iRequestedEpVolLevel [private]

TBool iRequestedIhfVolLevel

TBool iRequestedIhfVolLevel [private]

TBool iRequestedMuteState

TBool iRequestedMuteState [private]

RPointerArray< CRoutingObserver > iRoutingObservers

RPointerArray < CRoutingObserver > iRoutingObservers [private]

CTelephonyAudioRouting * iTelephonyAudioRouting

CTelephonyAudioRouting * iTelephonyAudioRouting [private]

RPointerArray< CUplinkGainObserver > iUplinkGainObservers

RPointerArray < CUplinkGainObserver > iUplinkGainObservers [private]

TInt iVolume

TInt iVolume [private]

TBool iWinsTesting

TBool iWinsTesting [private]