class MAudioGainControlObserver |
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.
Public Member Functions | |
---|---|
void | GainChanged ( MAudioGainControl &, TInt ) |
void | MaxGainChanged ( MAudioGainControl &) |
void | MaxRampTimeChanged ( MAudioGainControl &) |
void | GainChanged | ( | MAudioGainControl & | aGain, |
TInt | aError | |||
) | [pure virtual] |
Notifies the observer that the gain has changed, due to request from the client or otherwise. If gain change by the client cannot be fulfilled, a gain change with an error code other than KErrNone will be issued.
MAudioGainControl & aGain | a reference to the gain control whose gain has changed. |
TInt aError |
void | MaxGainChanged | ( | MAudioGainControl & | aGain | ) | [pure virtual] |
Notifies the observer that the maximum gain value supported by the gain control has changed.
MAudioGainControl & aGain | a reference to GainControl whose max gain changed. |
void | MaxRampTimeChanged | ( | MAudioGainControl & | aGain | ) | [pure virtual] |
Notifies the observer that the max ramp time supported by the gain control has changed.
MAudioGainControl & aGain | a reference to GainControl whose max ramp time changed. |
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.