#include "mmfstandardcustomcommands.h"
class MMMFAudioRecordDeviceCustomCommandImplementor |
Public Member Functions | |
---|---|
pure virtual void | MardGetBalanceL(TInt &) |
pure virtual void | MardGetGainL(TInt &) |
pure virtual void | MardGetMaxGainL(TInt &) |
pure virtual void | MardSetBalanceL(TInt) |
pure virtual void | MardSetGainL(TInt) |
Mixin class to be derived from controller plugins that could support the audio record device custom commands.
void | MardGetBalanceL | ( | 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.
Parameter | Description |
---|---|
aBalance | The current balance, filled in by the controller. |
void | MardGetGainL | ( | 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.
Parameter | Description |
---|---|
aGain | The gain, to be filled in by the controller. |
void | MardGetMaxGainL | ( | 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.
Parameter | Description |
---|---|
aMaxGain | The maximum gain, to be filled in by the controller plugin. |
void | MardSetBalanceL | ( | TInt | aBalance | ) | [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.
Parameter | Description |
---|---|
aBalance | Use a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be restored by using KMMFBalanceCenter. |
void | MardSetGainL | ( | TInt | aGain | ) | [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.
Parameter | Description |
---|---|
aGain | The new gain. |