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

  • CAudioContextFactory

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

voidConstructL()[protected]

Second phase contructor.

CreateAudioContext(MAudioContext *&)

IMPORT_C TIntCreateAudioContext(MAudioContext *&aContext)

Creates a new audio context.

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

Parameters

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

DeleteAudioContext(MAudioContext *&)

IMPORT_C voidDeleteAudioContext(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 *& aContexta pointer to the context to remove.

NewL()

IMPORT_C CAudioContextFactory *NewL()[static]

Constructs and returns a pointer to a new CAudioContextFactory object.