CDrmAudioPlayerAdaptation Class Reference

class CDrmAudioPlayerAdaptation : public CBase

Inherits from

  • CDrmAudioPlayerAdaptation
Public Member Functions
CDrmAudioPlayerAdaptation(MDrmAudioPlayerCallback &)
~CDrmAudioPlayerAdaptation()
TInt ClearPlayWindow()
voidClose()
const CMMFControllerImplementationInformation &ControllerImplementationInformationL()
voidCustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
voidCustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)
TInt CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)
TInt CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)
const TTimeIntervalMicroSeconds &Duration()
voidGetAudioLoadingProgressL(TInt &)
TInt GetBalance(TInt &)
TInt GetBitRate(TUint &)
CMMFMetaDataEntry *GetMetaDataEntryL(TInt)
TInt GetNumberOfMetaDataEntries(TInt &)
TInt GetPosition(TTimeIntervalMicroSeconds &)
TInt GetVolume(TInt &)
TInt MaxVolume()
CDrmAudioPlayerAdaptation *NewDesPlayerL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
CDrmAudioPlayerAdaptation *NewDesPlayerReadOnlyL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
CDrmAudioPlayerAdaptation *NewFilePlayerL(const TDesC &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
CDrmAudioPlayerAdaptation *NewL(MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
voidOpenDesL(const TDesC8 &)
voidOpenFileL(const TDesC &)
voidOpenFileL(const RFile &)
voidOpenFileL(const TMMSource &)
voidOpenUrlL(const TDesC &, TInt, const TDesC8 &)
TInt Pause()
voidPlay()
voidRegisterForAudioLoadingNotification(MAudioLoadingObserver &)
TInt SetBalance(const TInt)
TInt SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
voidSetPosition(const TTimeIntervalMicroSeconds &)
TInt SetPriority(TInt, TMdaPriorityPreference)
voidSetRepeats(TInt, const TTimeIntervalMicroSeconds &)
voidSetVolume(const TInt)
voidSetVolumeRamp(const TTimeIntervalMicroSeconds &)
voidStop()
Private Member Functions
TBool CheckCustomInterfaceBuilderImplL(const TDesC8 &)
voidConstructL(TInt, TMdaPriorityPreference)
voidConstructNewDesPlayerL(const TDesC8 &, TInt, TMdaPriorityPreference)
voidConstructNewDesPlayerReadOnlyL(const TDesC8 &, TInt, TMdaPriorityPreference)
voidConstructNewFilePlayerL(const TDesC &, TInt, TMdaPriorityPreference)
TBool IsValidCustomCommandDestination(TUid, TDesC8 &)
voidMapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)
voidMapcPlayComplete(TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
MDrmAudioPlayerCallback *iCallback
CMdaAudioPlayerUtility *iMdaPlayUtil

Constructor & Destructor Documentation

CDrmAudioPlayerAdaptation(MDrmAudioPlayerCallback &)

CDrmAudioPlayerAdaptation(MDrmAudioPlayerCallback &aCallback)

Parameters

MDrmAudioPlayerCallback & aCallback

~CDrmAudioPlayerAdaptation()

~CDrmAudioPlayerAdaptation()

Member Functions Documentation

CheckCustomInterfaceBuilderImplL(const TDesC8 &)

TBool CheckCustomInterfaceBuilderImplL(const TDesC8 &aParam)[private]

Parameters

const TDesC8 & aParam

ClearPlayWindow()

TInt ClearPlayWindow()

Close()

voidClose()

ConstructL(TInt, TMdaPriorityPreference)

voidConstructL(TIntaPriority,
TMdaPriorityPreferenceaPref
)[private]

Parameters

TInt aPriority
TMdaPriorityPreference aPref

ConstructNewDesPlayerL(const TDesC8 &, TInt, TMdaPriorityPreference)

voidConstructNewDesPlayerL(const TDesC8 &aData,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[private]

Parameters

const TDesC8 & aData
TInt aPriority
TMdaPriorityPreference aPref

ConstructNewDesPlayerReadOnlyL(const TDesC8 &, TInt, TMdaPriorityPreference)

voidConstructNewDesPlayerReadOnlyL(const TDesC8 &aData,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[private]

Parameters

const TDesC8 & aData
TInt aPriority
TMdaPriorityPreference aPref

ConstructNewFilePlayerL(const TDesC &, TInt, TMdaPriorityPreference)

voidConstructNewFilePlayerL(const TDesC &aFileName,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[private]

Parameters

const TDesC & aFileName
TInt aPriority
TMdaPriorityPreference aPref

ControllerImplementationInformationL()

const CMMFControllerImplementationInformation &ControllerImplementationInformationL()

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

voidCustomCommandAsync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TDes8 &aDataFrom,
TRequestStatus &aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom
TRequestStatus & aStatus

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)

voidCustomCommandAsync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TRequestStatus &aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TRequestStatus & aStatus

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)

TInt CustomCommandSync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2,
TDes8 &aDataFrom
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)

TInt CustomCommandSync(const TMMFMessageDestinationPckg &aDestination,
TIntaFunction,
const TDesC8 &aDataTo1,
const TDesC8 &aDataTo2
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2

Duration()

const TTimeIntervalMicroSeconds &Duration()

GetAudioLoadingProgressL(TInt &)

voidGetAudioLoadingProgressL(TInt &aPercentageProgress)

Parameters

TInt & aPercentageProgress

GetBalance(TInt &)

TInt GetBalance(TInt &aBalance)

Parameters

TInt & aBalance

GetBitRate(TUint &)

TInt GetBitRate(TUint &aBitRate)

Parameters

TUint & aBitRate

GetMetaDataEntryL(TInt)

CMMFMetaDataEntry *GetMetaDataEntryL(TIntaMetaDataIndex)

Parameters

TInt aMetaDataIndex

GetNumberOfMetaDataEntries(TInt &)

TInt GetNumberOfMetaDataEntries(TInt &aNumEntries)

Parameters

TInt & aNumEntries

GetPosition(TTimeIntervalMicroSeconds &)

TInt GetPosition(TTimeIntervalMicroSeconds &aPosition)

Parameters

TTimeIntervalMicroSeconds & aPosition

GetVolume(TInt &)

TInt GetVolume(TInt &aVolume)

Parameters

TInt & aVolume

IsValidCustomCommandDestination(TUid, TDesC8 &)

TBool IsValidCustomCommandDestination(TUidaDestinationUid,
TDesC8 &aParam
)[private]

Parameters

TUid aDestinationUid
TDesC8 & aParam

MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)

voidMapcInitComplete(TIntaError,
const TTimeIntervalMicroSeconds &aDuration
)[private]

Parameters

TInt aError
const TTimeIntervalMicroSeconds & aDuration

MapcPlayComplete(TInt)

voidMapcPlayComplete(TIntaError)[private]

Parameters

TInt aError

MaxVolume()

TInt MaxVolume()

NewDesPlayerL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)

CDrmAudioPlayerAdaptation *NewDesPlayerL(const TDesC8 &aData,
MDrmAudioPlayerCallback &aCallback,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[static]

Parameters

const TDesC8 & aData
MDrmAudioPlayerCallback & aCallback
TInt aPriority
TMdaPriorityPreference aPref

NewDesPlayerReadOnlyL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)

CDrmAudioPlayerAdaptation *NewDesPlayerReadOnlyL(const TDesC8 &aData,
MDrmAudioPlayerCallback &aCallback,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[static]

Parameters

const TDesC8 & aData
MDrmAudioPlayerCallback & aCallback
TInt aPriority
TMdaPriorityPreference aPref

NewFilePlayerL(const TDesC &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)

CDrmAudioPlayerAdaptation *NewFilePlayerL(const TDesC &aFileName,
MDrmAudioPlayerCallback &aCallback,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[static]

Parameters

const TDesC & aFileName
MDrmAudioPlayerCallback & aCallback
TInt aPriority
TMdaPriorityPreference aPref

NewL(MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)

CDrmAudioPlayerAdaptation *NewL(MDrmAudioPlayerCallback &aCallback,
TIntaPriority,
TMdaPriorityPreferenceaPref
)[static]

Parameters

MDrmAudioPlayerCallback & aCallback
TInt aPriority
TMdaPriorityPreference aPref

OpenDesL(const TDesC8 &)

voidOpenDesL(const TDesC8 &aDescriptor)

Parameters

const TDesC8 & aDescriptor

OpenFileL(const TDesC &)

voidOpenFileL(const TDesC &aFileName)

Parameters

const TDesC & aFileName

OpenFileL(const RFile &)

voidOpenFileL(const RFile &aFile)

Parameters

const RFile & aFile

OpenFileL(const TMMSource &)

voidOpenFileL(const TMMSource &aSource)

Parameters

const TMMSource & aSource

OpenUrlL(const TDesC &, TInt, const TDesC8 &)

voidOpenUrlL(const TDesC &aUrl,
TIntaIapId,
const TDesC8 &aMimeType
)

Parameters

const TDesC & aUrl
TInt aIapId
const TDesC8 & aMimeType

Pause()

TInt Pause()

Play()

voidPlay()

RegisterForAudioLoadingNotification(MAudioLoadingObserver &)

voidRegisterForAudioLoadingNotification(MAudioLoadingObserver &aCallback)

Parameters

MAudioLoadingObserver & aCallback

SetBalance(const TInt)

TInt SetBalance(const TIntaBalance)

Parameters

const TInt aBalance

SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)

TInt SetPlayWindow(const TTimeIntervalMicroSeconds &aStart,
const TTimeIntervalMicroSeconds &aEnd
)

Parameters

const TTimeIntervalMicroSeconds & aStart
const TTimeIntervalMicroSeconds & aEnd

SetPosition(const TTimeIntervalMicroSeconds &)

voidSetPosition(const TTimeIntervalMicroSeconds &aPosition)

Parameters

const TTimeIntervalMicroSeconds & aPosition

SetPriority(TInt, TMdaPriorityPreference)

TInt SetPriority(TIntaPriority,
TMdaPriorityPreferenceaPref
)

Parameters

TInt aPriority
TMdaPriorityPreference aPref

SetRepeats(TInt, const TTimeIntervalMicroSeconds &)

voidSetRepeats(TIntaRepeatNumberOfTimes,
const TTimeIntervalMicroSeconds &aTrailingSilence
)

Parameters

TInt aRepeatNumberOfTimes
const TTimeIntervalMicroSeconds & aTrailingSilence

SetVolume(const TInt)

voidSetVolume(const TIntaVolume)

Parameters

const TInt aVolume

SetVolumeRamp(const TTimeIntervalMicroSeconds &)

voidSetVolumeRamp(const TTimeIntervalMicroSeconds &aRampDuration)

Parameters

const TTimeIntervalMicroSeconds & aRampDuration

Stop()

voidStop()

Member Data Documentation

MDrmAudioPlayerCallback * iCallback

MDrmAudioPlayerCallback *iCallback[private]

CMdaAudioPlayerUtility * iMdaPlayUtil

CMdaAudioPlayerUtility *iMdaPlayUtil[private]