MMMFAudioOutput Class Reference

#include <mmf/server/mmfaudiooutput.h>

class MMMFAudioOutput : public MDataSink, public MDataSink

Inherits from

Detailed Description

Interface class to allow dynamic linkage to CMMFAudioOutput.

Constructor & Destructor Documentation

MMMFAudioOutput ( )

MMMFAudioOutput()[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.

HWEmptyBufferL ( CMMFBuffer *, MDataSource * )

voidHWEmptyBufferL(CMMFBuffer *aBuffer,
MDataSource *aSupplier
)[pure virtual]

Deprecated

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

Parameters
aBufferThe data to read in from a Hardware Device
aSupplierThe MDataSink consuming the data contained in aBuffer.

NewAudioOutputL ( TUid, const TDesC8 & )

MMMFAudioOutput *NewAudioOutputL(TUidaImplementationUid,
const TDesC8 &aInitData
)[static, inline]

Gets a new audio output object.

Parameters
aImplementationUidThe implementation UID.
aInitDataThe initialisation data.
Return Value
The audio output object.

SoundDevice ( )

CMMFDevSound &SoundDevice()[pure virtual]

Returns the sound device.

Accessor function exposing public CMMFDevsound methods.

Return Value
A reference to a CMMFDevSound objector.