MDevTTSAudioObserver Class Reference

class MDevTTSAudioObserver

Member Functions Documentation

MdtaoBufferToBeFilled(TDes8 &, TInt)

void MdtaoBufferToBeFilled ( TDes8 & aBuffer,
TInt aSizeRequested
) [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)

void MdtaoInitializeComplete ( TInt aError ) [pure virtual]

Notifies the observer that initialization has been completed.

Parameters

TInt aError

MdtaoPlayFinished(TInt)

void MdtaoPlayFinished ( TInt aError ) [pure virtual]

Called when playback process is finished, successfully or otherwise.

Parameters

TInt aError