author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// Mmf\Common\MmfMidi.h |
williamr@2 | 15 |
// |
williamr@2 | 16 |
// |
williamr@2 | 17 |
|
williamr@2 | 18 |
#ifndef __MMF_COMMON_MMFMIDI_H__ |
williamr@2 | 19 |
#define __MMF_COMMON_MMFMIDI_H__ |
williamr@2 | 20 |
|
williamr@2 | 21 |
// Standard EPOC32 includes |
williamr@2 | 22 |
#include <e32base.h> |
williamr@2 | 23 |
|
williamr@2 | 24 |
// Public Media Server includes |
williamr@2 | 25 |
#include <mmf/common/mmfbase.h> |
williamr@2 | 26 |
#include <mmf/common/mmfutilities.h> |
williamr@2 | 27 |
|
williamr@2 | 28 |
#include <midiclientutility.h> |
williamr@2 | 29 |
|
williamr@4 | 30 |
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
williamr@4 | 31 |
#include <mmf/common/mmfmidiconfig.h> |
williamr@4 | 32 |
#endif |
williamr@4 | 33 |
|
williamr@2 | 34 |
/** |
williamr@2 | 35 |
MIDI event usued by a MIDI controller to signal to a |
williamr@2 | 36 |
client that a MIDI source open request has completed. |
williamr@2 | 37 |
|
williamr@2 | 38 |
@publishedAll |
williamr@2 | 39 |
@released |
williamr@2 | 40 |
*/ |
williamr@2 | 41 |
const TUid KMMFEventCategoryMidiOpenDataSourceComplete = {0x101F8F85}; |
williamr@2 | 42 |
|
williamr@2 | 43 |
/** |
williamr@2 | 44 |
MIDI event used by a MIDI controller to signal to a |
williamr@2 | 45 |
client that play of a MIDI resource has commenced. |
williamr@2 | 46 |
|
williamr@2 | 47 |
@publishedAll |
williamr@2 | 48 |
@released |
williamr@2 | 49 |
*/ |
williamr@2 | 50 |
const TUid KMMFEventCategoryMidiPlaying = {0x101F8F86}; |
williamr@2 | 51 |
|
williamr@2 | 52 |
/** |
williamr@2 | 53 |
MIDI event used by a MIDI controller to signal to |
williamr@2 | 54 |
a client that play of a MIDI resource has commenced |
williamr@2 | 55 |
but not all SP-MIDI requirements can be met. |
williamr@2 | 56 |
|
williamr@2 | 57 |
@publishedAll |
williamr@2 | 58 |
@released |
williamr@2 | 59 |
*/ |
williamr@2 | 60 |
const TUid KMMFEventCategoryMidiPlaybackIncompatible = {0x101F8F87}; |
williamr@2 | 61 |
|
williamr@2 | 62 |
/** |
williamr@2 | 63 |
MIDI event used by a MIDI controller to signal to a client that play |
williamr@2 | 64 |
of a MIDI resource has commenced but due to system resource constraints |
williamr@2 | 65 |
and SP-MIDI content constraints, there is no audible MIDI content |
williamr@2 | 66 |
during playback. |
williamr@2 | 67 |
|
williamr@2 | 68 |
@publishedAll |
williamr@2 | 69 |
@released |
williamr@2 | 70 |
*/ |
williamr@2 | 71 |
const TUid KMMFEventCategoryMidiPlaybackSilent = {0x101F8F88}; |
williamr@2 | 72 |
|
williamr@2 | 73 |
/** |
williamr@2 | 74 |
MIDI event used by a MIDI controller to signal to |
williamr@2 | 75 |
a client that play of a MIDI resource has completed. |
williamr@2 | 76 |
|
williamr@2 | 77 |
@publishedAll |
williamr@2 | 78 |
@released |
williamr@2 | 79 |
*/ |
williamr@2 | 80 |
const TUid KMMFEventCategoryMidiPlayingComplete = {0x101F8F89}; |
williamr@2 | 81 |
|
williamr@2 | 82 |
/** |
williamr@2 | 83 |
MIDI event used by a MIDI controller to signal to |
williamr@2 | 84 |
a client a sync update event. The frequency of this event is |
williamr@2 | 85 |
set by the client with SetSyncUpdateCallbackIntervalL. |
williamr@2 | 86 |
|
williamr@2 | 87 |
@publishedAll |
williamr@2 | 88 |
@released |
williamr@2 | 89 |
*/ |
williamr@2 | 90 |
const TUid KMMFEventCategoryMidiSyncUpdate = {0x101F8F8A}; |
williamr@2 | 91 |
|
williamr@2 | 92 |
/** |
williamr@2 | 93 |
MIDI event used by a MIDI controller to signal to |
williamr@2 | 94 |
a client that any currently opened resources have been closed. |
williamr@2 | 95 |
|
williamr@2 | 96 |
@publishedAll |
williamr@2 | 97 |
@released |
williamr@2 | 98 |
*/ |
williamr@2 | 99 |
const TUid KMMFEventCategoryMidiClose = {0x101F8F8B}; |
williamr@2 | 100 |
|
williamr@2 | 101 |
/** |
williamr@2 | 102 |
MIDI event used by a MIDI controller to signal to a client that the |
williamr@2 | 103 |
MIDI controller has been primed and it's ready to play. |
williamr@2 | 104 |
|
williamr@2 | 105 |
@publishedAll |
williamr@2 | 106 |
@released |
williamr@2 | 107 |
*/ |
williamr@2 | 108 |
const TUid KMMFEventCategoryMidiPrime = {0x101F8F8C}; |
williamr@2 | 109 |
|
williamr@2 | 110 |
/** |
williamr@2 | 111 |
MIDI event used by a MIDI controller to signal to a client that the MIDI |
williamr@2 | 112 |
resource has encountered a tempo change message in the MIDI data stream. |
williamr@2 | 113 |
|
williamr@2 | 114 |
@publishedAll |
williamr@2 | 115 |
@released |
williamr@2 | 116 |
*/ |
williamr@2 | 117 |
const TUid KMMFEventCategoryTempoChanged = {0x101F8F8D}; |
williamr@2 | 118 |
|
williamr@2 | 119 |
/** |
williamr@2 | 120 |
MIDI event used by a MIDI controller to signal to a client that the MIDI |
williamr@2 | 121 |
resource has encountered a volume change message in the MIDI data stream. |
williamr@2 | 122 |
|
williamr@2 | 123 |
@publishedAll |
williamr@2 | 124 |
@released |
williamr@2 | 125 |
*/ |
williamr@2 | 126 |
const TUid KMMFEventCategoryVolumeChanged = {0x101F8F8E}; |
williamr@2 | 127 |
|
williamr@2 | 128 |
/** |
williamr@2 | 129 |
MIDI event used by a MIDI controller to signal to a client that the |
williamr@2 | 130 |
MIDI resource has encountered a mute message in the MIDI data stream. |
williamr@2 | 131 |
|
williamr@2 | 132 |
@publishedAll |
williamr@2 | 133 |
@released |
williamr@2 | 134 |
*/ |
williamr@2 | 135 |
const TUid KMMFEventCategoryMuteChanged = {0x101F8F8F}; |
williamr@2 | 136 |
|
williamr@2 | 137 |
/** |
williamr@2 | 138 |
MIDI event used by a MIDI controller to signal to a client that the polyphony |
williamr@2 | 139 |
of the MIDI engine has changed. |
williamr@2 | 140 |
|
williamr@2 | 141 |
@publishedAll |
williamr@2 | 142 |
@released |
williamr@2 | 143 |
*/ |
williamr@2 | 144 |
const TUid KMMFEventCategoryPolyphonyChanged = {0x101F8F90}; |
williamr@2 | 145 |
|
williamr@2 | 146 |
/** |
williamr@2 | 147 |
MIDI event used by a MIDI controller to signal to a client that |
williamr@2 | 148 |
an instrument has been changed on a channel. |
williamr@2 | 149 |
|
williamr@2 | 150 |
@publishedAll |
williamr@2 | 151 |
@released |
williamr@2 | 152 |
*/ |
williamr@2 | 153 |
const TUid KMMFEventCategoryInstrumentChanged = {0x101F8F91}; |
williamr@2 | 154 |
|
williamr@2 | 155 |
/** |
williamr@2 | 156 |
MIDI event used by a MIDI controller to signal to a client that a timed |
williamr@2 | 157 |
meta data entry has been found in the MIDI data stream. |
williamr@2 | 158 |
|
williamr@2 | 159 |
@publishedAll |
williamr@2 | 160 |
@released |
williamr@2 | 161 |
*/ |
williamr@2 | 162 |
const TUid KMMFEventCategoryMetaDataEntryFound = {0x101F8F92}; |
williamr@2 | 163 |
|
williamr@2 | 164 |
/** |
williamr@2 | 165 |
MIDI event used by a MIDI controller to signal to a client that a |
williamr@2 | 166 |
MIP message has been found in the MIDI data stream. |
williamr@2 | 167 |
|
williamr@2 | 168 |
@publishedAll |
williamr@2 | 169 |
@released |
williamr@2 | 170 |
*/ |
williamr@2 | 171 |
const TUid KMMFEventCategoryMipMessageReceived = {0x101F8F93}; |
williamr@2 | 172 |
|
williamr@2 | 173 |
#endif |