aud_prim_ids.h

来自「Motorola synergy audio component」· C头文件 代码 · 共 509 行 · 第 1/2 页

H
509
字号
 AUD_LOG_SAP_NO_DAI_PARAMS_READ_ERROR,           /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_INT_SPKR_PHONE_PARAMS_READ_ERROR,/* @LOG NO STRUCT */ AUD_LOG_COMPANDING_MIDI_PARAMS_READ_ERROR,      /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_PLOVER_PARAMS_READ_ERROR,    /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_HEADSET_PARAMS_READ_ERROR,   /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_BT_PARAMS_READ_ERROR,        /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_MP3_PARAMS_READ_ERROR,       /* @LOG NO STRUCT */ AUD_LOG_MP3_BETA_PARAMS_READ_ERROR,             /* @LOG MP3_COMPAND_BETA */ AUD_LOG_AS_ENABLE_VALUES_READ_ERROR,            /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_ZIHF_PARAMS_READ_ERROR,      /* @LOG NO STRUCT */ AUD_LOG_COMPANDING_FM_HEADSET_PARAMS_READ_ERROR,/* @LOG NO STRUCT */ AUD_LOG_COMPANDING_CLIP_ON_SPKR_PHONE_PARAMS_READ_ERROR,/* @LOG NO STRUCT */ AUD_LOG_AS_PARAMS_TX_READ_ERROR,                /* @LOG NO STRUCT */ AUD_LOG_AS_PARAMS_ST_READ_ERROR,                /* @LOG NO STRUCT */ AUD_LOG_ANM_PARAMS_READ_ERROR,                  /* @LOG NO STRUCT */ AUDIO_PANIC_RESERVED_24, AUDIO_PANIC_RESERVED_25, AUDIO_PANIC_RESERVED_26, AUDIO_PANIC_RESERVED_27, AUDIO_PANIC_RESERVED_28, AUDIO_PANIC_RESERVED_29, AUDIO_PANIC_RESERVED_30, AUDIO_PANIC_RESERVED_31};        /*******************************************************************        *        Define ID's for client requests to Audio Manager.        *        * See Motorola document AUDIO MANAGER SOFTWARE INTERFACE SPEC for         * details.        *******************************************************************/        /* Requests for action. */enum { AUD_VALID_AUDIO_DEVS_REQ_ID  =   0x80140,      /* @LOG NO_STRUCT */ AUD_MANUAL_TEST_REQ_ID,                        /* @LOG NO_STRUCT */ AUD_TONE_REQ_ID,                               /* @LOG AUD_TONE_REQ */ AUD_VOICE_REQ_ID,                              /* @LOG AUD_VOICE_REQ */ AUD_VT_VOICE_REQ_ID,                           /* @LOG NO_STRUCT */  AUD_DATA_REQ_ID,                               /* @LOG AUD_DATA_REQ */ AUD_PERIPHERAL_CHANGE_IND_ID,                  /* @LOG NO_STRUCT */ AUDIO_DEACTIVATE_REQ_ID,                       /* @LOG NO_STRUCT */ AUDIO_DEACTIVATE_CNF_ID,                       /* @LOG NO_STRUCT */ AUD_DAI_SELECT_REQ_ID,                         /* @LOG NO_STRUCT */ AUD_ACCESSORIES_CHANGE_IND_ID,                 /* @LOG NO_STRUCT */ /* ====================INDicators of status =========================== */ AUD_HOOKSWITCH_IND_ID,                         /* @LOG NO_STRUCT *//*  NOTE: Please do not alter this primitive ID value.  The IP depends on this          value to request the Audio Manager to turn the audio for the data call */ AUD_COMMAND_REQ_ID,                            /* @LOG AUD_COMMAND_REQ */ AUD_VA_COMMAND_REQ_ID,                         /* @LOG AUD_VA_COMMAND_REQ */                /* CoNFirmations of request receipt. */ AUD_COMMAND_MUTE_CNF_ID,                       /* @LOG NO_STRUCT */ AUD_VA_COMMAND_CNF_ID,                         /* @LOG AUD_VA_COMMAND_CNF */ AUD_HW_STUB_COMMAND_CNF_ID,                    /* @LOG AUD_HW_STUB_COMMAND_CNF */ AUD_VA_STATUS_IND_ID,                          /* @LOG AUD_VA_STATUS_IND */ /* Requests for VR related action. */ AUD_PLAY_VOICE_TAG_REQ_ID,                     /* @LOG AUD_PLAY_VOICE_TAG_REQ */ AUD_VR_ENABLE_ID,                              /* @LOG NO_STRUCT */ AUD_VR_DISABLE_ID,                             /* @LOG NO_STRUCT */  AUD_VR_STOP_REQ_ID,                            /* @LOG NO_STRUCT */ AUD_SDVR_CAPTURE_REQ_ID,                       /* @LOG AUD_SDVR_CAPTURE_REQ */ AUD_SDVR_DELETE_VOICE_TAG_REQ_ID,              /* @LOG AUD_SDVR_DELETE_VOICE_TAG_REQ */ AUD_SDVR_START_REQ_ID,                         /* @LOG AUD_SDVR_START_REQ */ AUD_SDVR_TRAIN_REQ_ID,                         /* @LOG AUD_SDVR_TRAIN_REQ */ AUD_SDVR_MODEL_ID_REQ_ID,                      /* @LOG AUD_SDVR_MODEL_ID_REQ */ /* DSP flash related actions. */ AUD_REFORMAT_FLASH_REQ_ID,                     /* @LOG NO_STRUCT */ AUD_REFORMAT_FLASH_IND_ID,                     /* @LOG AUD_REFORMAT_FLASH_IND  */ AUDSCM_TONE_CMPLT1_IND_ID,                     /* @LOG AUDSCM_TONE_CMPLT1_IND */ AUDSCM_DSP_AUDIO_ERROR_REPLY_ID,               /* @LOG AUDSCM_DSP_AUDIO_ERROR_REPLY */ AUDSCM_VOICE_TAG_COMPLETE_IND_ID,              /* @LOG NO_STRUCT */ AUDSCM_SDSR_ENABLE_COMPLETE_IND_ID,            /* @LOG NO_STRUCT */ AUDSCM_SDSR_COMPLETE_IND_ID,                   /* @LOG AUDSCM_SDSR_COMPLETE_IND */  AUDSCM_SDSR_CAPTURE_COMPLETE_IND_ID,           /* @LOG AUDSCM_SDSR_CAPTURE_COMPLETE_IND */ AUDSCM_SDSR_TRAIN_COMPLETE_IND_ID,             /* @LOG AUDSCM_SDSR_TRAIN_COMPLETE_IND */ AUDSCM_SDSR_DELETE_COMPLETE_IND_ID,            /* @LOG AUDSCM_SDSR_DELETE_COMPLETE_IND */ AUDSCM_SDSR_MODEL_ID_IND_ID,                   /* @LOG AUDSCM_SDSR_MODEL_ID_IND */ AUDSCM_VA_RECORD_COMPLETE_IND_ID,              /* @LOG AUDSCM_VA_RECORD_COMPLETE_IND  */ AUDSCM_VA_PLAYBACK_COMPLETE_IND_ID,            /* @LOG AUDSCM_VA_PLAYBACK_COMPLETE_IND */ AUDSCM_VA_TIME_REMAINING_IND_ID,               /* @LOG AUDSCM_VA_TIME_REMAINING_IND */ AUDSCM_VA_ERASE_COMPLETE_IND_ID,               /* @LOG AUDSCM_VA_ERASE_COMPLETE_IND */ AUDSCM_REFORMAT_FLASH_COMPLETE_IND_ID,         /* @LOG AUDSCM_REFORMAT_FLASH_COMPLETE_IND *//* This definition is only used on products with a separtate speech coder (Motorola or AT&T) */ AUDSCM_STRING_PRIMITIVE_ID,                    /* @LOG NO_STRUCT *//* These definitions are used only on products with a SMoC or Firestorm based speech coder */ AUDSCG_STRING_PRIMITIVE_ID,                    /* @LOG NO_STRUCT */ AUDSCG_TONE_SENT_IND_ID,                       /* @LOG NO_STRUCT */ MMIVR_SDVR_CAPTURE_COMPLETE_IND_ID,            /* @LOG MMIVR_SDVR_CAPTURE_COMPLETE_IND */ MMIVR_SDVR_COMPLETE_IND_ID,                    /* @LOG MMIVR_SDVR_COMPLETE_IND */ MMIVR_SDVR_DELETE_COMPLETE_IND_ID,             /* @LOG MMIVR_SDVR_DELETE_COMPLETE_IND */ MMIVR_SDVR_TRAIN_COMPLETE_IND_ID,              /* @LOG MMIVR_SDVR_TRAIN_COMPLETE_IND */ MMIVR_VOICE_TAG_COMPLETE_IND_ID,               /* @LOG MMIVR_VOICE_TAG_COMPLETE_IND */ MMILOC_VR_SDVR_DONE_IND_ID,                    /* @LOG NO_STRUCT */ MMIVR_SDVR_MODEL_ID_IND_ID,                    /* @LOG MMIVR_SDVR_MODEL_ID_IND */ MMILOC_VR_PLAY_VOICE_TAG_REQ_ID,               /* @LOG NO_STRUCT */ /* These definitions were added in for the suspend and unsuspend commands */ AUDIO_SUSPEND_REQ_ID,                          /* @LOG NO_STRUCT */ AUDIO_SUSPEND_CNF_ID,                          /* @LOG NO_STRUCT */ AUDIO_UNSUSPEND_REQ_ID,                        /* @LOG NO_STRUCT */ AUDIO_UNSUSPEND_CNF_ID,                        /* @LOG NO_STRUCT */ /* This definition was added in for aud_stop_all_tones_req() */ AUD_STOP_ALL_TONES_REQ_ID,                     /* @LOG NO_STRUCT */ /* This definition was added for the mute and unmute commands */ AUD_MUTE_REQ_ID,                               /* @LOG AUD_MUTE_REQ */  AUD_TONE_STOP_IND,                             /* @LOG AUD_TONE_STOP_IND_T */ AUD_IDLE_IND_ID,                               /* @LOG NO_STRUCT */ /* This definitions was added to indicate that in the Vib-Ring mode, vibrate has stopped     and the ring has started */ AUD_VIB_STOP_IND,                              /* @LOG NO_STRUCT */ AM_MDI_Q_MSG_ID,                               /* @LOG NO_STRUCT */ AM_MDI_Q_EXTERNAL_REPLY_ID,                    /* @LOG NO_STRUCT */ AM_VR_ENABLE_CNF,                              /* @LOG NO_STRUCT */  AM_VR_DISABLE_CNF,                             /* @LOG NO_STRUCT */  AM_VR_AVAILABLE_IND,                           /* @LOG NO_STRUCT */   AM_VR_UNAVAILABLE_IND,                         /* @LOG NO_STRUCT */ AUDSCM_SDSR_DISABLE_COMPLETE_IND_ID,           /* @LOG NO_STRUCT */ AUDSCM_SDSR_DISABLE_COMPLETE_NORESP_IND_ID,    /* @LOG NO_STRUCT */ AUD_CTIA_MODE_REQ_ID,                          /* @LOG NO_STRUCT */ AUD_ABORT_ALL_VR_ID,                           /* @LOG NO_STRUCT */ AUD_SDVR_CHECK_AVAIL_ID,                       /* @LOG NO_STRUCT */ AUD_RAT_CHANGE_IND_ID,                         /* @LOG NO_STRUCT */ AUD_AUDIO_START_STOP_IND,                      /* @LOG AUD_AUDIO_START_STOP_IND_T *//* Requests are for VST VR related actions. */ AUD_RECORDED_DATA_READY_REQ_ID,                /* @LOG NO_STRUCT1 */ /* Confirmations and related INDs for above requests.  */ AUD_START_AUDIO_CAPTURE_CNF_ID,     /* @LOG NO_STRUCT1 */ AUD_STOP_AUDIO_CAPTURE_CNF_ID,      /* @LOG NO_STRUCT1 */ AUD_PLAY_AUDIO_BUFFER_CNF_ID,       /* @LOG NO_STRUCT1 */ AUD_PLAY_AUDIO_FLASH_CNF_ID,        /* @LOG NO_STRUCT1 */ AUD_STOP_AUDIO_PLAYBACK_CNF_ID,     /* @LOG NO_STRUCT1 */ AUD_AUDIO_PLAYBACK_COMPLETE_CNF_ID, /* @LOG NO_STRUCT1 */ AUD_FRAME_TIMEOUT_CNF_ID,           /* @LOG NO_STRUCT1 */ AUD_AUDIO_SAMPLES_READY_IND_ID,     /* @LOG NO_STRUCT1 */ AUD_AMR_ALLOW_NOISE_SUP,            /* @LOG NO_STRUCT */ AUD_MEDIA_TONE_IND,                 /* @LOG AUD_MEDIA_TONE_IND_T           */ AUD_HAPTICS_SETTING_CHANGE_IND_ID,  /* @LOG NO_STRUCT */ AUD_LOG_DSP_ALG_ENABLE_DISABLE,     /* @LOG NO STRUCT */          AUD_CTG_ADD_RSRC_RETRY_TIMER_ID,    /* @LOG AUD_CTG_ADD_RSRC_RETRY_TIMER_T */ AUD_LOG_HAPI_SIGNAL_WRITE,          /* @LOG AUD_LOG_HAPI_SIGNAL_WRITE_T    */ AUD_LOG_HAPI_CAP_REG,               /* @LOG AM_LOG_HAPI_CAP_REG_T         */ AUD_LOG_ACCY_INFO,                  /* @LOG AUD_LOG_ACCY_INFO_T            */ AUD_LOG_SCO_STATE,                  /* @LOG AUD_LOG_SCO_STATE_T            */ AUD_SETTING_CHANGE_IND_ID           /* @LOG NO_STRUCT */ /* The following 7 enums have no datalogging symbols since they clash with  * the dump file generator tool. The issue is actually with the tool  * but until the tool is fixed, this change will help in preventing errors  * during dump file generation.   */#if (MAKE_HDW_OKI == TRUE) , AUD_SOUNDLIB_TONE_REQ_ID,                      /*  */  AUD_SOUNDLIB_TIMER_ID,                         /*  */#if (MAKE_HDW_MFT == TRUE)  AUD_VIB_REQ_ID,                                /*  */#endifAUD_SOUNDLIB_MIDI_ON_ID,                        /*  */AUD_SOUNDLIB_MIDI_DATA_IND_ID,                  /*  */AUD_SOUNDLIB_MYMIX_GRID_VALUE_ID,               /*  */AUD_SOUNDLIB_MYMIX_PREFILL_CTRL_ID              /*  */#endif};/*==================================================================================================                                 STRUCTURES AND OTHER TYPEDEFS==================================================================================================*/typedef struct {    UINT8 data[64]; /* Some default data */}NO_STRUCT;typedef struct{    UINT8 data[2]; /* Some default data */}NO_STRUCT1;  //  The structure below is used to data log PCAPX and ATLAS calls to HAPI.typedef struct{    UINT32 write_data;       // The parameter value to be set for a particular hapi signal.    UINT16 am_logging_id;    // Uniquely identifies the hapi signal with a consistent value.    UINT16 aud_hapi_signal;  // The actual hapi signal enumeration value.} AUD_LOG_HAPI_SIGNAL_WRITE_T;typedef struct{    HAPI_CAP_REG  register_selection;    HAPI_CAP_MSG  register_value;    HAPI_CAP_MSG  register_mask;} AM_LOG_HAPI_CAP_REG_T ;//  The structure below is used to data log accessory selection in choose_device().typedef struct {    UINT64                   devices_present_bit_array; // 0 = device not attached, 1 = attached.    BOOL                     handsfree_is_selected; // 0 = not handsfree, 1 = in handsfree mode.    BOOL                     in_call;               // 0 = not in call,   1 = phone in call.    BOOL                     cradle_state_is_true;  // 0 = not in cradle, 1 = phone in cradle.    UINT8                    new_device;            // Enumeration value of device to be used.    UINT8                    path_type;             // Tone classification, such as voice, alert, etc.    DL_DB_FEATURE_SETTING_T  feature_state;         // 0 = hand/headset, 1 = carkit, 2 = speakerphone.} AUD_LOG_ACCY_INFO_T;//  The structure below is used to track the SCO state in the AM and DL_Audio.//  Please be aware that the BT Apps also set the SCO under certain conditions!typedef struct {    BOOL                     sco_state_is_on;  // 0 = SCO is down/off, 1 = SCO is on/up.    UINT8                    code_location;    // Unique value to indicate where call was made.} AUD_LOG_SCO_STATE_T;/*==================================================================================================                                 GLOBAL VARIABLE DECLARATIONS==================================================================================================*//*==================================================================================================                                     FUNCTION PROTOTYPES==================================================================================================*//*================================================================================================*/#endif  /* AUD_PRIM_IDS_H */

⌨️ 快捷键说明

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