MAudioProcessingUnit Class Reference

class MAudioProcessingUnit

A generic interface for audio processing units.

Member Functions Documentation

ContextId()

TAudioContextId ContextId ( ) const [pure virtual]

Fetches the identifier of the context in which this processing unit exists.

InstanceId()

TAudioComponentId InstanceId ( ) const [pure virtual]

Returns the component instance id.

Interface(TUid)

TAny * Interface ( TUid aType ) [pure virtual]

Fetches the specified interface to this processing unit. The interface must not be deleted by the client. The processing unit must be removed once from the context using any of the retrieved processing unit interfaces.

Parameters

TUid aType

IsTypeOf(TUid)

TBool IsTypeOf ( TUid aTypeId ) const [pure virtual]

Returns if the component is the same type of the given feature Uid.

Parameters

TUid aTypeId a feature Uid to compare with.

RegisterProcessingUnitObserver(MAudioProcessingUnitObserver &)

TInt RegisterProcessingUnitObserver ( MAudioProcessingUnitObserver & aObserver ) [pure virtual]

Registers a processing unit observer.

The observer must be unregistered before the processing unit is removed from the context.

MAudioProcessingUnitObserver for further inforamtion about the observer usage.

Parameters

MAudioProcessingUnitObserver & aObserver a reference to the observer to register

UnregisterProcessingUnitObserver(MAudioProcessingUnitObserver &)

void UnregisterProcessingUnitObserver ( MAudioProcessingUnitObserver & aObserver ) [pure virtual]

Unregisters audio processing unit observer.

RegisterProcessingUnitObserver for further information.

Parameters

MAudioProcessingUnitObserver & aObserver a reference to the processing unit observer to unregister.