RMMFAudioRecordDeviceCustomCommands Class Reference

class RMMFAudioRecordDeviceCustomCommands : public RMMFCustomCommandsBase

Client class to access Audio Record Device functionality.

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

RMMFAudioRecordDeviceCustomCommands(RMMFController &)

IMPORT_C RMMFAudioRecordDeviceCustomCommands ( RMMFController & aController )

Constructor.

Since
7.0s

Parameters

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

Member Functions Documentation

GetBalance(TInt &)

IMPORT_C TInt GetBalance ( TInt & aBalance ) const

Gets the balance between the left and right stereo microphone channels.

Since
7.0s

Parameters

TInt & aBalance The current balance, filled in by the controller.

GetGain(TInt &)

IMPORT_C TInt GetGain ( TInt & aGain ) const

Gets the current recording gain.

Since
7.0s

Parameters

TInt & aGain The gain, filled in by the controller.

GetMaxGain(TInt &)

IMPORT_C TInt GetMaxGain ( TInt & aMaxGain ) const

Gets the maximum gain supported by the sound device.

Since
7.0s

Parameters

TInt & aMaxGain The maximum gain, filled in by the controller.

SetBalance(TInt)

IMPORT_C TInt SetBalance ( TInt aBalance ) const

Sets the balance between the left and right stereo microphone channels.

Since
7.0s

Parameters

TInt aBalance Use a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be restored by using KMMFBalanceCenter.

SetGain(TInt)

IMPORT_C TInt SetGain ( TInt aGain ) const

Sets the gain of the sound device.

Since
7.0s

Parameters

TInt aGain The new gain.