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)

void GetSupportedModesComplete ( TInt aError ) [pure virtual]

Callback showing completion GetSupportedModes().

Parameters

TInt aError will 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)

void GetSupportedSampleRatesComplete ( TInt aError ) [pure virtual]

Callback showing completion GetSupportedSampleRates().

Parameters

TInt aError

ModeSet(TInt)

void ModeSet ( TInt aError ) [pure virtual]

Callback showing completion SetMode().

Parameters

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

SampleRateSet(TInt)

void SampleRateSet ( TInt aError ) [pure virtual]

Callback showing completion SetSampleRate().

Parameters

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