CPEGsmAudioData Class Reference

class CPEGsmAudioData : public CPEAudioData

This file contains the header file of the class CPEGsmAudioData,

Audiohandling.lib
Since
Series60_2.7

Inherits from

Public Member Functions
~CPEGsmAudioData()
IMPORT_C voidHandleDTMFEvent(const MCCEDtmfObserver::TCCEDtmfEvent, const TInt, const TChar)
IMPORT_C CPEGsmAudioData *NewL(MPEPhoneModelInternal &, RFs &)
IMPORT_C CPEGsmAudioData *NewL(MPEPhoneModelInternal &, RFs &, CPEAudioFactory &)
IMPORT_C voidPlayDtmfTone(const TChar &)
IMPORT_C voidPlayInbandTone()
IMPORT_C voidStopDtmfTonePlay()
IMPORT_C voidStopInbandTonePlay()
Protected Member Functions
voidDoHandleVolumeChange(TInt)
Private Member Functions
CPEGsmAudioData(MPEPhoneModelInternal &, RFs &)
voidConstructL(CPEAudioFactory &)
TBool DtmfLocalPlayAllowed()
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()
CPEAudioData::CPEAudioData(MPEPhoneModelInternal &)
CPEAudioData::CallAudioRoutePreferenceChanged()
CPEAudioData::GetAudioMuteSync(TBool &)const
CPEAudioData::GetAudioVolumeSync(TInt &)const
CPEAudioData::HandleCallEnding()
CPEAudioData::HandleCallStarting(TBool)
CPEAudioData::HandleEnergencyCallStarting()
CPEAudioData::IsBTAvailable()
CPEAudioData::IsTTYAvailable()
CPEAudioData::IsWiredAvailable()
CPEAudioData::Output()
CPEAudioData::PreviousOutput()
CPEAudioData::RoutePreference()
CPEAudioData::SendErrorMessage(const TInt)
CPEAudioData::SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)
CPEAudioData::SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine,CTelephonyAudioRouting &)
CPEAudioData::SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine,const CTelephonyAudioRouting::TAudioOutput)
CPEAudioData::SetAudioMuteSync(const TBool)
CPEAudioData::SetAudioOutput(const TPEAudioOutput,TBool)
CPEAudioData::SetAudioVolumeSync(const TInt)
CPEAudioData::SetDefaultVolume()
CPEAudioData::SetRoutePreference(TBool)
CPEAudioData::SetTAROutput(CTelephonyAudioRouting::TAudioOutput,TBool)
CPEAudioData::StartUp()
CPEAudioData::~CPEAudioData()
Private Attributes
CPEAudioDtmfTonePlayer *iDtmfTonePlayer
RFs &iFsSession
CPEAudioInbandTonePlayer *iInbandTonePlayer
Inherited Attributes
CPEAudioData::iAudioOutputChanged
CPEAudioData::iAudioRouting
CPEAudioData::iAudioRoutingHandler
CPEAudioData::iAudioRoutingMonitor
CPEAudioData::iHeadSetVolume
CPEAudioData::iLoudspeakerVolume
CPEAudioData::iPEavailableOutputs
CPEAudioData::iPhoneModel
CPEAudioData::iRouteInitialized

Constructor & Destructor Documentation

CPEGsmAudioData(MPEPhoneModelInternal &, RFs &)

CPEGsmAudioData(MPEPhoneModelInternal &aPhoneModel,
RFs &aFsSession
)[private]

C++ default constructor.

Parameters

MPEPhoneModelInternal & aPhoneModel
RFs & aFsSession

~CPEGsmAudioData()

IMPORT_C~CPEGsmAudioData()[virtual]

Destructor.

Member Functions Documentation

ConstructL(CPEAudioFactory &)

voidConstructL(CPEAudioFactory &aAudioFactory)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CPEAudioFactory & aAudioFactory

DoHandleVolumeChange(TInt)

voidDoHandleVolumeChange(TIntaVolume)[protected, virtual]
Protected function for derived classes to implement for extended volume handling. Default implementation is empty.
Since
S60 v5.0

Parameters

TInt aVolumeNew volume value.

DtmfLocalPlayAllowed()

TBool DtmfLocalPlayAllowed()const [private]

Checks if a DTMF tone may be played locally The check is performed to prevent local play of dtmf tones sent by SAT application during a SAT originated call

HandleDTMFEvent(const MCCEDtmfObserver::TCCEDtmfEvent, const TInt, const TChar)

IMPORT_C voidHandleDTMFEvent(const MCCEDtmfObserver::TCCEDtmfEventaEvent,
const TIntaError,
const TCharaTone
)

All the occurred DTMF events are notified through this interface

Since
S60 3.2

Parameters

const MCCEDtmfObserver::TCCEDtmfEvent aEventEvent code
const TInt aErrorError code
const TChar aTonetone

NewL(MPEPhoneModelInternal &, RFs &)

IMPORT_C CPEGsmAudioData *NewL(MPEPhoneModelInternal &aPhoneModel,
RFs &aFsSession
)[static]

Two-phased constructor.

Parameters

MPEPhoneModelInternal & aPhoneModel
RFs & aFsSession

NewL(MPEPhoneModelInternal &, RFs &, CPEAudioFactory &)

IMPORT_C CPEGsmAudioData *NewL(MPEPhoneModelInternal &aPhoneModel,
RFs &aFsSession,
CPEAudioFactory &aAudioFactory
)[static]

Two-phased constructor for testing purposes

Parameters

MPEPhoneModelInternal & aPhoneModel
RFs & aFsSession
CPEAudioFactory & aAudioFactory

PlayDtmfTone(const TChar &)

IMPORT_C voidPlayDtmfTone(const TChar &aTone)const
Plays the given dtmf tone
Since
Series60_2.7

Parameters

const TChar & aTone

PlayInbandTone()

IMPORT_C voidPlayInbandTone()
Plays given tone.
Since
Series60_2.7

StopDtmfTonePlay()

IMPORT_C voidStopDtmfTonePlay()
Stops the playing of dtmf tone
Since
Series60_2.7

StopInbandTonePlay()

IMPORT_C voidStopInbandTonePlay()
Stops the playing of inband tone
Since
Series60_2.7

Member Data Documentation

CPEAudioDtmfTonePlayer * iDtmfTonePlayer

CPEAudioDtmfTonePlayer *iDtmfTonePlayer[private]

RFs & iFsSession

RFs &iFsSession[private]

CPEAudioInbandTonePlayer * iInbandTonePlayer

CPEAudioInbandTonePlayer *iInbandTonePlayer[private]