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
Public Member Functions | |
---|---|
~CAudioContextFactory () | |
IMPORT_C TInt | CreateAudioContext ( MAudioContext *&) |
IMPORT_C void | DeleteAudioContext ( MAudioContext *&) |
IMPORT_C CAudioContextFactory * | NewL () |
Protected Member Functions | |
---|---|
CAudioContextFactory () | |
void | ConstructL () |
IMPORT_C | ~CAudioContextFactory | ( | ) | [virtual] |
Destructor.
Deletes all objects and releases all resource owned by this instance.
IMPORT_C TInt | CreateAudioContext | ( | MAudioContext *& | aContext | ) |
Creates a new audio context.
The context must be removed using DeleteAudioContext() when it is no longer needed.
MAudioContext *& aContext | on return contains a reference to the created context. |
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.
MAudioContext *& aContext | a pointer to the context to remove. |
IMPORT_C CAudioContextFactory * | NewL | ( | ) | [static] |
Constructs and returns a pointer to a new CAudioContextFactory object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.