Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: MmfAudioOutput.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class MMMFAudioOutput

class MMMFAudioOutput : public MDataSink;

Description

Interface class to allow dynamic linkage to CMMFAudioOutput.

Derivation

Members

Defined in MMMFAudioOutput:
BytesPlayed(), HWEmptyBufferL(), MMMFAudioOutput(), NewAudioOutputL(), SoundDevice()

Inherited from MDataSink:
BufferFilledL(), CanCreateSinkBuffer(), ConstructSinkL(), CreateSinkBufferL(), DataSinkType(), EmptyBufferL(), NegotiateL(), NewSinkL(), SetSinkDataTypeCode(), SetSinkPrioritySettings(), SinkCustomCommand(), SinkDataTypeCode(), SinkPauseL(), SinkPlayL(), SinkPrimeL(), SinkStopL(), SinkThreadLogoff(), SinkThreadLogon()


Construction and destruction


MMMFAudioOutput()

protected: inline MMMFAudioOutput();

Description

Protected constructor.

[Top]


Member functions


NewAudioOutputL()

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()

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.