Location:
MdaAudioSamplePlayer.h
class MMdaAudioPlayerCallback;
An interface to a set of audio player callback functions.
The class is a mixin and is intended to be inherited by the client class which is observing the audio playing operation. The functions encapsulated by this class are called when specific events occur in the process of initialising and playing an audio sample. A reference to this object is passed as a parameter when constructing an audio player utility object.
Defined in MMdaAudioPlayerCallback
:
MapcInitComplete()
, MapcPlayComplete()
virtual void MapcInitComplete(TInt aError, const TTimeIntervalMicroSeconds &aDuration)=0;
Defines required client behaviour when an attempt to open and initialise an audio sample has completed, successfully or otherwise.
|
virtual void MapcPlayComplete(TInt aError)=0;
Defines required client behaviour when an attempt to playback an audio sample has completed, successfully or otherwise.
|