CFrameTable Class Reference

class CFrameTable : public CBase

This class provides AAC utility functions.

AACAudioControllerUtility.lib
Since
3.0

Inherits from

Nested Classes and Structures

Public Member Functions
~CFrameTable()
IMPORT_C TIntBitrate()
IMPORT_C TIntFindFramePosFromTime(TUint &, TUint &)
IMPORT_C TIntFindFrameTimeFromPos(TUint &, TUint &)
IMPORT_C TIntGetLastPosEvent(TUint &)
IMPORT_C TIntInitFrameTable(TInt, TInt)
IMPORT_C TIntIsSeeking(TBool &)
IMPORT_C TIntLastFramePos(TUint &)
IMPORT_C TIntLastFrameTime(TUint &)
IMPORT_C CFrameTable *NewL()
IMPORT_C TIntRegisterForEvent(TFrameTableEvent, MFrameTableEventObserver *, TUint)
IMPORT_C voidResetTable()
IMPORT_C TIntSetSourceReference(TUint, TUint)
IMPORT_C voidShrinkTable()
IMPORT_C TIntSubmitTableEntry(TUint)
IMPORT_C TIntUnRegisterForEvent(TFrameTableEvent, MFrameTableEventObserver *)
Private Member Functions
CFrameTable()
TUint CalcFrameFromTimeMs(TUint)
voidConstructL()
TInt SubmitLowResTableEntry(TBufRefPosEntry &)
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()
Public Member Enumerations
enumTFrameTableEvent { EPosReached, EDecodeInterval, EPlayWindowEndPosReached }
Private Attributes
TUint iAvgBitrate
TUint iCurrentFrameCount
TUint iEventPos
TUint iFrameNum
RArray< TBufRefPosEntry >iFrameTable
TUint iFramesPerLowResInterval
TUint iIntervalEvent
TInt iIntervalRef
TUint iLastBytePos
RArray< TBufRefPosEntry >iLowResFrameTable
TUint iLowResIntervalMs
TUint iMsecPerFrame
MFrameTableEventObserver *iObserver
TUint iOffset
TBool iOkToShrink
TUint iPlayWindowEndPosEventMs
TUint iPosEventMs
TUint iSampleRate
TUint iSamplesPerFrame
TUint iTimeRefMs

Constructor & Destructor Documentation

CFrameTable()

CFrameTable()[private]

C++ default constructor.

~CFrameTable()

IMPORT_C~CFrameTable()[virtual]

Destructor.

Member Functions Documentation

Bitrate()

IMPORT_C TIntBitrate()

CalcFrameFromTimeMs(TUint)

TUint CalcFrameFromTimeMs(TUintaTimeMs)[private]

Parameters

TUint aTimeMs

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

FindFramePosFromTime(TUint &, TUint &)

IMPORT_C TIntFindFramePosFromTime(TUint &aTimeMs,
TUint &aPos
)

Parameters

TUint & aTimeMs
TUint & aPos

FindFrameTimeFromPos(TUint &, TUint &)

IMPORT_C TIntFindFrameTimeFromPos(TUint &aTimeMs,
TUint &aPos
)

Parameters

TUint & aTimeMs
TUint & aPos

GetLastPosEvent(TUint &)

IMPORT_C TIntGetLastPosEvent(TUint &aPos)

Parameters

TUint & aPos

InitFrameTable(TInt, TInt)

IMPORT_C TIntInitFrameTable(TIntaSampleRate,
TIntaSamplesPerFrame
)

Parameters

TInt aSampleRate
TInt aSamplesPerFrame

IsSeeking(TBool &)

IMPORT_C TIntIsSeeking(TBool &aIsSeeking)

Parameters

TBool & aIsSeeking

LastFramePos(TUint &)

IMPORT_C TIntLastFramePos(TUint &aPos)

Parameters

TUint & aPos

LastFrameTime(TUint &)

IMPORT_C TIntLastFrameTime(TUint &aTimeMs)

Parameters

TUint & aTimeMs

NewL()

IMPORT_C CFrameTable *NewL()[static]

Two-phased constructor.

RegisterForEvent(TFrameTableEvent, MFrameTableEventObserver *, TUint)

IMPORT_C TIntRegisterForEvent(TFrameTableEventaEvent,
MFrameTableEventObserver *aObserver,
TUintaParam
)

Parameters

TFrameTableEvent aEvent
MFrameTableEventObserver * aObserver
TUint aParam

ResetTable()

IMPORT_C voidResetTable()

SetSourceReference(TUint, TUint)

IMPORT_C TIntSetSourceReference(TUintaTimeMs,
TUintaPos
)

Parameters

TUint aTimeMs
TUint aPos

ShrinkTable()

IMPORT_C voidShrinkTable()

SubmitLowResTableEntry(TBufRefPosEntry &)

TInt SubmitLowResTableEntry(TBufRefPosEntry &aEntry)[private]

Parameters

TBufRefPosEntry & aEntry

SubmitTableEntry(TUint)

IMPORT_C TIntSubmitTableEntry(TUintaPos)

Parameters

TUint aPos

UnRegisterForEvent(TFrameTableEvent, MFrameTableEventObserver *)

IMPORT_C TIntUnRegisterForEvent(TFrameTableEventaEvent,
MFrameTableEventObserver *aObserver
)

Parameters

TFrameTableEvent aEvent
MFrameTableEventObserver * aObserver

Member Enumerations Documentation

Enum TFrameTableEvent

Enumerators

EPosReached
EDecodeInterval
EPlayWindowEndPosReached

Member Data Documentation

TUint iAvgBitrate

TUint iAvgBitrate[private]

TUint iCurrentFrameCount

TUint iCurrentFrameCount[private]

TUint iEventPos

TUint iEventPos[private]

TUint iFrameNum

TUint iFrameNum[private]

RArray< TBufRefPosEntry > iFrameTable

RArray< TBufRefPosEntry >iFrameTable[private]

TUint iFramesPerLowResInterval

TUint iFramesPerLowResInterval[private]

TUint iIntervalEvent

TUint iIntervalEvent[private]

TInt iIntervalRef

TInt iIntervalRef[private]

TUint iLastBytePos

TUint iLastBytePos[private]

RArray< TBufRefPosEntry > iLowResFrameTable

RArray< TBufRefPosEntry >iLowResFrameTable[private]

TUint iLowResIntervalMs

TUint iLowResIntervalMs[private]

TUint iMsecPerFrame

TUint iMsecPerFrame[private]

MFrameTableEventObserver * iObserver

MFrameTableEventObserver *iObserver[private]

TUint iOffset

TUint iOffset[private]

TBool iOkToShrink

TBool iOkToShrink[private]

TUint iPlayWindowEndPosEventMs

TUint iPlayWindowEndPosEventMs[private]

TUint iPosEventMs

TUint iPosEventMs[private]

TUint iSampleRate

TUint iSampleRate[private]

TUint iSamplesPerFrame

TUint iSamplesPerFrame[private]

TUint iTimeRefMs

TUint iTimeRefMs[private]