Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MmfAudioInput.h>
This item is not part of the S60 5th Edition SDK

Class MMMFAudioInput

class MMMFAudioInput : public MDataSource;

Description

Interface class to allow dynamic linkage to CMMFAudioInput.

Derivation

Members

Defined in MMMFAudioInput:

Inherited from MDataSource:


Construction and destruction


MMMFAudioInput()

protected: inline MMMFAudioInput();

Description

Protected constructor.

[Top]


Member functions


NewAudioInputL(TUid,const TDesC8 &)

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

Description

Allocates and constructs an audio input object.

Calls MDataSource::NewSourceL(TUid,const TDesC8 &).

Parameters

TUid aImplementationUid

The Implementation UID.

const TDesC8 &aInitData

The initialisation data.

Return value

MMMFAudioInput *

A new audio input object.


SoundDevice()

virtual CMMFDevSound& SoundDevice()=0;

Description

Returns the sound device.

Return value

CMMFDevSound &

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


BytesPlayed()

virtual TInt BytesPlayed()=0;

Description

Returns the number of bytes played.

Return value

TInt

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


HWFillBufferL(CMMFBuffer *,MDataSink *)

Interface status: deprecated

virtual void HWFillBufferL(CMMFBuffer *aBuffer, MDataSink *aConsumer)=0;

Description

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.