MMMFAudioInput Class Reference

class MMMFAudioInput : public MDataSource

Interface class to allow dynamic linkage to CMMFAudioInput .

Inherits from

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 *)

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

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

Parameters

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

NewAudioInputL(TUid, const TDesC8 &)

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

Allocates and constructs an audio input object.

Calls MDataSource::NewSourceL() .

Parameters

TUid aImplementationUid The Implementation UID.
const TDesC8 & aInitData The initialisation data.

SoundDevice()

CMMFDevSound & SoundDevice ( ) [pure virtual]

Returns the sound device.