⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 am_device_layer_interface.h

📁 Motorola synergy audio component
💻 H
字号:
#ifndef AM_DEVICE_LAYER_INTERFACE_INCLUDE#define AM_DEVICE_LAYER_INTERFACE_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.////----------------------------------------------------------------------------//---------------------------- REVISION HISTORY ------------------------------////    Date        Author      Reference Number//    ========    ========    ================//    2004-11-05  w17860      LIBff24932//                P4.4 Feature # 12583 Memory Reduction //                - Remove Voice Dial and Voice Tag////    04-11-23    aja099      LIBff38547//                VST VR Porting////    03-06-13    aaa063      LIBdd01040//                - Implementation of VST VR functionality////    02-11-04    brb032      CR - LIBbb56504//                Add function to send message to DL.////    02-04-08    stlee       CR - LIBbb27015//                - Stop the previous midi before starting a new midi////    02-07-17    stlee       CR - LIBbb43681//                - Block MIDI during a data/fax call////    01-10-02    arc095      CR - LIBbb06412//                - Changed the prototype of aud_acc_cnf()// //    00-09-21    ktang       CR - CSGce73690//                Fix to remove correct sample alert from tone table in DL//                - A chage to the function aud_tone_cnf upon DL request////    00-09-01    blamers     CR - CSGce61298//                Complete functionality for VA FF/Rew//                - Reformat the Stream Start primitive sender//                - Remove unused primitive senders////    00-08-09    mtaraba     CR - CSGce55882//                Eliminate file gsm.h from audio manager////    99-12-23    wchoi        PR - CSGce39558//                - initial creation//                These functions are used by the audio manager//                to send messages to the device layer or to itself.////----------------------------------------------------------------------------//------------------------------- INCLUDES -----------------------------------#include <SUAPI/suapi.h>#include <ENGINE_AUDIO/td_vr_group_types.h>#include <ENGINE_AUDIO/td_vr_voice_tag.h>#include <ENGINE_AUDIO/td_va_status.h>#include <ENGINE_AUDIO/td_vr_error_codes.h>#include <ENGINE_AUDIO/td_aud_tone_req_tone_type.h>#include <ENGINE_AUDIO/aud_hw_stub_command_cnf.h>#include <ENGINE_SEEM/seem.h>#include <ENGINE_SEEM/seem_ports.h>#include <ENGINE_SEEM/seem_data_stream.h>#include "aud_tone_req.h"#if (MAKE_FTR_VR == TRUE)void Send2DeviceLayer_Reformat_Ind(UINT16 error_code);void Send2DeviceLayer_vr_message(UINT32 msg_id, UINT8 error_code);void Send2DeviceLayer_SDVR_Train_Complete_Ind(UINT8 warning_code,                                              UINT8 error_code,                                              TD_VR_MODEL_ID model_id);void Send2DeviceLayer_SDVR_Complete_Ind(UINT16 error_code,                                        UINT8 word_count,                                        UINT16* word_array);void Send2DeviceLayer_SDVR_Capture_Complete_Ind(UINT16 error);void Send2DeviceLayer_SDVR_Delete_Complete_Ind(UINT16 error_code,                                               TD_VR_GROUP_TYPE group_id);void Send2DeviceLayer_SDVR_Model_ID_Ind(UINT16 error_code,                                         TD_VR_GROUP_TYPE group_id,                                        UINT8 active_bit_array_size,                                         UINT16* active_bit_array);void Send2DeviceLayer_AUD_Reformat_Flash_Ind(UINT16 error_code);void Send2DeviceLayer_SDVR_Voice_Tag_Complete_Ind(UINT16 error_code);// Audio Manager Self Centervoid Send2AudioMgr_AUDSCM_SDSR_Delete_Complete_Ind(UINT16 error_code);void Send2AudioMgr_AUDSCM_SDSR_Model_ID_Ind(TD_VR_ERROR_CODES error_code,                                            UINT16 *active_bit_array,                                            UINT8 bit_array_size);void Send2AudioMgr_AUDSCM_SDSR_Complete_Ind(TD_VR_ERROR_CODES error_code,                                            UINT16* word_array,                                            UINT8 word_array_size);#endif#if (MAKE_FTR_VA == TRUE)void Send2DeviceLayer_AUD_VA_Command_Cnf(TD_VA_STATUS va_status,                                         UINT16 va_time_remaining,                                         UINT32 va_time_elapsed);void Send2DeviceLayer_AUD_VA_Status_Ind(TD_VA_STATUS status);#endif#if ( (MAKE_FTR_VR == TRUE) || (MAKE_FTR_VA == TRUE) )void Send2AudioMgr_AUD_HW_Stub_Command_Cnf(AM_HW_STUB_COMMAND command);SEEM_DATA_STREAM_STATUS_CNF_TYPESEEM_Data_Stream_Start_Req(SEEM_DATA_STREAM_ELEMENT_ID element_id,                           SEEM_DATA_STREAM_ACCESS_TYPE access_type,                           SEEM_DATA_STREAM_DATA_TYPE fdi_data_type,                           SEEM_DATA_STREAM_RECORD_NUM record_num,                           SEEM_DATA_STREAM_RECORD_OFST record_ofst,                           SEEM_DATA_STREAM_RECORD_SIZE* record_size_ptr);#endifvoid aud_acc_cnf(UINT32 msg_id);/*==================================================================================================  VST VR FUNCTIONS==================================================================================================*/void Send2DeviceLayer_vst_capture_cnf_msg            (UINT8 dl_status_code);void Send2DeviceLayer_vst_stop_audio_capture_cnf_msg (UINT8 dl_status_code);void Send2DeviceLayer_vst_buffer_playback_cnf_msg    (UINT8 dl_status_code);void Send2DeviceLayer_vst_flash_playback_cnf_msg     (UINT8 dl_status_code);void Send2DeviceLayer_vst_stop_audio_playback_cnf_msg(UINT8 dl_status_code);void Send2DeviceLayer_vst_playback_complete_msg      (UINT8 dl_status_code);void aud_dl_aud_cnf(UINT32 msg_id, void *msg, UINT32 msg_size);#ifdef __cplusplusextern "C" {#endifvoid aud_tone_cnf(TD_AUD_TONE_REQ_TONE_TYPE_T tone, UINT32 sequence);BOOL AM_FindInQueue( AUD_TONE_REQ * tone_ptr);BOOL AM_FindInQueueWithSeq( AUD_TONE_REQ * tone_ptr, UINT32 seq );#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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