MMMFAudioOutput Class Reference

#include <mmf/server/mmfaudiooutput.h>

Link against: mmccsubcontroller.lib

class MMMFAudioOutput : public MDataSink

Inherits from

Public Member Functions
pure virtual TInt BytesPlayed()
pure virtual voidHWEmptyBufferL(CMMFBuffer *, MDataSource *)
MMMFAudioOutput *NewAudioOutputL(TUid, const TDesC8 &)
pure virtual CMMFDevSound &SoundDevice()
Protected Member Functions
MMMFAudioOutput()

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.

Returns: 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).

ParameterDescription
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.

ParameterDescription
aImplementationUidThe implementation UID.
aInitDataThe initialisation data.

Returns: The audio output object.

SoundDevice ( )

CMMFDevSound &SoundDevice()[pure virtual]

Returns the sound device.

Accessor function exposing public CMMFDevsound methods.

Returns: A reference to a CMMFDevSound objector.