MAudioCodecObserver Class Reference

class MAudioCodecObserver

An interface to a set of AudioGainControl callback functions.

This serves as the method of communication between the client and the AudioGainControl.

The class is a mixin and is intended to be inherited by the client class that is interested in observing the Gain operations. The functions encapsulated by this class are called when specific events occur while processing audio.

Member Functions Documentation

GetSupportedModesComplete(TInt)

voidGetSupportedModesComplete(TIntaError)[pure virtual]

Callback showing completion GetSupportedModes().

Parameters

TInt aErrorwill be KErrNone if the action succeeded, otherwise it will be a system error specific errors to be defined. If aError is not KErrNone, then the state of aSupportedModes is undefined.

GetSupportedSampleRatesComplete(TInt)

voidGetSupportedSampleRatesComplete(TIntaError)[pure virtual]

Callback showing completion GetSupportedSampleRates().

Parameters

TInt aError

ModeSet(TInt)

voidModeSet(TIntaError)[pure virtual]

Callback showing completion SetMode().

Parameters

TInt aErrorwill be KErrNone if the action succeeded, otherwise it will be a system error specific errors to be defined.

SampleRateSet(TInt)

voidSampleRateSet(TIntaError)[pure virtual]

Callback showing completion SetSampleRate().

Parameters

TInt aErrorwill be KErrNone if the action succeeded, otherwise it will be a system error specific errors to be defined.