CErrorConcealmentIntfc Class Reference

class CErrorConcealmentIntfc : public CBase

Interface for error concealment. Used for providing error concealment for lost data. This abstract class just provides the static NewL function for the creation of the proxy, and also defines the custom interface to be implemented by the proxy and the real custom interface implementation.

ErrorConcealmentIntfc.lib
Since
S60 3.0

Inherits from

  • CErrorConcealmentIntfc

Member Functions Documentation

ConcealErrorForNextBuffer()

IMPORT_C TIntConcealErrorForNextBuffer()[pure virtual]
Indicates that an frame of encoded audio is lost and that error concealment should be performed for a lost frame. By definition, the next buffer sent to the decoder will contain no valid audio data.
Since
S60 3.0

FrameModeRqrdForEC(TBool &)

IMPORT_C TIntFrameModeRqrdForEC(TBool &aFrameModeRqrd)[pure virtual]
Query to find out if frame-based interface is required by hwdevice for supporting error concealment.
Since
S60 3.0

Parameters

TBool & aFrameModeRqrdindicates if frame mode is required.

NewL(CMMFDevSound &)

IMPORT_C CErrorConcealmentIntfc *NewL(CMMFDevSound &aDevSound)[static]

Creates the interface.

Parameters

CMMFDevSound & aDevSound

NewL(CMdaAudioOutputStream &)

IMPORT_C CErrorConcealmentIntfc *NewL(CMdaAudioOutputStream &aUtility)[static]

Creates the interface.

Parameters

CMdaAudioOutputStream & aUtility

SetFrameMode(TBool)

IMPORT_C TIntSetFrameMode(TBoolaFrameMode)[pure virtual]
Puts the hwdevice into a frame-based interface. The alternate mode of interface would be buffer-based.
Since
S60 3.0

Parameters

TBool aFrameMode