RMMFAudioPlayControllerCustomCommands Class Reference

class RMMFAudioPlayControllerCustomCommands : public RMMFCustomCommandsBase

Client class to access functionality specific to an audio play controller.

The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

RMMFAudioPlayControllerCustomCommands(RMMFController &)

IMPORT_CRMMFAudioPlayControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s

Parameters

RMMFController & aControllerThe client side controller object to be used by this custom command interface.

Member Functions Documentation

DeletePlaybackWindow()

IMPORT_C TIntDeletePlaybackWindow()

Removes a previously defined playback window.

Since
7.0s

GetLoadingProgress(TInt &)

IMPORT_C TIntGetLoadingProgress(TInt &aPercentageProgress)const

Gets the audio loading progress as a percentage.

Since
7.0s

Parameters

TInt & aPercentageProgressThe progress loading the clip, as a percentage.

SetPlaybackWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)

IMPORT_C TIntSetPlaybackWindow(const TTimeIntervalMicroSeconds &aStart,
const TTimeIntervalMicroSeconds &aEnd
)const

Sets a playback window. The controller will start playing from the start of the window, and finish playing at the end of the window.

Since
7.0s

Parameters

const TTimeIntervalMicroSeconds & aStartThe start of the window, in microseconds.
const TTimeIntervalMicroSeconds & aEndThe end of the window, in microseconds.