CPEAudioInbandTonePlayer Class Reference

class CPEAudioInbandTonePlayer : public CBase

This class is used to play inband tones using media server.

audiohandling.lib
Since
Series60_5.0

Inherits from

Constructor & Destructor Documentation

CPEAudioInbandTonePlayer(CPEAudioData &, RFs &)

CPEAudioInbandTonePlayer ( CPEAudioData & aOwner,
RFs & aFsSession
) [private]

C++ default constructor.

Parameters

CPEAudioData & aOwner
RFs & aFsSession

~CPEAudioInbandTonePlayer()

~CPEAudioInbandTonePlayer ( )

Destructor.

Member Functions Documentation

CalculateMediaServerVolume(TInt)

TInt CalculateMediaServerVolume ( TInt aVolume ) const [private]
Calculates media server volume level.
Since
Series S60 5.1

Parameters

TInt aVolume Volume level in 0...10 scale.

Cancel()

void Cancel ( )

Cancels playing.

ConstructL(CPEAudioFactory &)

void ConstructL ( CPEAudioFactory & aFactory ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CPEAudioFactory & aFactory

MatoPlayComplete(TInt)

void MatoPlayComplete ( TInt aError ) [private]
Handles completion of playing.
Since
Series60_2.7

Parameters

TInt aError Isn't used.

MatoPrepareComplete(TInt)

void MatoPrepareComplete ( TInt aError ) [private]
Handles completion of preparation.
Since
Series60_2.7

Parameters

TInt aError Isn't used.

NewL(CPEAudioData &, RFs &, CPEAudioFactory &)

CPEAudioInbandTonePlayer * NewL ( CPEAudioData & aOwner,
RFs & aFsSession,
CPEAudioFactory & aFactory
) [static]

Two-phased constructor.

Parameters

CPEAudioData & aOwner
RFs & aFsSession
CPEAudioFactory & aFactory

PlayCurrentTone()

void PlayCurrentTone ( ) [private]
Playes current tone.
Since
Series60_2.7

PlayInbandTone(TCCPTone)

void PlayInbandTone ( TCCPTone aTone )

Plays given tone. Originates from CCP plugin.

Parameters

TCCPTone aTone inband tone needed to play

SetVolume(TInt)

void SetVolume ( TInt aVolume )
Sets volume.
Since
S60 5.0

Parameters

TInt aVolume Volume in 0...10 scale.

UpdateTonePlayerVolume()

void UpdateTonePlayerVolume ( ) [private]
Updates tone player's volume to the current audio volume level.
Since
Series S60 5.1

Member Data Documentation

CPEAudioToneUtility * iCurrent

CPEAudioToneUtility * iCurrent [private]

RFs & iFsSession

RFs & iFsSession [private]

CPEAudioData & iOwner

CPEAudioData & iOwner [private]

HBufC8 * iPlayBeepSequence

HBufC8 * iPlayBeepSequence [private]

HBufC8 * iPlayDataSequence

HBufC8 * iPlayDataSequence [private]

HBufC8 * iPlayNoSoundSequence

HBufC8 * iPlayNoSoundSequence [private]

HBufC8 * iResourceBusySeq

HBufC8 * iResourceBusySeq [private]

HBufC8 * iResourceCallWaitingSeq

HBufC8 * iResourceCallWaitingSeq [private]

HBufC8 * iResourceCongestionSeq

HBufC8 * iResourceCongestionSeq [private]

HBufC8 * iResourceRadioPathSeq

HBufC8 * iResourceRadioPathSeq [private]

HBufC8 * iResourceReorderSeq

HBufC8 * iResourceReorderSeq [private]

HBufC8 * iResourceRingGoingSeq

HBufC8 * iResourceRingGoingSeq [private]

HBufC8 * iResourceSpecialSeq

HBufC8 * iResourceSpecialSeq [private]

TProfileRingingType iRingingType

TProfileRingingType iRingingType [private]

TCCPTone iToneName

TCCPTone iToneName [private]