Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class MMMFAudioOutput

class MMMFAudioOutput : public MDataSink;

Description

Interface class to allow dynamic linkage to CMMFAudioOutput.

Derivation

Members

Defined in MMMFAudioOutput:

Inherited from MDataSink:


Construction and destruction


MMMFAudioOutput()

protected: inline MMMFAudioOutput();

Description

Protected constructor.

[Top]


Member functions


NewAudioOutputL(TUid,const TDesC8 &)

static inline MMMFAudioOutput* NewAudioOutputL(TUid aImplementationUid, const TDesC8 &aInitData);

Description

Gets a new audio output object.

Parameters

TUid aImplementationUid

The implementation UID.

const TDesC8 &aInitData

The initialisation data.

Return value

MMMFAudioOutput *

The audio output object.


SoundDevice()

virtual CMMFDevSound& SoundDevice()=0;

Description

Returns the sound device.

Accessor function exposing public CMMFDevsound methods.

Return value

CMMFDevSound &

A reference to a CMMFDevSound objector.


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.


HWEmptyBufferL(CMMFBuffer *,MDataSource *)

Interface status: deprecated

virtual void HWEmptyBufferL(CMMFBuffer *aBuffer, MDataSource *aSupplier)=0;

Description

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

Parameters

CMMFBuffer *aBuffer

The data to read in from a Hardware Device

MDataSource *aSupplier

The MDataSink consuming the data contained in aBuffer.