CAudioContextFactory Class Reference

class CAudioContextFactory : public CBase

An interface to an AudioContextFactory.

Audio Context Factory is the entry point to the low level audio functionality of the device. Audio Context Factory is used for creating new audio contexts.

AudioContextFactory.lib

Inherits from

Constructor & Destructor Documentation

CAudioContextFactory()

CAudioContextFactory ( ) [protected]

Constructor

~CAudioContextFactory()

IMPORT_C ~CAudioContextFactory ( ) [virtual]

Destructor.

Deletes all objects and releases all resource owned by this instance.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [protected]

Second phase contructor.

CreateAudioContext(MAudioContext *&)

IMPORT_C TInt CreateAudioContext ( MAudioContext *& aContext )

Creates a new audio context.

The context must be removed using DeleteAudioContext() when it is no longer needed.

Parameters

MAudioContext *& aContext on return contains a reference to the created context.

DeleteAudioContext(MAudioContext *&)

IMPORT_C void DeleteAudioContext ( MAudioContext *& aContext )

Deletes the audio context. All processing units have to be removed from the context by the client. before the context is removed. This is a null-operation if aContext is NULL on DeleteAudioContext being called. aContext is set to NULL on completion of the call.

Parameters

MAudioContext *& aContext a pointer to the context to remove.

NewL()

IMPORT_C CAudioContextFactory * NewL ( ) [static]

Constructs and returns a pointer to a new CAudioContextFactory object.