CCallAudioControlImpl Class Reference

class CCallAudioControlImpl : public CBase

Inherits from

  • CCallAudioControlImpl
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()
voidNotifyL(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()
voidAvailableOutputsChanged(CTelephonyAudioRouting &)
TInt CheckIfOkToSetVolume()
voidConstructL()
TInt GetVolume()
TInt HandleCallStateChange()
TInt HandleEPVolumeChange(TInt)
TInt HandleIHFVolumeChange(TInt)
TInt HandleMuteChange(TBool)
TBool IsCallActive()
voidNotifyGainObservers()
voidNotifyRoutingObservers(TUint, TInt)
voidNotifyRoutingObservers(TUint)
voidNotifyVolumeObservers()
voidOutputChanged(CTelephonyAudioRouting &)
TInt SetMute(TBool)
voidSetOutputComplete(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 &)

voidAvailableOutputsChanged(CTelephonyAudioRouting &aTelephonyAudioRouting)[private]

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting

CheckIfOkToSetVolume()

TInt CheckIfOkToSetVolume()[private]

ConstructL()

voidConstructL()[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)

Parameters

CCallAudioControl::TAudioOutput & aOutput

GetUplinkMute(TBool &)

TInt GetUplinkMute(TBool &aMute)

Parameters

TBool & aMute

GetVolume()

TInt GetVolume()[private]

HandleCallStateChange()

TInt HandleCallStateChange()[private]

HandleEPVolumeChange(TInt)

TInt HandleEPVolumeChange(TIntaVolume)[private]

Parameters

TInt aVolume

HandleIHFVolumeChange(TInt)

TInt HandleIHFVolumeChange(TIntaVolume)[private]

Parameters

TInt aVolume

HandleMuteChange(TBool)

TInt HandleMuteChange(TBoolaMute)[private]

Parameters

TBool aMute

IsCallActive()

TBool IsCallActive()[private]

NewL()

CCallAudioControlImpl *NewL()[static]

NotifyGainObservers()

voidNotifyGainObservers()[private]

NotifyL(TAction, TInt, TInt)

voidNotifyL(TActionaAction,
TIntaError,
TIntaValue
)

Parameters

TAction aAction
TInt aError
TInt aValue

NotifyRoutingObservers(TUint, TInt)

voidNotifyRoutingObservers(TUintaEvent,
TIntaError
)[private]

Parameters

TUint aEvent
TInt aError

NotifyRoutingObservers(TUint)

voidNotifyRoutingObservers(TUintaEvent)[private]

Parameters

TUint aEvent

NotifyVolumeObservers()

voidNotifyVolumeObservers()[private]

OutputChanged(CTelephonyAudioRouting &)

voidOutputChanged(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(TUintaVolume)

Parameters

TUint aVolume

SetMute(TBool)

TInt SetMute(TBoolaMute)[private]

Parameters

TBool aMute

SetOutput(CCallAudioControl::TAudioOutput)

TInt SetOutput(CCallAudioControl::TAudioOutputaOutput)

SetOutputComplete(CTelephonyAudioRouting &, TInt)

voidSetOutputComplete(CTelephonyAudioRouting &aTelephonyAudioRouting,
TIntaErr
)[private]

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting
TInt aErr

SetUplinkMute(TBool)

TInt SetUplinkMute(TBoolaMute)

Parameters

TBool aMute

VerifyAndSetVolume(TInt)

TInt VerifyAndSetVolume(TIntaVolume)[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]