RMMFAudioRecordDeviceCustomCommands Class Reference
#include
"mmfstandardcustomcommands.h"
Link against: mmfstandardcustomcommands.lib
class RMMFAudioRecordDeviceCustomCommands : public RMMFCustomCommandsBase |
Inherits from
- RMMFAudioRecordDeviceCustomCommands
Detailed 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.
Constructor & Destructor Documentation
RMMFAudioRecordDeviceCustomCommands ( RMMFController & )
IMPORT_C | RMMFAudioRecordDeviceCustomCommands | ( | RMMFController & | aController | ) | |
Parameter | Description | aController | The client side controller object to be used by this custom command interface. |
Member Function Documentation
GetBalance ( TInt & )
IMPORT_C TInt | GetBalance | ( | TInt & | aBalance | ) | const |
Gets the balance between the left and right stereo microphone channels.
Parameter | Description | aBalance | The current balance, filled in by the controller. |
Returns: One of the system-wide error codes.
GetGain ( TInt & )
Gets the current recording gain.
Parameter | Description | aGain | The gain, filled in by the controller. |
Returns: One of the system-wide error codes.
GetMaxGain ( TInt & )
IMPORT_C TInt | GetMaxGain | ( | TInt & | aMaxGain | ) | const |
Gets the maximum gain supported by the sound device.
Parameter | Description | aMaxGain | The maximum gain, filled in by the controller. |
Returns: One of the system-wide error codes.
SetBalance ( TInt )
IMPORT_C TInt | SetBalance | ( | TInt | aBalance | ) | const |
Sets the balance between the left and right stereo microphone channels.
Parameter | Description | aBalance | Use a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be restored by using KMMFBalanceCenter. |
Returns: One of the system-wide error codes.
SetGain ( TInt )
Sets the gain of the sound device.
Parameter | Description | aGain | The new gain. |
Returns: One of the system-wide error codes.