MMMFAudioRecordDeviceCustomCommandImplementor Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

class MMMFAudioRecordDeviceCustomCommandImplementor
Public Member Functions
pure virtual voidMardGetBalanceL(TInt &)
pure virtual voidMardGetGainL(TInt &)
pure virtual voidMardGetMaxGainL(TInt &)
pure virtual voidMardSetBalanceL(TInt)
pure virtual voidMardSetGainL(TInt)

Detailed Description

Mixin class to be derived from controller plugins that could support the audio record device

custom commands.

Member Function Documentation

MardGetBalanceL ( TInt & )

voidMardGetBalanceL(TInt &aBalance)[pure virtual]

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

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aBalanceThe current balance, filled in by the controller.

MardGetGainL ( TInt & )

voidMardGetGainL(TInt &aGain)[pure virtual]

Gets the current recording gain.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aGainThe gain, to be filled in by the controller.

MardGetMaxGainL ( TInt & )

voidMardGetMaxGainL(TInt &aMaxGain)[pure virtual]

Gets the maximum gain supported by the sound device.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aMaxGainThe maximum gain, to be filled in by the controller plugin.

MardSetBalanceL ( TInt )

voidMardSetBalanceL(TIntaBalance)[pure virtual]

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

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

restored by using KMMFBalanceCenter.

Since
7.0s
Parameters
aBalanceUse a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be

MardSetGainL ( TInt )

voidMardSetGainL(TIntaGain)[pure virtual]

Sets the gain of the sound device.

This function can leave with one of the system-wide error codes. The request will be

completed with the leave code.

Since
7.0s
Parameters
aGainThe new gain.