MMMFAudioPlayControllerSetRepeatsCustomCommandImplementor Class Reference

class MMMFAudioPlayControllerSetRepeatsCustomCommandImplementor

Mixin class to be derived from by controller plugins that could support the set repeats custom command.

Member Functions Documentation

MapcSetRepeats(TInt, const TTimeIntervalMicroSeconds &)

TInt MapcSetRepeats ( TInt aRepeatNumberOfTimes,
const TTimeIntervalMicroSeconds & aTrailingSilence
) [pure virtual]

Sets the number of times the audio sample is to be repeated during the playback operation. A period of silence can follow each playing of the sample. The audio sample can be repeated indefinitely.

Parameters

TInt aRepeatNumberOfTimes The number of times the audio sample, together with the trailing silence, is to be repeated. If this is set to KMdaRepeatForever, then the audio sample, together with the trailing silence, is repeated indefinitely or until Stop() is called. If this is set to zero, then the audio sample is not repeated.
const TTimeIntervalMicroSeconds & aTrailingSilence The time interval of the trailing silence in microseconds.