td_vr_voice_tag.h

来自「Motorola synergy audio component」· C头文件 代码 · 共 139 行

H
139
字号
#ifndef TD_VR_VOICE_TAG_INCLUDE#define TD_VR_VOICE_TAG_INCLUDE#ifdef __cplusplus  /* allow #include in a C++ file */extern "C" {#endif/* (c) Copyright Motorola 1997, All rights reserved.   Motorola Confidential Proprietary   Contains confidential proprietary information of Motorola, Inc.   Reverse engineering is prohibited.   The copyright notice does not imply publication.   DESCRIPTION:       <file description> ************** REVISION HISTORY **********************************************   Date       Author      Reference   ========   ========    ==========================   04-11-15   abp095	  LIBff32598 	      Add Tioman conditional compile for MME Component   03-12-15   a18984      LIBdd61312              Change voice tags to 5 PB for C650/V220   00-12-01   mtaraba     CSGce81325              Editing voice shortcut when full does not work   00-11-14   mtaraba     CSGce80140              Change voice tags to 20/5   00-10-25   mtaraba     CR - CSGce77692              Shortcut voice is not played while navigating in the shortcut list items   00-04-16   Dale Noble  CR - 55011              Removed include of std_def.h replaced with suapi.h   99-01-21   jkraisor    CR - CSGce26811              - Modified the number of voicetags for Quick Access                from 15 to 9 per new marketing spec.   97-07-15   slam        PR - CSGce10240              - Add typedef for model id.              - Add TD_VR_INVALID_MODEL_ID.              - Add TD_VR_ALL_MODELS.   97-06-23   slam        PR - CSGce10240              - Change each active bit mask from long word to 2 words.              - Add active bit masks.   97-06-05   slam        PR - CSGce10240              - Define max. number of phone book voice tags and                max. number of quick access voice tags.   97-05-15   slam        PR - CSGce10240              Speaker Dependent Voice Recognition              - Initial release*//************** HEADER FILE INCLUDES ******************************************/#ifndef SUAPI_INCLUDE#include <SUAPI/suapi.h>#endif#include "td_vr_group_types.h"/************** CONSTANTS *****************************************************//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************/typedef UINT8 TD_VR_MODEL_ID;typedef struct {    /* Identifier of the group to which the voice tag belongs */    TD_VR_GROUP_TYPE group_id;    /* Identifier of the voice tag that is the model ID assigned by DSP        during training. If voice tag does not result from user training       (i.e. it's a pre-recorded prompt), then that voice tag must use       a reserved group ID.     */    TD_VR_MODEL_ID model_id;} TD_VR_VOICE_TAG;/* max. number of phone book voice tags *//* NOTE: Number of voice tags plus one temp slot needed */#if ( MAKE_RAINBOW_CHIPSET == TRUE )#define AUDIO_VR_MAX_PB_VOICE_TAGS 21#elif ((MAKE_PRODUCT == MAKE_PRODUCT_C650) || (MAKE_PRODUCT == MAKE_PRODUCT_TIOMAN))#define AUDIO_VR_MAX_PB_VOICE_TAGS 6#else#define AUDIO_VR_MAX_PB_VOICE_TAGS 25#endif#define TD_VR_MAX_PB_VOICE_TAGS	AUDIO_VR_MAX_PB_VOICE_TAGS/* max. number of fast access voice tags *//* NOTE: due to problems with 0 and 1-based between us and seem,         AM needs to ask for 1 more FA voice tags than we need         From some quick analysis, this means that the first PB entry          in SEEM will not get used and we will waste some space in flash */#if ((MAKE_PRODUCT == MAKE_PRODUCT_C650) || (MAKE_PRODUCT == MAKE_PRODUCT_TIOMAN))#define AUDIO_VR_MAX_FA_VOICE_TAGS 0#else#define AUDIO_VR_MAX_FA_VOICE_TAGS 6#endif#define TD_VR_MAX_FA_VOICE_TAGS	(AUDIO_VR_MAX_FA_VOICE_TAGS + 1)/* all VR models */#define TD_VR_ALL_MODELS	0xff/* invalid VR model id */#define TD_VR_INVALID_MODEL_ID	0xfe/* mask to turn all phone book voice tags active *//* bit 0 of word 0 corresponds to model ID 0 *//* bit 0 of word 1 corresponds to model ID 16 */#define TD_VR_PB_VOICE_TAGS_ACTIVE_MASK_0	(UINT16) 0xffff#define TD_VR_PB_VOICE_TAGS_ACTIVE_MASK_1	(UINT16) 0x01ff/* mask to turn all fast access voice tags active *//* bit 0 of word 0 corresponds to model ID 0 *//* bit 0 of word 1 corresponds to model ID 16 */#define TD_VR_FA_VOICE_TAGS_ACTIVE_MASK_0	(UINT16) 0x01ff#define TD_VR_FA_VOICE_TAGS_ACTIVE_MASK_1	(UINT16) 0x0000/************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************//************** GLOBAL VARIABLES **********************************************/#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?