MPlayCustomInterface Class Reference
class MPlayCustomInterface |
Custom interface class for play functionality created by the CMMFSwCodecWrapper::CustomInterface() method. It provides access to miscellaneous functionality such as volume settings. Ports of the sw codec wrapper may do this differently eg. via EAP. Note Users should not use RMdaDevSound::TCurrentSoundFormatBuf to send across the sample rate and channels because 1) it would mean mmfswcodecwrapper.h would have to include mdasound.h 2) the buffer size and encoding members are not required and 3) 3rd party ports may not use RMdaDevSound.
Note also that this interface is just a simple interface to get and set values. No checking is performed on the values sent (hence the Set methods do not return an error code).
Member Functions Documentation
BytesPlayed()
TUint
| BytesPlayed | ( | ) | [pure virtual] |
Get the number of bytes played.
SetVolume(TUint)
void | SetVolume | ( | TUint | aVolume | ) | [pure virtual] |
Parameters
TUint aVolume | The specified audio volume. |
SetVolumeRamp(const TTimeIntervalMicroSeconds &)
Set the period over which the volume level is to rise smoothly from nothing to the required volume level.
Volume()
TUint
| Volume | ( | ) | [pure virtual] |
VolumeRamp()
Get the period over which the volume level is to rise smoothly from nothing to the required volume level.
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.