CAudioPdPlayUtility Class Reference

class CAudioPdPlayUtility : public CBase

Concrete implementation of the CAudioPdPlayUtility API. CAudioPdPlayUtility

Inherits from

Public Member Functions
~CAudioPdPlayUtility()
TInt CheckAudioPlayerState()
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 &)
voidDlCompleteOpenFileL(const TDesC &)
const TTimeIntervalMicroSeconds &Duration()
voidGetAudioLoadingProgressL(TInt &)
TInt GetBalance(TInt &)
TInt GetBitRate(TUint &)
MMMFDRMCustomCommand *GetDRMCustomCommand()
TInt GetFilePosition(TInt &)
CMMFMetaDataEntry *GetMetaDataEntryL(TInt)
TInt GetNumberOfMetaDataEntries(TInt &)
TInt GetPosition(TTimeIntervalMicroSeconds &)
TInt GetVolume(TInt &)
voidHandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)
TInt MaxVolume()
CAudioPdPlayUtility *NewL(MAudioPdPlayUtilityCallback &)
voidOpenFileL(const TDesC &)
voidOpenFileL(const RFile &)
voidOpenFileL(const TMMSource &)
TInt Pause()
voidPlay()
voidRegisterForAudioLoadingNotification(MAudioLoadingObserver &)
TInt SetBalance(TInt)
TInt SetBytesDownloaded(TInt, TBool)
TInt SetFileSize(TInt)
TInt SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
voidSetPosition(const TTimeIntervalMicroSeconds &)
TInt SetPriority(TInt, TMdaPriorityPreference)
voidSetRepeats(TInt, const TTimeIntervalMicroSeconds &)
voidSetVolume(TInt)
voidSetVolumeRamp(const TTimeIntervalMicroSeconds &)
voidStop()
Private Member Functions
CAudioPdPlayUtility()
voidConstructL()
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
CAudioPdProperties *iProperties

Constructor & Destructor Documentation

CAudioPdPlayUtility()

CAudioPdPlayUtility()[private]

~CAudioPdPlayUtility()

~CAudioPdPlayUtility()

Member Functions Documentation

CheckAudioPlayerState()

TInt CheckAudioPlayerState()

ClearPlayWindow()

TInt ClearPlayWindow()

Close()

voidClose()

ConstructL()

voidConstructL()[private]

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

DlCompleteOpenFileL(const TDesC &)

voidDlCompleteOpenFileL(const TDesC &aFileName)

Parameters

const TDesC & aFileName

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

GetDRMCustomCommand()

MMMFDRMCustomCommand *GetDRMCustomCommand()

GetFilePosition(TInt &)

TInt GetFilePosition(TInt &aFilePosition)

Parameters

TInt & aFilePosition

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

HandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)

voidHandleDownloadEventL(TUintaTransactionID,
TBrCtlDownloadEventaEvent,
TUintaValue
)

Parameters

TUint aTransactionID
TBrCtlDownloadEvent aEvent
TUint aValue

MaxVolume()

TInt MaxVolume()

NewL(MAudioPdPlayUtilityCallback &)

CAudioPdPlayUtility *NewL(MAudioPdPlayUtilityCallback &aCallback)[static]

Parameters

MAudioPdPlayUtilityCallback & aCallback

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

Pause()

TInt Pause()

Play()

voidPlay()

RegisterForAudioLoadingNotification(MAudioLoadingObserver &)

voidRegisterForAudioLoadingNotification(MAudioLoadingObserver &aCallback)

Parameters

MAudioLoadingObserver & aCallback

SetBalance(TInt)

TInt SetBalance(TIntaBalance =  KMMFBalanceCenter )

Parameters

TInt aBalance =  KMMFBalanceCenter

SetBytesDownloaded(TInt, TBool)

TInt SetBytesDownloaded(TIntaBytesDownloaded,
TBoolaDownloadComplete
)

Parameters

TInt aBytesDownloaded
TBool aDownloadComplete

SetFileSize(TInt)

TInt SetFileSize(TIntaFileSize)

Parameters

TInt aFileSize

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(TInt)

voidSetVolume(TIntaVolume)

Parameters

TInt aVolume

SetVolumeRamp(const TTimeIntervalMicroSeconds &)

voidSetVolumeRamp(const TTimeIntervalMicroSeconds &aRampDuration)

Parameters

const TTimeIntervalMicroSeconds & aRampDuration

Stop()

voidStop()

Member Data Documentation

CAudioPdProperties * iProperties

CAudioPdProperties *iProperties[private]