RMMFAudioRecordDeviceCustomCommands Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

Link against: mmfstandardcustomcommands.lib

class RMMFAudioRecordDeviceCustomCommands : public RMMFCustomCommandsBase, public RMMFCustomCommandsBase

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

RMMFAudioRecordDeviceCustomCommands ( RMMFController & )

IMPORT_CRMMFAudioRecordDeviceCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s
Parameters
aControllerThe client side controller object to be used by this custom command interface.

Member Function Documentation

GetBalance ( TInt & )

IMPORT_C TIntGetBalance(TInt &aBalance)const

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

Since
7.0s
Parameters
aBalanceThe current balance, filled in by the controller.
Return Value
One of the system-wide error codes.

GetGain ( TInt & )

IMPORT_C TIntGetGain(TInt &aGain)const

Gets the current recording gain.

Since
7.0s
Parameters
aGainThe gain, filled in by the controller.
Return Value
One of the system-wide error codes.

GetMaxGain ( TInt & )

IMPORT_C TIntGetMaxGain(TInt &aMaxGain)const

Gets the maximum gain supported by the sound device.

Since
7.0s
Parameters
aMaxGainThe maximum gain, filled in by the controller.
Return Value
One of the system-wide error codes.

SetBalance ( TInt )

IMPORT_C TIntSetBalance(TIntaBalance)const

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

restored by using KMMFBalanceCenter.

Since
7.0s
Parameters
aBalanceUse a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be
Return Value
One of the system-wide error codes.

SetGain ( TInt )

IMPORT_C TIntSetGain(TIntaGain)const

Sets the gain of the sound device.

Since
7.0s
Parameters
aGainThe new gain.
Return Value
One of the system-wide error codes.