Location:
mmfstandardcustomcommands.h
class MMMFAudioPlayDeviceCustomCommandImplementor;
Mixin class to be derived from by controller plugins wishing to support the audio play device custom commands.
Defined in MMMFAudioPlayDeviceCustomCommandImplementor
:
MapdGetBalanceL()
, MapdGetMaxVolumeL()
, MapdGetVolumeL()
, MapdSetBalanceL()
, MapdSetVolumeL()
, MapdSetVolumeRampL()
virtual void MapdSetVolumeL(TInt aVolume)=0;
Sets the volume 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.
|
virtual void MapdGetMaxVolumeL(TInt &aMaxVolume)=0;
Gets the maximum volume 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.
|
virtual void MapdGetVolumeL(TInt &aVolume)=0;
Gets the current playback volume.
This function can leave with one of the system-wide error codes. The request will be completed with the leave code.
|
virtual void MapdSetVolumeRampL(const TTimeIntervalMicroSeconds &aRampDuration)=0;
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.
This function can leave with one of the system-wide error codes. The request will be completed with the leave code.
|
virtual void MapdSetBalanceL(TInt aBalance)=0;
Sets the balance between the left and right stereo audio channels.
This function can leave with one of the system-wide error codes. The request will be completed with the leave code.
|
virtual void MapdGetBalanceL(TInt &aBalance)=0;
Gets the balance between the left and right stereo audio channels.
This function can leave with one of the system-wide error codes. The request will be completed with the leave code.
|