CMMFAudioInput Class Reference

#include <mmf/server/mmfaudioinput.h>

Link against: mmccsubcontroller.lib

class CMMFAudioInput : public CBase

Inherits from

  • CMMFAudioInput

    Detailed Description

    Concrete data source to provide microphone support.

    Intended to be used by controller plugin developers for source plugins. Uses CMMFDevSound to access hardware.

    Member Attribute Documentation

    iBufferStatus

    TRequestStatus iBufferStatus

    Buffer completion status.

    Constructor & Destructor Documentation

    ~CMMFAudioInput ( )

    ~CMMFAudioInput()[virtual]

    Member Function Documentation

    BufferEmptiedL ( CMMFBuffer * )

    voidBufferEmptiedL(CMMFBuffer *aBuffer)[virtual]

    BytesPlayed ( )

    TInt BytesPlayed()

    CanCreateSourceBuffer ( )

    TBool CanCreateSourceBuffer()[virtual]

    ConstructL ( )

    voidConstructL()

    ConstructSourceL ( const TDesC8 & )

    voidConstructSourceL(const TDesC8 &aInitData)[protected, virtual]

    CreateSourceBufferL ( TMediaId )

    CMMFBuffer *CreateSourceBufferL(TMediaIdaMediaId)[virtual]

    CreateSourceBufferL ( TMediaId, CMMFBuffer & )

    CMMFBuffer *CreateSourceBufferL(TMediaIdaMediaId,
    CMMFBuffer &aSinkBuffer
    )[inline, virtual]

    Intended for synchronous usage (returns buffer specific to a Media Type).

    ParameterDescription
    aMediaIdThe Media ID.
    aSinkBufferNot Used.

    Returns: A pointer to the CMMFBuffer source buffer.

    CreateSourceBufferL ( TMediaId, TBool & )

    CMMFBuffer *CreateSourceBufferL(TMediaIdaMediaId,
    TBool &aReference
    )[virtual]

    CreateSourceBufferL ( TMediaId, CMMFBuffer &, TBool & )

    CMMFBuffer *CreateSourceBufferL(TMediaIdaMediaId,
    CMMFBuffer &aSinkBuffer,
    TBool &aReference
    )[inline, virtual]

    Creates a source buffer.

    Intended for asynchronous usage (returns buffer specific to a Media Type).

    ParameterDescription
    aMediaIdThe Media ID.
    aSinkBufferNot used.
    aReferenceA boolean indicating if MDataSource owns the buffer. If EFalse the the caller owns the buffer.

    Returns: The source buffer.

    DataType ( )

    TFourCC DataType()const [virtual]

    FillBufferL ( CMMFBuffer *, MDataSink *, TMediaId )

    voidFillBufferL(CMMFBuffer *aBuffer,
    MDataSink *aConsumer,
    TMediaIdaMediaId
    )[virtual]

    HWFillBufferL ( CMMFBuffer *, MDataSink * )

    voidHWFillBufferL(CMMFBuffer *aBuffer,
    MDataSink *aConsumer
    )

    LoadL ( )

    voidLoadL()

    NegotiateSourceL ( MDataSink & )

    voidNegotiateSourceL(MDataSink &aSink)[virtual]

    NewSourceL ( )

    MDataSource *NewSourceL()[static]

    SetDataTypeL ( TFourCC )

    voidSetDataTypeL(TFourCCaAudioType)[virtual]

    SetSourceDataTypeCode ( TFourCC, TMediaId )

    TInt SetSourceDataTypeCode(TFourCCaSourceFourCC,
    TMediaIdaMediaId
    )[virtual]

    SetSourcePrioritySettings ( const TMMFPrioritySettings & )

    voidSetSourcePrioritySettings(const TMMFPrioritySettings &aPrioritySettings)[virtual]

    SoundDevice ( )

    CMMFDevSound &SoundDevice()

    SourceDataTypeCode ( TMediaId )

    TFourCC SourceDataTypeCode(TMediaIdaMediaId)[virtual]

    SourcePauseL ( )

    voidSourcePauseL()[virtual]

    SourcePlayL ( )

    voidSourcePlayL()[virtual]

    SourcePrimeL ( )

    voidSourcePrimeL()[virtual]

    SourceStopL ( )

    voidSourceStopL()[virtual]

    SourceThreadLogoff ( )

    voidSourceThreadLogoff()[virtual]

    SourceThreadLogon ( MAsyncEventHandler & )

    TInt SourceThreadLogon(MAsyncEventHandler &aEventHandler)[virtual]