Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: midistandardcustomcommands.h
Link against: midistandardcustomcommands.lib

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

Class CMMFMidiEvent

class CMMFMidiEvent : public CBase;

Description

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

Derivation

Members

Defined in CMMFMidiEvent:
CMMFMidiEvent(), CMMFMidiEvent(), CopyL(), ExternalizeL(), InternalizeL(), iBankId, iChannel, iErrorCode, iEventType, iInstrumentId, iMetaDataEntryId, iMicroBeats, iMicroSeconds, iMipMessage, iMute, iNewState, iOldState, iPolyphony, iTempoMicroBeats, iVolumeInDecibels, ~CMMFMidiEvent()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


CMMFMidiEvent()

IMPORT_C CMMFMidiEvent(TUid aEventType, TInt aErrorCode);

Description

Constructor.

Parameters

TUid aEventType

A UID to define the type of MIDI event.

TInt aErrorCode

The error code associated with the MIDI event.


CMMFMidiEvent()

IMPORT_C CMMFMidiEvent();

Description

Default constructor.


~CMMFMidiEvent()

IMPORT_C ~CMMFMidiEvent();

Description

Destructor.

[Top]


Member functions


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

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

Parameters

RWriteStream &aStream

The write stream object.


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

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

Parameters

RReadStream &aStream

The read stream object.


CopyL()

IMPORT_C void CopyL(const CMMFMidiEvent &aOther);

Description

Copies a MIDI event into this CMMFMidiEvent.

Parameters

const CMMFMidiEvent &aOther

The CMMFMidiEvent to copy from.

[Top]


Member data


iEventType

TUid iEventType;

Description

A UID to define the type of MIDI event.


iErrorCode

TInt iErrorCode;

Description

The error code associated with the MIDI event.


iOldState

TMidiState iOldState;

Description

Old state of the MIDI client utility object.


iNewState

TMidiState iNewState;

Description

Current state of the MIDI client utility object.


iMicroSeconds

TTimeIntervalMicroSeconds iMicroSeconds;

Description

General purpose time stamp in microseconds.


iMicroBeats

TInt64 iMicroBeats;

Description

General purpose time stamp in micro beats per minute.


iChannel

TInt iChannel;

Description

Channel


iVolumeInDecibels

TReal32 iVolumeInDecibels;

Description

Volume in decibel of a logical channel.


iMute

TBool iMute;

Description

Mute state of a track or of a channel.


iMetaDataEntryId

TInt iMetaDataEntryId;

Description

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


iMipMessage

RArray< TMipMessageEntry > iMipMessage;

Description

Array of logical {channel, MIP} value pairs.


iPolyphony

TInt iPolyphony;

Description

Polyphony of the MIDI engine.


iBankId

TInt iBankId;

Description

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


iInstrumentId

TInt iInstrumentId;

Description

Identifier of a specific instrument.


iTempoMicroBeats

TInt iTempoMicroBeats;

Description

Tempo value in micro beats per minute.