mmlibs/mmfw/MIDI/inc/MmfMidiDataCommon.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2004-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __MMFMIDIDATACOMMON_H__
       
    17 #define __MMFMIDIDATACOMMON_H__
       
    18 
       
    19 
       
    20 /** 
       
    21 Class used to hold MIP message values.
       
    22 
       
    23 @publishedAll
       
    24 @released
       
    25 */
       
    26 class TMipMessageEntry
       
    27 	{
       
    28 public:
       
    29 	/**
       
    30 	 * Channel whose MIP value is to be set.
       
    31 	 */
       
    32 	TInt iChannel;
       
    33 
       
    34 	/**
       
    35 	 * MIP value to use.
       
    36 	 */
       
    37 	TInt iMIPValue;
       
    38 	};
       
    39 
       
    40 /**
       
    41 Defines the current playback rate of the currently open MIDI resource.
       
    42 
       
    43 @publishedAll
       
    44 @released
       
    45 */
       
    46 enum TPlaybackRate
       
    47 	{
       
    48 	/** 
       
    49 	 * The original playback rate for the currently open MIDI resource prior to any modifications.
       
    50 	 */
       
    51 	EOriginalPlaybackRate = 100000
       
    52 	};
       
    53 
       
    54 #endif