RMMFAudioPlayDeviceCustomCommands Class Reference
class RMMFAudioPlayDeviceCustomCommands : public RMMFCustomCommandsBase
|
Client class to access Audio Play 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.
-
Since
-
7.0s
Inherits from
-
RMMFAudioPlayDeviceCustomCommands
Constructor & Destructor Documentation
RMMFAudioPlayDeviceCustomCommands(RMMFController &)
IMPORT_C
|
RMMFAudioPlayDeviceCustomCommands
|
(
|
RMMFController
&
|
aController
|
)
|
|
Parameters
RMMFController
& aController
|
The client side controller object to be used by this custom command interface.
|
Member Functions Documentation
GetBalance(TInt &)
IMPORT_C
TInt
|
GetBalance
|
(
|
TInt
&
|
aBalance
|
)
|
const
|
Gets the balance between the left and right stereo audio channels.
Parameters
TInt
& aBalance
|
The current balance, filled in by the controller.
|
GetMaxVolume(TInt &)
IMPORT_C
TInt
|
GetMaxVolume
|
(
|
TInt
&
|
aMaxVolume
|
)
|
const
|
Gets the maximum volume supported by the sound device.
Parameters
TInt
& aMaxVolume
|
The maximum volume, filled in by the controller.
|
GetVolume(TInt &)
IMPORT_C
TInt
|
GetVolume
|
(
|
TInt
&
|
aVolume
|
)
|
const
|
Gets the current playback volume.
Parameters
TInt
& aVolume
|
On return contains the current playback volume.
|
SetBalance(TInt)
IMPORT_C
TInt
|
SetBalance
|
(
|
TInt
|
aBalance
|
)
|
const
|
Sets the balance between the left and right stereo audio channels.
Parameters
TInt
aBalance
|
Use a value between KMMFBalanceMaxLeft and KMMFBalanceMaxRight. Centre balance can be restored by using KMMFBalanceCenter.
|
SetVolume(TInt)
IMPORT_C
TInt
|
SetVolume
|
(
|
TInt
|
aVolume
|
)
|
const
|
Sets the volume of the sound device.
Parameters
TInt
aVolume
|
The new volume.
|
SetVolumeRamp(const TTimeIntervalMicroSeconds &)
Sets a volume ramp.
This will cause the sound device to start playing with zero volume, increasing the volume over aRampDuration microseconds.
The volume ramp can be removed by setting the ramp duration to zero.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.