MMMFAudioInput Class Reference

#include <mmf/server/mmfaudioinput.h>

class MMMFAudioInput : public MDataSource, public MDataSource

Inherits from

Detailed Description

Interface class to allow dynamic linkage to CMMFAudioInput.

Constructor & Destructor Documentation

MMMFAudioInput ( )

MMMFAudioInput()[protected, inline]

Protected constructor.

Member Function Documentation

BytesPlayed ( )

TInt BytesPlayed()[pure virtual]

Returns the number of bytes played.

Return Value
The number of bytes played. If 16-bit divide this number returned by 2 to get word length.

HWFillBufferL ( CMMFBuffer *, MDataSink * )

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

Deprecated

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

Parameters
aBufferThe data to read in from a Hardware Device
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
aImplementationUidThe Implementation UID.
aInitDataThe initialisation data.
Return Value
A new audio input object.

SoundDevice ( )

CMMFDevSound &SoundDevice()[pure virtual]

Returns the sound device.

Return Value
A reference to a CMMFDevSound objector. Accessor function exposing public CMMFDevsound methods.