sl@0: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: // Mmf\Common\MmfMidi.h
sl@0: // 
sl@0: //
sl@0: 
sl@0: #ifndef __MMF_COMMON_MMFMIDI_H__
sl@0: #define __MMF_COMMON_MMFMIDI_H__
sl@0: 
sl@0: // Standard EPOC32 includes
sl@0: #include <e32base.h>
sl@0: 
sl@0: // Public Media Server includes
sl@0: #include <mmf/common/mmfbase.h>
sl@0: #include <mmf/common/mmfutilities.h>
sl@0: 
sl@0: #include <midiclientutility.h>
sl@0: 
sl@0: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
sl@0: #include <mmf/common/mmfmidiconfig.h>
sl@0: #endif
sl@0: 
sl@0: /**
sl@0: MIDI event usued by a MIDI controller to signal to a 
sl@0: client that a MIDI source open request has completed.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiOpenDataSourceComplete = {0x101F8F85};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a 
sl@0: client that play of a MIDI resource has commenced.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiPlaying = {0x101F8F86};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to 
sl@0: a client that play of a MIDI resource has commenced 
sl@0: but not all SP-MIDI requirements can be met.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiPlaybackIncompatible = {0x101F8F87};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that play
sl@0: of a MIDI resource has commenced but due to system resource constraints
sl@0: and SP-MIDI content constraints, there is no audible MIDI content
sl@0: during playback.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiPlaybackSilent = {0x101F8F88};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to
sl@0: a client that play of a MIDI resource has completed.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiPlayingComplete = {0x101F8F89};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to
sl@0: a client a sync update event. The frequency of this event is
sl@0: set by the client with SetSyncUpdateCallbackIntervalL.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiSyncUpdate = {0x101F8F8A};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to
sl@0: a client that any currently opened resources have been closed.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiClose = {0x101F8F8B};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that the 
sl@0: MIDI controller has been primed and it's ready to play.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMidiPrime = {0x101F8F8C};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that the MIDI
sl@0: resource has encountered a tempo change message in the MIDI data stream.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryTempoChanged = {0x101F8F8D};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that the MIDI
sl@0: resource has encountered a volume change message in the MIDI data stream.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryVolumeChanged = {0x101F8F8E};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that the 
sl@0: MIDI resource has encountered a mute message in the MIDI data stream.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMuteChanged = {0x101F8F8F};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that the polyphony
sl@0: of the MIDI engine has changed.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryPolyphonyChanged = {0x101F8F90};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that
sl@0: an instrument has been changed on a channel.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryInstrumentChanged = {0x101F8F91};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that a timed
sl@0: meta data entry has been found in the MIDI data stream.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMetaDataEntryFound  = {0x101F8F92};
sl@0: 
sl@0: /**
sl@0: MIDI event used by a MIDI controller to signal to a client that a 
sl@0: MIP message has been found in the MIDI data stream.
sl@0: 
sl@0: @publishedAll
sl@0: @released
sl@0: */
sl@0: const TUid KMMFEventCategoryMipMessageReceived  = {0x101F8F93};
sl@0: 
sl@0: #endif