MMMFAudioPlayControllerSetRepeatsCustomCommandImplementor Class Reference

class MMMFAudioPlayControllerSetRepeatsCustomCommandImplementor

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

Public Member Functions
TInt MapcSetRepeats(TInt, const TTimeIntervalMicroSeconds &)

Member Functions Documentation

MapcSetRepeats(TInt, const TTimeIntervalMicroSeconds &)

TInt MapcSetRepeats(TIntaRepeatNumberOfTimes,
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 aRepeatNumberOfTimesThe 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 & aTrailingSilenceThe time interval of the trailing silence in microseconds.