td_dsp_aud_reply_buff.h
来自「Motorola synergy audio component」· C头文件 代码 · 共 97 行
H
97 行
#ifndef TD_DSP_AUD_REPLY_BUFF_INCLUDE /* To prevent inadvertently including a header twice */#define TD_DSP_AUD_REPLY_BUFF_INCLUDE #ifdef __cplusplus /* allow #include in a C++ file (only put this in .h files) */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: This file contains the structure of the DSP_AUD_REPLY_PRIM which comes from a L1 routine. **************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 00-12-21 mtaraba CSGce82934 main_comp_hardware.h within engine_audio vob should be removed 00-05-15 cfarrel CR - CSGce58267 00-04-06 hchuang CR - CSGce53807 Update Audio Manager to use HAPI MDI functions and header files - replace l1_modem_api_queue.h with hapi_mdi_queue.h 99-12-14 ktang CR - CSGce34326 GRiEF - Redefined the structure 98-09-26 blamers CSGce17243 Whitecap VA/VR Audio Event Handler Changes - Updated to coding standard - Added #include for the correct buffer size 97-10-01 gdrumma CSGce12568 Whitecap Audio Reply handling in AM - Added structure for reply primitive*//************** HEADER FILE INCLUDES ******************************************/#include "audio_conditional_compile_def.h"#if (AUDIO_CDMA == TRUE)#include "l1_modem_api_queue.h"#else#include <ENGINE_HAPI/hapi_mdi_queue_map.h>#include <ENGINE_HAPI/hapi_mdi_queue.h>#endif/************** CONSTANTS *****************************************************/#define TD_DSP_AUD_REPLY_BUFF_INVALID 0x0000#define AUD_DSP_REPLY_MSG_LENGTH_MASK 0x00FF#define AUD_DSP_REPLY_MSG_HEADER_LEN 2#define AUD_DSP_REPLY_MSG_LEN_INDEX 1/************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************/typedef UINT16 AUD_DSP_REPLY_WORD;typedef struct{ AUD_DSP_REPLY_WORD id; /* MDI message id */ AUD_DSP_REPLY_WORD stamp_n_length;/* time_stamp & length */} AUD_DSP_REPLY_MSG_HEADER;typedef struct{ AUD_DSP_REPLY_WORD id; /* MDI message id */ UINT8 stamp; /* time_stamp */ UINT8 length; /* length w/o MSG_HEADER */} AUD_DSP_REPLY_MSG_HEADER1;typedef struct{ AUD_DSP_REPLY_WORD reply_buff[DSP_MCU_AUDIO_REPLY_WORD_SIZE];} AUD_DSP_REPLY_PRIM; /************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************/#define AUD_DSP_REPLY_get_msg_len(_mask) (_mask)&AUD_DSP_REPLY_MSG_LENGTH_MASK/************** CLASS DEFINITIONS *********************************************//************** GLOBAL VARIABLES **********************************************/#ifdef __cplusplus /* allow #include in a C++ file (only put this in .h files) */}#endif#endif /* end of - prevent inadvertently including a header file twice */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?