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

  • CPEAudioInbandTonePlayer

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(TIntaVolume)const [private]
Calculates media server volume level.
Since
Series S60 5.1

Parameters

TInt aVolumeVolume level in 0...10 scale.

Cancel()

voidCancel()

Cancels playing.

ConstructL(CPEAudioFactory &)

voidConstructL(CPEAudioFactory &aFactory)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CPEAudioFactory & aFactory

MatoPlayComplete(TInt)

voidMatoPlayComplete(TIntaError)[private]
Handles completion of playing.
Since
Series60_2.7

Parameters

TInt aErrorIsn't used.

MatoPrepareComplete(TInt)

voidMatoPrepareComplete(TIntaError)[private]
Handles completion of preparation.
Since
Series60_2.7

Parameters

TInt aErrorIsn'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()

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

PlayInbandTone(TCCPTone)

voidPlayInbandTone(TCCPToneaTone)

Plays given tone. Originates from CCP plugin.

Parameters

TCCPTone aToneinband tone needed to play

SetVolume(TInt)

voidSetVolume(TIntaVolume)
Sets volume.
Since
S60 5.0

Parameters

TInt aVolumeVolume in 0...10 scale.

UpdateTonePlayerVolume()

voidUpdateTonePlayerVolume()[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]