CMMFMidiEvent Class Reference

class CMMFMidiEvent : public CBase

Describe a MIDI event. Contains a UID to define the actual event type, and an integer to define the event code.

Inherits from

Constructor & Destructor Documentation

CMMFMidiEvent(TUid, TInt)

IMPORT_CCMMFMidiEvent(TUidaEventType,
TIntaErrorCode
)

Constructor.

Parameters

TUid aEventTypeA UID to define the type of MIDI event.
TInt aErrorCodeThe error code associated with the MIDI event.

CMMFMidiEvent()

IMPORT_CCMMFMidiEvent()

Default constructor.

~CMMFMidiEvent()

IMPORT_C~CMMFMidiEvent()

Destructor.

Member Functions Documentation

CopyL(const CMMFMidiEvent &)

IMPORT_C voidCopyL(const CMMFMidiEvent &aOther)

Copies a MIDI event into this CMMFMidiEvent.

Parameters

const CMMFMidiEvent & aOtherThe CMMFMidiEvent to copy from.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalize the object to a stream. All the member variables will be written to the stream.

Parameters

RWriteStream & aStreamThe write stream object.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalize the object from a stream. All the member variables will be read from the stream.

Parameters

RReadStream & aStreamThe read stream object.

ZeroMembers()

voidZeroMembers()

Set to default values all the data members.

Member Data Documentation

TInt iBankId

TInt iBankId

Identifier of a bank occupying, at most, 14 bits.

TInt iChannel

TInt iChannel

Channel

TInt iErrorCode

TInt iErrorCode

The error code associated with the MIDI event.

TUid iEventType

TUid iEventType

A UID to define the type of MIDI event.

TInt iInstrumentId

TInt iInstrumentId

Identifier of a specific instrument.

TInt iMetaDataEntryId

TInt iMetaDataEntryId

Meta data entry. Client will retrieve meta data entry by calling GetMetaDataEntryL() using this TInt to indicate which meta data entry to retrieve.

TInt64 iMicroBeats

TInt64 iMicroBeats

General purpose time stamp in micro beats per minute.

TTimeIntervalMicroSeconds iMicroSeconds

TTimeIntervalMicroSeconds iMicroSeconds

General purpose time stamp in microseconds.

RArray< TMipMessageEntry > iMipMessage

RArray< TMipMessageEntry >iMipMessage

Array of logical {channel, MIP} value pairs.

TBool iMute

TBool iMute

Mute state of a track or of a channel.

TMidiState iNewState

TMidiState iNewState

Current state of the MIDI client utility object.

TMidiState iOldState

TMidiState iOldState

Old state of the MIDI client utility object.

TInt iPolyphony

TInt iPolyphony

Polyphony of the MIDI engine.

TInt iTempoMicroBeats

TInt iTempoMicroBeats

Tempo value in micro beats per minute.

TReal32 iVolumeInDecibels

TReal32 iVolumeInDecibels

Volume in decibel of a logical channel.