MMMFAudioInput Class Reference

class MMMFAudioInput : public MDataSource

Interface class to allow dynamic linkage to CMMFAudioInput.

Inherits from

Public Member Functions
TInt BytesPlayed()
voidHWFillBufferL(CMMFBuffer *, MDataSink *)
MMMFAudioInput *NewAudioInputL(TUid, const TDesC8 &)
CMMFDevSound &SoundDevice()
Protected Member Functions
MMMFAudioInput()

Constructor & Destructor Documentation

MMMFAudioInput()

MMMFAudioInput()[protected, inline]

Protected constructor.

Member Functions Documentation

BytesPlayed()

TInt BytesPlayed()[pure virtual]

Returns the number of bytes played.

HWFillBufferL(CMMFBuffer *, MDataSink *)

voidHWFillBufferL(CMMFBuffer *aBuffer,
MDataSink *aConsumer
)[pure virtual]

Gets audio from hardware device abstracted MMFDevsound (not used).

Parameters

CMMFBuffer * aBufferThe data to read in from a Hardware Device
MDataSink * aConsumerThe MDataSink consuming the data contained in aBuffer.

NewAudioInputL(TUid, const TDesC8 &)

MMMFAudioInput *NewAudioInputL(TUidaImplementationUid,
const TDesC8 &aInitData
)[static, inline]

Allocates and constructs an audio input object.

Calls MDataSource::NewSourceL().

Parameters

TUid aImplementationUidThe Implementation UID.
const TDesC8 & aInitDataThe initialisation data.

SoundDevice()

CMMFDevSound &SoundDevice()[pure virtual]

Returns the sound device.