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 void HandleDTMFEvent (const MCCEDtmfObserver::TCCEDtmfEvent , const TInt , const TChar )
IMPORT_C CPEGsmAudioData * NewL ( MPEPhoneModelInternal &, RFs &)
IMPORT_C CPEGsmAudioData * NewL ( MPEPhoneModelInternal &, RFs &, CPEAudioFactory &)
IMPORT_C void PlayDtmfTone (const TChar &)
IMPORT_C void PlayInbandTone ()
IMPORT_C void StopDtmfTonePlay ()
IMPORT_C void StopInbandTonePlay ()
Protected Member Functions
void DoHandleVolumeChange ( TInt )
Private Member Functions
CPEGsmAudioData ( MPEPhoneModelInternal &, RFs &)
void ConstructL (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 &)

void ConstructL ( CPEAudioFactory & aAudioFactory ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CPEAudioFactory & aAudioFactory

DoHandleVolumeChange(TInt)

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

Parameters

TInt aVolume New 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 void HandleDTMFEvent ( const MCCEDtmfObserver::TCCEDtmfEvent aEvent,
const TInt aError,
const TChar aTone
)

All the occurred DTMF events are notified through this interface

Since
S60 3.2

Parameters

const MCCEDtmfObserver::TCCEDtmfEvent aEvent Event code
const TInt aError Error code
const TChar aTone tone

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 void PlayDtmfTone ( const TChar & aTone ) const
Plays the given dtmf tone
Since
Series60_2.7

Parameters

const TChar & aTone

PlayInbandTone()

IMPORT_C void PlayInbandTone ( )
Plays given tone.
Since
Series60_2.7

StopDtmfTonePlay()

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

StopInbandTonePlay()

IMPORT_C void StopInbandTonePlay ( )
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]