Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mmfstandardcustomcommands.h

Class MMMFAudioRecordDeviceCustomCommandImplementor

class MMMFAudioRecordDeviceCustomCommandImplementor;

Description

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

Members

Defined in MMMFAudioRecordDeviceCustomCommandImplementor:
MardGetBalanceL(), MardGetGainL(), MardGetMaxGainL(), MardSetBalanceL(), MardSetGainL()


Member functions


MardSetGainL()

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()

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()

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()

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()

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.