📄 am_app_va_vr_server.h
字号:
#ifndef AM_APP_VAVR_SERVER_INCLUDE#define AM_APP_VAVR_SERVER_INCLUDE/* * (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. */#ifdef __cplusplus /* allow #include in a C++ file */extern "C" {#endif/*DESCRIPTION:This file defines VA/VR Server.*//******************************* REVISION HISTORY ****************************** Date Author Reference Number ======== ======== ================ 01-03-08 mtaraba CSGce91273 Fix is_va_active() to report correctly 01-03-15 mtaraba CSGce90543 AM is sending CTG_ON command unnecessarily resulting in VR hangup 00-08-09 mtaraba CR - CSGce55882 Eliminate file gsm.h from audio manager 00-05-05 shagino CR - CSGce56425 Implement handsfree_status funtion - Changed DL_AUDIO_TONE_TYPE to DL_AUDIO_TONE_TYPE_T. 99-10-25 ktang PR - CSGce40785 GRiEF Audio: DL Audio Tone Types and DL DB Feature IDs - Replaced old tone types to DL tone types 97.07.28 slam PR - CSGce11610 - Expand VR server to be VA/VR server. 97.07.15 slam PR - CSGce10240 - Add group_id onto the union for model retrieval request. 97.06.17 slam PR - CSGce10240 - Remove vr_data_ptr from the VR server. 97.06.04 slam PR - CSGce10240 - Remove vr path from the VR server. - Use union structure to save memory. 97.05.28 slam PR - CSGce10240 - Initial release*******************************************************************************//* INCLUDES */#ifndef SUAPI_INCLUDE#include <SUAPI/suapi.h>#endif#include "am_va_vr_command_types.h"#include "am_app_logic_processor_main.h"#include "am_sdvr_records.h"#include "am_va_info.h"#include <SYNERGY_DEVICE_LAYER/dl_audio_auf.h>/****************************************************************************//* code *//****************************************************************************//* VA/VR Server contains information that the Application Logic Layer needs in order to update AM_AUDIO_INFO for a VA/VR request before passing down to the Hardware Logic Layer.*/typedef struct { /* va/vr command */ AM_VA_VR_COMMAND_TYPE command; /* va active state */ BOOL va_active; union { /* the voice tag playback record */ AM_VR_PLAYBACK_RECORD playback_record; /* the utterance capture record */ AM_SDVR_CAPTURE_RECORD capture_record; /* the voice tag deletion record */ TD_VR_VOICE_TAG deletion_record; /* the speaker dependent voice recognition record */ AM_SDVR_RECOG_RECORD sdvr_recog_record; /* the training record */ AM_SDVR_TRAIN_RECORD training_record; /* identifier of the group in which the models retrieval is requested */ TD_VR_GROUP_TYPE group_id; /* the voice annotation record */ AM_VA_INFO va_data_info; } va_vr_data;} AM_APP_VA_VR_SERVER;#ifdef __cplusplus /* Allow #include in a C++ file. */}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -