MotionDJDefs.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:9k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2005
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*****************************************************************************
  36.  *
  37.  * Filename:
  38.  * ---------
  39.  *  MotionDJDefs.h
  40.  *
  41.  * Project:
  42.  * --------
  43.  *  MAUI
  44.  *
  45.  * Description:
  46.  * ------------
  47.  *  Motion Game - DJ
  48.  *
  49.  * Author:
  50.  * -------
  51.  * -------
  52.  *                      
  53.  *============================================================================
  54.  *             HISTORY
  55.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  56.  *------------------------------------------------------------------------------
  57.  * removed!
  58.  * removed!
  59.  * removed!
  60.  *
  61.  * removed!
  62.  * removed!
  63.  * removed!
  64.  *
  65.  * removed!
  66.  * removed!
  67.  * removed!
  68.  *
  69.  * removed!
  70.  * removed!
  71.  * removed!
  72.  *
  73.  *------------------------------------------------------------------------------
  74.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  75.  *============================================================================
  76.  ****************************************************************************/
  77. #ifndef _MOTION_DJ_DEFS_H_
  78. #define _MOTION_DJ_DEFS_H_
  79. /***************************************************************************** 
  80. * Include
  81. *****************************************************************************/
  82. /***************************************************************************** 
  83. * Define
  84. *****************************************************************************/
  85. #define DJ_AUD_DUMMY_BG_LEN         (94)
  86. #define DJ_AUD_INS_MIDI_0_LEN       (310)
  87. #define DJ_AUD_INS_MIDI_1_LEN       (310)
  88. #define DJ_AUD_INS_MIDI_2_LEN       (310)
  89. #define DJ_AUD_INS_MIDI_3_LEN       (310)
  90. #define DJ_AUD_INS_MIDI_4_LEN       (310)
  91. #define DJ_AUD_INS_MIDI_5_LEN       (310)
  92. #define DJ_AUD_INS_MIDI_6_LEN       (310)
  93. #define DJ_AUD_INS_MIDI_7_LEN       (310)
  94. #define DJ_AUD_INS_MIDI_8_LEN       (310)
  95. #define DJ_AUD_INS_MIDI_9_LEN       (310)
  96. #define DJ_AUD_VOX_WAVE_0_LEN       (4798)
  97. #define DJ_AUD_VOX_WAVE_1_LEN       (4798)
  98. #define DJ_AUD_VOX_WAVE_2_LEN       (4798)
  99. #define DJ_AUD_VOX_WAVE_3_LEN       (4798)
  100. #define DJ_AUD_VOX_WAVE_4_LEN       (4798)
  101. #define DJ_AUD_VOX_WAVE_5_LEN       (4798)
  102. #define DJ_AUD_VOX_WAVE_6_LEN       (4798)
  103. #define DJ_AUD_VOX_WAVE_7_LEN       (4798)
  104. #define DJ_AUD_VOX_WAVE_8_LEN       (4798)
  105. #define DJ_AUD_VOX_WAVE_9_LEN       (4798)
  106. /***************************************************************************** 
  107. * Typedef 
  108. *****************************************************************************/
  109. typedef enum
  110. {
  111.     STR_ID_MOTION_DJ_APP = MOTION_DJ_BASE,
  112.     STR_ID_MOTION_DJ_START,
  113.     STR_ID_MOTION_DJ_SETTING,
  114.     STR_ID_MOTION_DJ_INSTRUMENT_TITLE_1,
  115.     STR_ID_MOTION_DJ_INSTRUMENT_TITLE_2,
  116.     STR_ID_MOTION_DJ_INSTRUMENT_TITLE_3,
  117.     STR_ID_MOTION_DJ_VOCAL_TITLE_1,
  118.     STR_ID_MOTION_DJ_VOCAL_TITLE_2,
  119.     STR_ID_MOTION_DJ_VOCAL_TITLE_3,
  120.     STR_ID_MOTION_DJ_INSTRUMENT_0,
  121.     STR_ID_MOTION_DJ_INSTRUMENT_1,
  122.     STR_ID_MOTION_DJ_INSTRUMENT_2,
  123.     STR_ID_MOTION_DJ_INSTRUMENT_3,
  124.     STR_ID_MOTION_DJ_INSTRUMENT_4,
  125.     STR_ID_MOTION_DJ_INSTRUMENT_5,
  126.     STR_ID_MOTION_DJ_INSTRUMENT_6,
  127.     STR_ID_MOTION_DJ_INSTRUMENT_7,
  128.     STR_ID_MOTION_DJ_INSTRUMENT_8,
  129.     STR_ID_MOTION_DJ_INSTRUMENT_9,
  130.     STR_ID_MOTION_DJ_VOCAL_0,
  131.     STR_ID_MOTION_DJ_VOCAL_1,
  132.     STR_ID_MOTION_DJ_VOCAL_2,
  133.     STR_ID_MOTION_DJ_VOCAL_3,
  134.     STR_ID_MOTION_DJ_VOCAL_4,
  135.     STR_ID_MOTION_DJ_VOCAL_5,
  136.     STR_ID_MOTION_DJ_VOCAL_6,
  137.     STR_ID_MOTION_DJ_VOCAL_7,
  138.     STR_ID_MOTION_DJ_VOCAL_8,
  139.     STR_ID_MOTION_DJ_VOCAL_9,
  140.     STR_ID_MOTION_DJ_KEY_0,
  141.     STR_ID_MOTION_DJ_KEY_1,
  142.     STR_ID_MOTION_DJ_KEY_2,
  143.     STR_ID_MOTION_DJ_KEY_3,
  144.     STR_ID_MOTION_DJ_KEY_4,
  145.     STR_ID_MOTION_DJ_KEY_5,
  146.     STR_ID_MOTION_DJ_KEY_6,
  147.     STR_ID_MOTION_DJ_KEY_7,
  148.     STR_ID_MOTION_DJ_KEY_8,
  149.     STR_ID_MOTION_DJ_KEY_9,
  150.     STR_ID_MOTION_DJ_KEY_STAR,
  151.     STR_ID_MOTION_DJ_KEY_POUND,
  152.     STR_ID_MOTION_DJ_EDIT_AUDIO,
  153.     STR_ID_MOTION_DJ_EDIT_VOLUME,
  154.     STR_ID_MOTION_DJ_EDIT_TRIGGER,
  155.     STR_ID_MOTION_DJ_EDIT_KEY,
  156.     STR_ID_MOTION_DJ_EDIT_TRIGGER_AUTO,
  157.     STR_ID_MOTION_DJ_EDIT_TRIGGER_SHAKE,
  158.     STR_ID_MOTION_DJ_EDIT_TRIGGER_KEY_PRESS,
  159.     STR_ID_MOTION_DJ_NOTIFY_HAS_AUTO,
  160.     STR_ID_MOTION_DJ_NOTIFY_HAS_SHAKE,
  161.     STR_ID_MOTION_DJ_NOTIFY_HAS_SHAKE_SAME_KEY,
  162.     STR_ID_MOTION_DJ_NOTIFY_HAS_PRESS_SAME_KEY,
  163.     STR_ID_MOTION_DJ_NOTIFY_EMPTY_TRIGGER,
  164.     STR_ID_MOTION_DJ_NOTIFY_EMPTY_KEY,
  165.     NUM_OF_MOTION_DJ_STR_ID
  166. } motion_dj_str_enum;
  167. typedef enum
  168. {
  169.     IMG_ID_MOTION_DJ_APP = MOTION_DJ_BASE,
  170.     IMG_ID_MOTION_DJ_ICON_TRIGGER_NONE,
  171.     IMG_ID_MOTION_DJ_ICON_TRIGGER_AUTO,
  172.     IMG_ID_MOTION_DJ_ICON_TRIGGER_SHAKE,
  173.     IMG_ID_MOTION_DJ_ICON_TRIGGER_PRESS,
  174.     IMG_ID_MOTION_DJ_ICON_KEY_DUMMY,
  175.     IMG_ID_MOTION_DJ_ICON_KEY_0,
  176.     IMG_ID_MOTION_DJ_ICON_KEY_1,
  177.     IMG_ID_MOTION_DJ_ICON_KEY_2,
  178.     IMG_ID_MOTION_DJ_ICON_KEY_3,
  179.     IMG_ID_MOTION_DJ_ICON_KEY_4,
  180.     IMG_ID_MOTION_DJ_ICON_KEY_5,
  181.     IMG_ID_MOTION_DJ_ICON_KEY_6,
  182.     IMG_ID_MOTION_DJ_ICON_KEY_7,
  183.     IMG_ID_MOTION_DJ_ICON_KEY_8,
  184.     IMG_ID_MOTION_DJ_ICON_KEY_9,
  185.     IMG_ID_MOTION_DJ_ICON_KEY_STAR,
  186.     IMG_ID_MOTION_DJ_ICON_KEY_POUND,
  187.     IMG_ID_MOTION_DJ_PLAY_BG,
  188.     IMG_ID_MOTION_DJ_PLAY_NONE,
  189.     IMG_ID_MOTION_DJ_PLAY_AUTO,
  190.     IMG_ID_MOTION_DJ_PLAY_SHAKE,
  191.     IMG_ID_MOTION_DJ_PLAY_PRESS,
  192.     IMG_ID_MOTION_DJ_PLAY_KEY_0,
  193.     IMG_ID_MOTION_DJ_PLAY_KEY_1,
  194.     IMG_ID_MOTION_DJ_PLAY_KEY_2,
  195.     IMG_ID_MOTION_DJ_PLAY_KEY_3,
  196.     IMG_ID_MOTION_DJ_PLAY_KEY_4,
  197.     IMG_ID_MOTION_DJ_PLAY_KEY_5,
  198.     IMG_ID_MOTION_DJ_PLAY_KEY_6,
  199.     IMG_ID_MOTION_DJ_PLAY_KEY_7,
  200.     IMG_ID_MOTION_DJ_PLAY_KEY_8,
  201.     IMG_ID_MOTION_DJ_PLAY_KEY_9,
  202.     IMG_ID_MOTION_DJ_PLAY_KEY_STAR,
  203.     IMG_ID_MOTION_DJ_PLAY_KEY_POUND,
  204.     IMG_ID_MOTION_DJ_PLAY_NONE_SEL,
  205.     IMG_ID_MOTION_DJ_PLAY_AUTO_SEL,
  206.     IMG_ID_MOTION_DJ_PLAY_SHAKE_SEL,
  207.     IMG_ID_MOTION_DJ_PLAY_PRESS_SEL,
  208.     IMG_ID_MOTION_DJ_PLAY_KEY_0_SEL,
  209.     IMG_ID_MOTION_DJ_PLAY_KEY_1_SEL,
  210.     IMG_ID_MOTION_DJ_PLAY_KEY_2_SEL,
  211.     IMG_ID_MOTION_DJ_PLAY_KEY_3_SEL,
  212.     IMG_ID_MOTION_DJ_PLAY_KEY_4_SEL,
  213.     IMG_ID_MOTION_DJ_PLAY_KEY_5_SEL,
  214.     IMG_ID_MOTION_DJ_PLAY_KEY_6_SEL,
  215.     IMG_ID_MOTION_DJ_PLAY_KEY_7_SEL,
  216.     IMG_ID_MOTION_DJ_PLAY_KEY_8_SEL,
  217.     IMG_ID_MOTION_DJ_PLAY_KEY_9_SEL,
  218.     IMG_ID_MOTION_DJ_PLAY_KEY_STAR_SEL,
  219.     IMG_ID_MOTION_DJ_PLAY_KEY_POUND_SEL,
  220.     NUM_OF_MOTION_DJ_IMG_ID
  221. } motion_dj_img_enum;
  222. typedef enum
  223. {
  224.     SCR_ID_MOTION_DJ_APP = MOTION_DJ_BASE,
  225.     SCR_ID_MOTION_DJ_SETTING,
  226.     SCR_ID_MOTION_DJ_EDIT,
  227.     SCR_ID_MOTION_DJ_PLAY,
  228.     SCR_ID_MOTION_DJ_DUMMY,
  229.     NUM_OF_MOTION_DJ_SCR_ID
  230. } motion_dj_scr_enum;
  231. /*****************************************************************************              
  232. * Extern Global Variable                                                                    
  233. *****************************************************************************/
  234. /*****************************************************************************              
  235. * Extern Global Function                                                                    
  236. *****************************************************************************/
  237. #endif /* _MOTION_DJ_DEFS_H_ */