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

  • CA3FDevSoundAdaptationInfo

Constructor & Destructor Documentation

CA3FDevSoundAdaptationInfo()

CA3FDevSoundAdaptationInfo()[protected]

Constructor

~CA3FDevSoundAdaptationInfo()

~CA3FDevSoundAdaptationInfo()

Destructor.

Member Functions Documentation

IsResumeSupported(TUid, TUid)

TBool IsResumeSupported(TUidaCodecType,
TUidaFormat
)[inline]

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

Parameters

TUid aCodecTypeKUidAudioEncoder for encoder format, KUidAudioDecoder for decoder format
TUid aFormatThe 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(TUidaCodecType)[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 aCodecTypeKUidAudioEncoder for MaxGain, KUidAudioDecoder for MaxVolume

RequestSupportedFormats(TUid, RArray< TUid > &)

TInt RequestSupportedFormats(TUidaCodecType,
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 aCodecTypeKUidAudioEncoder for supported encoder formats, KUidAudioDecoder for supported decoder formats
RArray< TUid > & aSupportedFormatsThe results are appended to this array.