MDevTTSAudioObserver Class Reference

class MDevTTSAudioObserver

Member Functions Documentation

MdtaoBufferToBeFilled(TDes8 &, TInt)

voidMdtaoBufferToBeFilled(TDes8 &aBuffer,
TIntaSizeRequested
)[pure virtual]

Audio device wants the buffer to be filled. Client should provide data to the descriptor given as parameter and call PlayData when data is ready to be played.

Parameters

TDes8 & aBuffer
TInt aSizeRequested

MdtaoInitializeComplete(TInt)

voidMdtaoInitializeComplete(TIntaError)[pure virtual]

Notifies the observer that initialization has been completed.

Parameters

TInt aError

MdtaoPlayFinished(TInt)

voidMdtaoPlayFinished(TIntaError)[pure virtual]

Called when playback process is finished, successfully or otherwise.

Parameters

TInt aError