Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfstandardcustomcommands.h>
Link against: mmfstandardcustomcommands.lib

Class RMMFAudioRecordDeviceCustomCommands

class RMMFAudioRecordDeviceCustomCommands : public RMMFCustomCommandsBase;

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.

Derivation

Members

Defined in RMMFAudioRecordDeviceCustomCommands:

Inherited from RMMFCustomCommandsBase:


Construction and destruction


RMMFAudioRecordDeviceCustomCommands(RMMFController &)

IMPORT_C RMMFAudioRecordDeviceCustomCommands(RMMFController &aController);

Description

Constructor.

Parameters

RMMFController &aController

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

[Top]


Member functions


SetGain(TInt)const

IMPORT_C TInt SetGain(TInt aGain) const;

Description

Sets the gain of the sound device.

Parameters

TInt aGain

The new gain.

Return value

TInt

One of the system-wide error codes.


GetMaxGain(TInt &)const

IMPORT_C TInt GetMaxGain(TInt &aMaxGain) const;

Description

Gets the maximum gain supported by the sound device.

Parameters

TInt &aMaxGain

The maximum gain, filled in by the controller.

Return value

TInt

One of the system-wide error codes.


GetGain(TInt &)const

IMPORT_C TInt GetGain(TInt &aGain) const;

Description

Gets the current recording gain.

Parameters

TInt &aGain

The gain, filled in by the controller.

Return value

TInt

One of the system-wide error codes.


SetBalance(TInt)const

IMPORT_C TInt SetBalance(TInt aBalance) const;

Description

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

Parameters

TInt aBalance

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

Return value

TInt

One of the system-wide error codes.


GetBalance(TInt &)const

IMPORT_C TInt GetBalance(TInt &aBalance) const;

Description

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

Parameters

TInt &aBalance

The current balance, filled in by the controller.

Return value

TInt

One of the system-wide error codes.