CA3FDevSoundAdaptationInfo Class Reference

class CA3FDevSoundAdaptationInfo : public CBase

An interface to a A3FDevsoundAdaptationInfo. A3FDevSoundAdaptationInfo is a replacable component that should correspond to the underlying A3F adaptation, and provides information to the DevSound Adaptor information it cannot otherwise obtain. If the underlying A3F adaptation changes, then potentially so should the implementation of A3FDevSoundAdaptationInfo. Additionally the MaxGain and MaxVolume values should be set to reflect those required for the specific product. devsoundadaptationinfo.lib

Inherits from

Constructor & Destructor Documentation

CA3FDevSoundAdaptationInfo()

CA3FDevSoundAdaptationInfo ( ) [protected]

Constructor

~CA3FDevSoundAdaptationInfo()

~CA3FDevSoundAdaptationInfo ( )

Destructor.

Member Functions Documentation

IsResumeSupported(TUid, TUid)

TBool IsResumeSupported ( TUid aCodecType,
TUid aFormat
) [inline]

Queries A3F adaptation about if True Pause is supported the completion will be indicated by RequestSupportedFormatsComplete().

Parameters

TUid aCodecType KUidAudioEncoder for encoder format, KUidAudioDecoder for decoder format
TUid aFormat The format to be queried

NewL(MA3FDevSoundAdaptationInfoObserver &, CFourCCConvertor &)

IMPORT_C CA3FDevSoundAdaptationInfo * NewL ( MA3FDevSoundAdaptationInfoObserver & aAdaptationInfoObserver,
CFourCCConvertor & aFourCcConvertor
) [static]

Constructs and returns a pointer to a new CA3FDevSoundAdaptationInfo object. Leaves on failure.

Parameters

MA3FDevSoundAdaptationInfoObserver & aAdaptationInfoObserver
CFourCCConvertor & aFourCcConvertor

RequestMaxGain(TUid)

TInt RequestMaxGain ( TUid aCodecType ) [pure virtual]

Requests Maximun Valid Gain/Volume. This is an asynchronous call. If error return is KErrNone, the result will be returned in subsequent RequestMaxGainComplete() call.

Parameters

TUid aCodecType KUidAudioEncoder for MaxGain, KUidAudioDecoder for MaxVolume

RequestSupportedFormats(TUid, RArray< TUid > &)

TInt RequestSupportedFormats ( TUid aCodecType,
RArray < TUid > & aSupportedFormats
) [pure virtual]

Requests a list of supported FourCC codes. This is an asynchronous call. If error return is KErrNone, the completion will be indicated by RequestSupportedFormatsComplete().

Parameters

TUid aCodecType KUidAudioEncoder for supported encoder formats, KUidAudioDecoder for supported decoder formats
RArray < TUid > & aSupportedFormats The results are appended to this array.