Update contrib.
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Mmf\Common\MmfMidi.h
18 #ifndef __MMF_COMMON_MMFMIDI_H__
19 #define __MMF_COMMON_MMFMIDI_H__
21 // Standard EPOC32 includes
24 // Public Media Server includes
25 #include <mmf/common/mmfbase.h>
26 #include <mmf/common/mmfutilities.h>
28 #include <midiclientutility.h>
30 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
31 #include <mmf/common/mmfmidiconfig.h>
35 MIDI event usued by a MIDI controller to signal to a
36 client that a MIDI source open request has completed.
41 const TUid KMMFEventCategoryMidiOpenDataSourceComplete = {0x101F8F85};
44 MIDI event used by a MIDI controller to signal to a
45 client that play of a MIDI resource has commenced.
50 const TUid KMMFEventCategoryMidiPlaying = {0x101F8F86};
53 MIDI event used by a MIDI controller to signal to
54 a client that play of a MIDI resource has commenced
55 but not all SP-MIDI requirements can be met.
60 const TUid KMMFEventCategoryMidiPlaybackIncompatible = {0x101F8F87};
63 MIDI event used by a MIDI controller to signal to a client that play
64 of a MIDI resource has commenced but due to system resource constraints
65 and SP-MIDI content constraints, there is no audible MIDI content
71 const TUid KMMFEventCategoryMidiPlaybackSilent = {0x101F8F88};
74 MIDI event used by a MIDI controller to signal to
75 a client that play of a MIDI resource has completed.
80 const TUid KMMFEventCategoryMidiPlayingComplete = {0x101F8F89};
83 MIDI event used by a MIDI controller to signal to
84 a client a sync update event. The frequency of this event is
85 set by the client with SetSyncUpdateCallbackIntervalL.
90 const TUid KMMFEventCategoryMidiSyncUpdate = {0x101F8F8A};
93 MIDI event used by a MIDI controller to signal to
94 a client that any currently opened resources have been closed.
99 const TUid KMMFEventCategoryMidiClose = {0x101F8F8B};
102 MIDI event used by a MIDI controller to signal to a client that the
103 MIDI controller has been primed and it's ready to play.
108 const TUid KMMFEventCategoryMidiPrime = {0x101F8F8C};
111 MIDI event used by a MIDI controller to signal to a client that the MIDI
112 resource has encountered a tempo change message in the MIDI data stream.
117 const TUid KMMFEventCategoryTempoChanged = {0x101F8F8D};
120 MIDI event used by a MIDI controller to signal to a client that the MIDI
121 resource has encountered a volume change message in the MIDI data stream.
126 const TUid KMMFEventCategoryVolumeChanged = {0x101F8F8E};
129 MIDI event used by a MIDI controller to signal to a client that the
130 MIDI resource has encountered a mute message in the MIDI data stream.
135 const TUid KMMFEventCategoryMuteChanged = {0x101F8F8F};
138 MIDI event used by a MIDI controller to signal to a client that the polyphony
139 of the MIDI engine has changed.
144 const TUid KMMFEventCategoryPolyphonyChanged = {0x101F8F90};
147 MIDI event used by a MIDI controller to signal to a client that
148 an instrument has been changed on a channel.
153 const TUid KMMFEventCategoryInstrumentChanged = {0x101F8F91};
156 MIDI event used by a MIDI controller to signal to a client that a timed
157 meta data entry has been found in the MIDI data stream.
162 const TUid KMMFEventCategoryMetaDataEntryFound = {0x101F8F92};
165 MIDI event used by a MIDI controller to signal to a client that a
166 MIP message has been found in the MIDI data stream.
171 const TUid KMMFEventCategoryMipMessageReceived = {0x101F8F93};