os/mm/mmlibs/mmfw/MIDI/inc/MmfMidi.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/MIDI/inc/MmfMidi.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,173 @@
     1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Mmf\Common\MmfMidi.h
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#ifndef __MMF_COMMON_MMFMIDI_H__
    1.22 +#define __MMF_COMMON_MMFMIDI_H__
    1.23 +
    1.24 +// Standard EPOC32 includes
    1.25 +#include <e32base.h>
    1.26 +
    1.27 +// Public Media Server includes
    1.28 +#include <mmf/common/mmfbase.h>
    1.29 +#include <mmf/common/mmfutilities.h>
    1.30 +
    1.31 +#include <midiclientutility.h>
    1.32 +
    1.33 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    1.34 +#include <mmf/common/mmfmidiconfig.h>
    1.35 +#endif
    1.36 +
    1.37 +/**
    1.38 +MIDI event usued by a MIDI controller to signal to a 
    1.39 +client that a MIDI source open request has completed.
    1.40 +
    1.41 +@publishedAll
    1.42 +@released
    1.43 +*/
    1.44 +const TUid KMMFEventCategoryMidiOpenDataSourceComplete = {0x101F8F85};
    1.45 +
    1.46 +/**
    1.47 +MIDI event used by a MIDI controller to signal to a 
    1.48 +client that play of a MIDI resource has commenced.
    1.49 +
    1.50 +@publishedAll
    1.51 +@released
    1.52 +*/
    1.53 +const TUid KMMFEventCategoryMidiPlaying = {0x101F8F86};
    1.54 +
    1.55 +/**
    1.56 +MIDI event used by a MIDI controller to signal to 
    1.57 +a client that play of a MIDI resource has commenced 
    1.58 +but not all SP-MIDI requirements can be met.
    1.59 +
    1.60 +@publishedAll
    1.61 +@released
    1.62 +*/
    1.63 +const TUid KMMFEventCategoryMidiPlaybackIncompatible = {0x101F8F87};
    1.64 +
    1.65 +/**
    1.66 +MIDI event used by a MIDI controller to signal to a client that play
    1.67 +of a MIDI resource has commenced but due to system resource constraints
    1.68 +and SP-MIDI content constraints, there is no audible MIDI content
    1.69 +during playback.
    1.70 +
    1.71 +@publishedAll
    1.72 +@released
    1.73 +*/
    1.74 +const TUid KMMFEventCategoryMidiPlaybackSilent = {0x101F8F88};
    1.75 +
    1.76 +/**
    1.77 +MIDI event used by a MIDI controller to signal to
    1.78 +a client that play of a MIDI resource has completed.
    1.79 +
    1.80 +@publishedAll
    1.81 +@released
    1.82 +*/
    1.83 +const TUid KMMFEventCategoryMidiPlayingComplete = {0x101F8F89};
    1.84 +
    1.85 +/**
    1.86 +MIDI event used by a MIDI controller to signal to
    1.87 +a client a sync update event. The frequency of this event is
    1.88 +set by the client with SetSyncUpdateCallbackIntervalL.
    1.89 +
    1.90 +@publishedAll
    1.91 +@released
    1.92 +*/
    1.93 +const TUid KMMFEventCategoryMidiSyncUpdate = {0x101F8F8A};
    1.94 +
    1.95 +/**
    1.96 +MIDI event used by a MIDI controller to signal to
    1.97 +a client that any currently opened resources have been closed.
    1.98 +
    1.99 +@publishedAll
   1.100 +@released
   1.101 +*/
   1.102 +const TUid KMMFEventCategoryMidiClose = {0x101F8F8B};
   1.103 +
   1.104 +/**
   1.105 +MIDI event used by a MIDI controller to signal to a client that the 
   1.106 +MIDI controller has been primed and it's ready to play.
   1.107 +
   1.108 +@publishedAll
   1.109 +@released
   1.110 +*/
   1.111 +const TUid KMMFEventCategoryMidiPrime = {0x101F8F8C};
   1.112 +
   1.113 +/**
   1.114 +MIDI event used by a MIDI controller to signal to a client that the MIDI
   1.115 +resource has encountered a tempo change message in the MIDI data stream.
   1.116 +
   1.117 +@publishedAll
   1.118 +@released
   1.119 +*/
   1.120 +const TUid KMMFEventCategoryTempoChanged = {0x101F8F8D};
   1.121 +
   1.122 +/**
   1.123 +MIDI event used by a MIDI controller to signal to a client that the MIDI
   1.124 +resource has encountered a volume change message in the MIDI data stream.
   1.125 +
   1.126 +@publishedAll
   1.127 +@released
   1.128 +*/
   1.129 +const TUid KMMFEventCategoryVolumeChanged = {0x101F8F8E};
   1.130 +
   1.131 +/**
   1.132 +MIDI event used by a MIDI controller to signal to a client that the 
   1.133 +MIDI resource has encountered a mute message in the MIDI data stream.
   1.134 +
   1.135 +@publishedAll
   1.136 +@released
   1.137 +*/
   1.138 +const TUid KMMFEventCategoryMuteChanged = {0x101F8F8F};
   1.139 +
   1.140 +/**
   1.141 +MIDI event used by a MIDI controller to signal to a client that the polyphony
   1.142 +of the MIDI engine has changed.
   1.143 +
   1.144 +@publishedAll
   1.145 +@released
   1.146 +*/
   1.147 +const TUid KMMFEventCategoryPolyphonyChanged = {0x101F8F90};
   1.148 +
   1.149 +/**
   1.150 +MIDI event used by a MIDI controller to signal to a client that
   1.151 +an instrument has been changed on a channel.
   1.152 +
   1.153 +@publishedAll
   1.154 +@released
   1.155 +*/
   1.156 +const TUid KMMFEventCategoryInstrumentChanged = {0x101F8F91};
   1.157 +
   1.158 +/**
   1.159 +MIDI event used by a MIDI controller to signal to a client that a timed
   1.160 +meta data entry has been found in the MIDI data stream.
   1.161 +
   1.162 +@publishedAll
   1.163 +@released
   1.164 +*/
   1.165 +const TUid KMMFEventCategoryMetaDataEntryFound  = {0x101F8F92};
   1.166 +
   1.167 +/**
   1.168 +MIDI event used by a MIDI controller to signal to a client that a 
   1.169 +MIP message has been found in the MIDI data stream.
   1.170 +
   1.171 +@publishedAll
   1.172 +@released
   1.173 +*/
   1.174 +const TUid KMMFEventCategoryMipMessageReceived  = {0x101F8F93};
   1.175 +
   1.176 +#endif