Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfstandardcustomcommands.h>

Class MMMFAudioRecordDeviceCustomCommandImplementor

class MMMFAudioRecordDeviceCustomCommandImplementor;

Description

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

Members

Defined in MMMFAudioRecordDeviceCustomCommandImplementor:


Member functions


MardSetGainL(TInt)

virtual void MardSetGainL(TInt aGain)=0;

Description

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.

Parameters

TInt aGain

The new gain.


MardGetMaxGainL(TInt &)

virtual void MardGetMaxGainL(TInt &aMaxGain)=0;

Description

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.

Parameters

TInt &aMaxGain

The maximum gain, to be filled in by the controller plugin.


MardGetGainL(TInt &)

virtual void MardGetGainL(TInt &aGain)=0;

Description

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.

Parameters

TInt &aGain

The gain, to be filled in by the controller.


MardSetBalanceL(TInt)

virtual void MardSetBalanceL(TInt aBalance)=0;

Description

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.

Parameters

TInt aBalance

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


MardGetBalanceL(TInt &)

virtual void MardGetBalanceL(TInt &aBalance)=0;

Description

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.

Parameters

TInt &aBalance

The current balance, filled in by the controller.