yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | /***************************************************************************** |
| 2 | * Copyright Statement: |
| 3 | * -------------------- |
| 4 | * This software is protected by Copyright and the information contained |
| 5 | * herein is confidential. The software may not be copied and the information |
| 6 | * contained herein may not be used or disclosed except with the written |
| 7 | * permission of MediaTek Inc. (C) 2005 |
| 8 | * |
| 9 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 11 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | * |
| 22 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | * |
| 28 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | * |
| 34 | *****************************************************************************/ |
| 35 | /******************************************************************************* |
| 36 | * Copyright Statement: |
| 37 | * -------------------- |
| 38 | * This software is protected by Copyright and the information contained |
| 39 | * herein is confidential. The software may not be copied and the information |
| 40 | * contained herein may not be used or disclosed except with the written |
| 41 | * permission of MediaTek Inc. (C) 2001 |
| 42 | * |
| 43 | *******************************************************************************/ |
| 44 | |
| 45 | /******************************************************************************* |
| 46 | * Filename: |
| 47 | * --------- |
| 48 | * audio_enum.h |
| 49 | * |
| 50 | * Project: |
| 51 | * -------- |
| 52 | * MAUI |
| 53 | * |
| 54 | * Description: |
| 55 | * ------------ |
| 56 | * audio common enum |
| 57 | * |
| 58 | * Author: |
| 59 | * ------- |
| 60 | * ------- |
| 61 | * |
| 62 | *============================================================================== |
| 63 | * HISTORY |
| 64 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 65 | *------------------------------------------------------------------------------ |
| 66 | * removed! |
| 67 | * |
| 68 | * removed! |
| 69 | * removed! |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * |
| 73 | * removed! |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * removed! |
| 77 | * |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * removed! |
| 81 | * removed! |
| 82 | * |
| 83 | * removed! |
| 84 | * removed! |
| 85 | * |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * removed! |
| 89 | * |
| 90 | * removed! |
| 91 | * removed! |
| 92 | * removed! |
| 93 | * removed! |
| 94 | * |
| 95 | * removed! |
| 96 | * removed! |
| 97 | * removed! |
| 98 | * |
| 99 | * removed! |
| 100 | * removed! |
| 101 | * removed! |
| 102 | * |
| 103 | * removed! |
| 104 | * removed! |
| 105 | * removed! |
| 106 | * removed! |
| 107 | * |
| 108 | * removed! |
| 109 | * removed! |
| 110 | * removed! |
| 111 | * |
| 112 | * removed! |
| 113 | * removed! |
| 114 | * removed! |
| 115 | * |
| 116 | * removed! |
| 117 | * removed! |
| 118 | * removed! |
| 119 | * removed! |
| 120 | * |
| 121 | * removed! |
| 122 | * removed! |
| 123 | * removed! |
| 124 | * |
| 125 | * removed! |
| 126 | * removed! |
| 127 | * removed! |
| 128 | * |
| 129 | * removed! |
| 130 | * removed! |
| 131 | * removed! |
| 132 | * |
| 133 | * removed! |
| 134 | * removed! |
| 135 | * removed! |
| 136 | * |
| 137 | *------------------------------------------------------------------------------ |
| 138 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 139 | *============================================================================== |
| 140 | *******************************************************************************/ |
| 141 | #ifndef _L1AUDIO_COMMON_ENUM_H |
| 142 | #define _L1AUDIO_COMMON_ENUM_H |
| 143 | |
| 144 | |
| 145 | typedef enum { |
| 146 | SPC_ID_AUDIO_A2M_CCCI = 0, //MSG_ID_AUDIO_MSG_CODE_BEGIN, |
| 147 | SPC_ID_AUDIO_M2A_CCCI, |
| 148 | SPC_ID_AUDIO_STRM_PCM4WAY_DATA, |
| 149 | SPC_ID_AUDIO_STRM_PNW_UL_DATA_NOTIFY, |
| 150 | SPC_ID_AUDIO_STRM_PNW_DL_DATA_REQUEST, |
| 151 | SPC_ID_AUDIO_STRM_BGSND_DATA_REQUEST, |
| 152 | SPC_ID_AUDIO_STRM_VM_DATA_REQUEST, |
| 153 | SPC_ID_AUDIO_STRM_PCM_DATA_REQUEST, |
| 154 | SPC_ID_SPEECH_CUSTOM_DATA_REQUEST, |
| 155 | |
| 156 | // SPC_ID_AUDIO_STRM_PCMREC_DATA_NOTIFY, removed after 93md |
| 157 | SPC_ID_AUDIO_STRM_VMREC_DATA_NOTIFY, |
| 158 | SPC_ID_AUDIO_STRM_CTM_DUMP_DATA_NOTIFY, |
| 159 | |
| 160 | SPC_ID_AUDIO_STRM_DACA_DL_DATA_NOTIFY, |
| 161 | SPC_ID_AUDIO_STRM_DACA_UL_DATA_REQUEST, |
| 162 | |
| 163 | SPC_ID_AUDIO_CONTROL_BGSND_CLOSE, |
| 164 | SPC_ID_NETWORK_STATUS_NOTIFY, |
| 165 | |
| 166 | SPC_ID_AUDIO_STRM_RAWPCMREC_DATA_NOTIFY, |
| 167 | SPC_ID_AUDIO_CONTROL_CTM_CLOSE, |
| 168 | |
| 169 | SPC_ID_AUDIO_PCMMIXER_UL_DATA_REQUEST, |
| 170 | SPC_ID_AUDIO_PCMMIXER_DL_DATA_REQUEST, |
| 171 | SPC_ID_AUDIO_PCMMIXER3_UL_DATA_REQUEST, |
| 172 | SPC_ID_AUDIO_MAX |
| 173 | } SPC_MSG_ID_T; |
| 174 | |
| 175 | typedef enum { |
| 176 | SPC_MSG_FROM_CCCI = 0, |
| 177 | SPC_MSG_FROM_MED, |
| 178 | SPC_MSG_FROM_AUDHISR, |
| 179 | SPC_MSG_FROM_CCCI_STREAM, |
| 180 | SPC_MSG_FROM_CCCI_STREAM_AND_SHM, |
| 181 | } SPC_MSG_FROM_T; |
| 182 | |
| 183 | #define CCCIMSG_A2M_BASE 0x2F00 |
| 184 | #define CCCIMSG_M2A_BASE 0xAF00 |
| 185 | |
| 186 | typedef enum { |
| 187 | |
| 188 | //------------------ A2M ----------------------- |
| 189 | MSG_A2M_SPH_DL_DIGIT_VOLUME = CCCIMSG_A2M_BASE, |
| 190 | MSG_A2M_SPH_UL_DIGIT_VOLUME, |
| 191 | MSG_A2M_MUTE_SPH_UL, |
| 192 | MSG_A2M_MUTE_SPH_DL, |
| 193 | MSG_A2M_SIDETONE_VOLUME, // remove from 93 |
| 194 | MSG_A2M_SPH_DL_ENH_REF_DIGIT_VOLUME, |
| 195 | MSG_A2M_SIDETONE_CONFIG, // remove from 93 |
| 196 | MSG_A2M_MUTE_SPH_UL_ENH_RESULT, |
| 197 | MSG_A2M_MUTE_SPH_UL_SOURCE, |
| 198 | MSG_A2M_MUTE_SPH_DL_CODEC, |
| 199 | MSG_A2M_MUTE_SPH_DL_DYNAMIC, |
| 200 | |
| 201 | MSG_A2M_SET_SAMPLE_RATE = CCCIMSG_A2M_BASE + 0x10, // |
| 202 | MSG_A2M_SET_DUAL_MIC, // remove from 93 |
| 203 | MSG_A2M_SET_BT_DELAY_TIME, |
| 204 | MSG_A2M_SET_LPBK_POINT_DVT = CCCIMSG_A2M_BASE + 0x13, |
| 205 | |
| 206 | MSG_A2M_SPH_ON = CCCIMSG_A2M_BASE + 0x20, |
| 207 | MSG_A2M_SPH_OFF, |
| 208 | MSG_A2M_SET_SPH_MODE, // remove from 93, but may comeback with customize |
| 209 | MSG_A2M_CTRL_SPH_ENH, |
| 210 | MSG_A2M_CONFIG_SPH_ENH, |
| 211 | MSG_A2M_SET_ACOUSTIC_LOOPBACK, |
| 212 | MSG_A2M_PRINT_SPH_COEFF, // remove from 93 |
| 213 | MSG_A2M_SPH_ON_FOR_HOLD_CALL, // [Special] speech on with mute, for call hold use, no any other application can be turn on |
| 214 | MSG_A2M_SPH_ON_FOR_DACA, |
| 215 | MSG_A2M_SPH_ROUTER_ON, // PCM wrouter on for enhancement and other application path. |
| 216 | MSG_A2M_SET_VOICE_ENCRYPTION, // +0x2a |
| 217 | MSG_A2M_SPH_DEV_CHANGE, // + 0x2b |
| 218 | MSG_A2M_ENH_CTRL_SUPPORT, // + 0x2C |
| 219 | |
| 220 | MSG_A2M_PNW_ON = CCCIMSG_A2M_BASE + 0x30, |
| 221 | MSG_A2M_PNW_OFF, |
| 222 | MSG_A2M_RECORD_ON, // removed from 93md |
| 223 | MSG_A2M_RECORD_OFF, // removed from 93md |
| 224 | MSG_A2M_DMNR_RECPLAY_ON, // not use in MT6582, removed from 93md |
| 225 | MSG_A2M_DMNR_RECPLAY_OFF, // not use in MT6582, removed from 93md |
| 226 | MSG_A2M_DMNR_REC_ONLY_ON, // not use in MT6582, removed from 93md |
| 227 | MSG_A2M_DMNR_REC_ONLY_OFF, // not use in MT6582, removed from 93md |
| 228 | MSG_A2M_PCM_REC_ON, // removed from 93md |
| 229 | MSG_A2M_PCM_REC_OFF, // removed from 93md |
| 230 | MSG_A2M_VM_REC_ON, |
| 231 | MSG_A2M_VM_REC_OFF, |
| 232 | MSG_A2M_RECORD_RAW_PCM_ON, //CCCIMSG_A2M_BASE + 0x30 + 0xC |
| 233 | MSG_A2M_RECORD_RAW_PCM_OFF, //CCCIMSG_A2M_BASE + 0x30 + 0xD |
| 234 | MSG_A2M_PCMMIXER_ON, |
| 235 | MSG_A2M_PCMMIXER_OFF, |
| 236 | |
| 237 | MSG_A2M_CTM_ON = CCCIMSG_A2M_BASE + 0x40, |
| 238 | MSG_A2M_CTM_OFF, |
| 239 | MSG_A2M_CTM_DUMP_DEBUG_FILE, |
| 240 | MSG_A2M_BGSND_ON, |
| 241 | MSG_A2M_BGSND_OFF, |
| 242 | MSG_A2M_BGSND_CONFIG, |
| 243 | MSG_A2M_RTT_CONFIG, |
| 244 | MSG_A2M_PCMMIXER_CONFIG, |
| 245 | MSG_A2M_TELEPHONY_TX_ON, |
| 246 | MSG_A2M_TELEPHONY_TX_OFF, |
| 247 | MSG_A2M_TELEPHONY_TX_CONFIG, |
| 248 | |
| 249 | MSG_A2M_PNW_DLDATA_NOTIFY = CCCIMSG_A2M_BASE + 0x50, |
| 250 | MSG_A2M_BGSND_DATA_NOTIFY, |
| 251 | MSG_A2M_CTM_DATA_NOTIFY, |
| 252 | MSG_A2M_DACA_UL_DATA_NOTIFY, |
| 253 | MSG_A2M_RESERVE, |
| 254 | MSG_A2M_SPC_UL_ENC, |
| 255 | MSG_A2M_SPC_DL_DEC, |
| 256 | MSG_A2M_PCMMIXER_DLDATA_NOTIFY, //CCCIMSG_A2M_BASE + 0x57 |
| 257 | MSG_A2M_PCMMIXER_ULDATA_NOTIFY, |
| 258 | MSG_A2M_TELEPHONY_TX_ULDATA_NOTIFY, |
| 259 | |
| 260 | MSG_A2M_PNW_ULDATA_READ_ACK = CCCIMSG_A2M_BASE + 0x60, |
| 261 | MSG_A2M_REC_DATA_READ_ACK, // removed from 93md |
| 262 | MSG_A2M_CTM_DEBUG_DATA_READ_ACK, |
| 263 | MSG_A2M_PCM_REC_DATA_READ_ACK,// removed from 93md |
| 264 | MSG_A2M_VM_REC_DATA_READ_ACK, |
| 265 | MSG_A2M_DACA_DL_DATA_READ_ACK, |
| 266 | MSG_A2M_RAW_PCM_REC_DATA_READ_ACK, //CCCIMSG_A2M_BASE + 0x60 +0x6 |
| 267 | MSG_A2B_CUST_DUMP_READ_ACK, |
| 268 | |
| 269 | MSG_A2M_EM_DATA_REQUEST_ACK = CCCIMSG_A2M_BASE + 0x70, // not use |
| 270 | MSG_A2M_EM_INCALL, // not use after 91md |
| 271 | MSG_A2M_EM_DMNR, // not use after 91md |
| 272 | MSG_A2M_EM_WB, // not use after 91md |
| 273 | MSG_A2M_EM_MAGICON, // not use after 91md |
| 274 | MSG_A2M_NETWORK_STATUS_ACK, |
| 275 | MSG_A2M_QUERY_RF_INFO, // remove from 93md |
| 276 | MSG_A2M_EM_HAC, // not use after 91md |
| 277 | MSG_A2M_EPOF_ACK, |
| 278 | MSG_A2M_DYNAMIC_PAR, |
| 279 | MSG_A2M_SPH_ENH_CORE, // for open dsp, not used in 93md |
| 280 | MSG_A2M_DYNAMIC_PAR_IN_STRUCT_SHM, // + 0xb |
| 281 | |
| 282 | MSG_A2M_VIBSPK_PARAMETER = CCCIMSG_A2M_BASE + 0x80, |
| 283 | MSG_A2M_NXP_SMARTPA_PARAMETER, |
| 284 | |
| 285 | MSG_A2M_NW_CODEC_INFO_READ_ACK = CCCIMSG_A2M_BASE + 0x90, |
| 286 | |
| 287 | MSG_A2M_AUD_ALIVE_READ_ACK = CCCIMSG_A2M_BASE + 0xa0, |
| 288 | |
| 289 | MSG_A2M_IVS_SWITCH= CCCIMSG_A2M_BASE + 0xb0, |
| 290 | MSG_A2M_PSAP_SWITCH, |
| 291 | MSG_A2M_IVS_SEND, |
| 292 | MSG_A2M_PSAP_SEND, |
| 293 | MSG_A2M_ECALL_CTL_SEQ_SWITCH, |
| 294 | MSG_A2M_ECALL_HANDSHAKE_INFO, |
| 295 | MSG_A2M_ECALL_MSD, |
| 296 | MSG_A2M_ECALL_TX_CTRL_PAR, |
| 297 | MSG_A2M_ECALL_RX_CTRL_PAR,//+b8 |
| 298 | //------------------- M2A ---------------------- |
| 299 | MSG_M2A_SPH_DL_DIGIT_VOLUME_ACK = CCCIMSG_M2A_BASE, |
| 300 | MSG_M2A_SPH_UL_DIGIT_VOLUME_ACK, |
| 301 | MSG_M2A_MUTE_SPH_UL_ACK, |
| 302 | MSG_M2A_MUTE_SPH_DL_ACK, |
| 303 | MSG_M2A_SIDETONE_VOLUME_ACK, |
| 304 | MSG_M2A_SPH_DL_ENH_REF_DIGIT_VOLUME_ACK, |
| 305 | MSG_M2A_SIDETONE_CONFIG_ACK, |
| 306 | MSG_M2A_MUTE_SPH_UL_ENH_RESULT_ACK, |
| 307 | MSG_M2A_MUTE_SPH_UL_SOURCE_ACK, |
| 308 | MSG_M2A_MUTE_SPH_DL_CODEC_ACK, |
| 309 | MSG_M2A_MUTE_SPH_DL_DYNAMIC_ACK, |
| 310 | |
| 311 | MSG_M2A_SET_SAMPLE_RATE_ACK = CCCIMSG_M2A_BASE + 0x10, |
| 312 | MSG_M2A_SET_DUAL_MIC_ACK, |
| 313 | MSG_M2A_SET_BT_DELAY_TIME_ACK, |
| 314 | MSG_M2A_SET_LPBK_POINT_DVT, |
| 315 | |
| 316 | MSG_M2A_SPH_ON_ACK = CCCIMSG_M2A_BASE + 0x20, |
| 317 | MSG_M2A_SPH_OFF_ACK, |
| 318 | MSG_M2A_SET_SPH_MODE_ACK, |
| 319 | MSG_M2A_CTRL_SPH_ENH_ACK, |
| 320 | MSG_M2A_CONFIG_SPH_ENH_ACK, |
| 321 | MSG_M2A_SET_ACOUSTIC_LOOPBACK_ACK, |
| 322 | MSG_M2A_PRINT_SPH_COEFF_ACK, |
| 323 | MSG_M2A_SPH_ON_FOR_HOLD_CALL_ACK, |
| 324 | MSG_M2A_SPH_ON_FOR_DACA_ACK, |
| 325 | MSG_M2A_SPH_ROUTER_ON_ACK, |
| 326 | MSG_M2A_SET_VOICE_ENCRYPTION_ACK, // + 0x2a |
| 327 | MSG_M2A_SPH_DEV_CHANGE_ACK, // + 0x2b |
| 328 | MSG_M2A_ENH_CTRL_SUPPORT_ACK, // + 0x2C |
| 329 | |
| 330 | MSG_M2A_PNW_ON_ACK = CCCIMSG_M2A_BASE + 0x30, |
| 331 | MSG_M2A_PNW_OFF_ACK, |
| 332 | MSG_M2A_RECORD_ON_ACK, |
| 333 | MSG_M2A_RECORD_OFF_ACK, |
| 334 | MSG_M2A_DMNR_RECPLAY_ON_ACK, // not use in MT6582 |
| 335 | MSG_M2A_DMNR_RECPLAY_OFF_ACK, // not use in MT6582 |
| 336 | MSG_M2A_DMNR_REC_ONLY_ON_ACK, // not use in MT6582 |
| 337 | MSG_M2A_DMNR_REC_ONLY_OFF_ACK, // not use in MT6582 |
| 338 | MSG_M2A_PCM_REC_ON_ACK, |
| 339 | MSG_M2A_PCM_REC_OFF_ACK, |
| 340 | MSG_M2A_VM_REC_ON_ACK, |
| 341 | MSG_M2A_VM_REC_OFF_ACK, |
| 342 | MSG_M2A_RECORD_RAW_PCM_ON_ACK, //CCCIMSG_M2A_BASE + 0x30 + 0xC |
| 343 | MSG_M2A_RECORD_RAW_PCM_OFF_ACK, //CCCIMSG_M2A_BASE + 0x30 + 0xD |
| 344 | MSG_M2A_PCMMIXER_ON_ACK, |
| 345 | MSG_M2A_PCMMIXER_OFF_ACK, |
| 346 | |
| 347 | MSG_M2A_CTM_ON_ACK = CCCIMSG_M2A_BASE + 0x40, |
| 348 | MSG_M2A_CTM_OFF_ACK, |
| 349 | MSG_M2A_CTM_DUMP_DEBUG_FILE_ACK, |
| 350 | MSG_M2A_BGSND_ON_ACK, |
| 351 | MSG_M2A_BGSND_OFF_ACK, |
| 352 | MSG_M2A_BGSND_CONFIG_ACK, |
| 353 | MSG_M2A_RTT_CONFIG_ACK, |
| 354 | MSG_M2A_PCMMIXER_CONFIG_ACK, |
| 355 | MSG_M2A_TELEPHONY_TX_ON_ACK, |
| 356 | MSG_M2A_TELEPHONY_TX_OFF_ACK, |
| 357 | MSG_M2A_TELEPHONY_TX_CONFIG_ACK, |
| 358 | |
| 359 | MSG_M2A_PNW_DL_DATA_REQUEST = CCCIMSG_M2A_BASE + 0x50, |
| 360 | MSG_M2A_BGSND_DATA_REQUEST, |
| 361 | MSG_M2A_CTM_DATA_REQUEST, |
| 362 | MSG_M2A_DACA_UL_DATA_REQUEST, |
| 363 | MSG_M2A_ECALL_MSD_NOTIFY, |
| 364 | MSG_M2A_SPC_UL_ENC_NOTIFY, |
| 365 | MSG_M2A_SPC_DL_DEC_REQUEST, |
| 366 | MSG_M2A_PCMMIXER_DL_DATA_REQUEST, // 0x57 |
| 367 | MSG_M2A_PCMMIXER_UL_DATA_REQUEST, |
| 368 | MSG_M2A_TELEPHONY_TX_UL_DATA_REQUEST, |
| 369 | |
| 370 | MSG_M2A_PNW_UL_DATA_NOTIFY = CCCIMSG_M2A_BASE + 0x60, |
| 371 | MSG_M2A_REC_DATA_NOTIFY, // removed from 93md |
| 372 | MSG_M2A_CTM_DEBUG_DATA_NOTIFY, |
| 373 | MSG_M2A_PCM_REC_DATA_NOTIFY, // removed from 93md |
| 374 | MSG_M2A_VM_REC_DATA_NOTIFY, |
| 375 | MSG_A2M_DACA_DL_DATA_NOTIFY, |
| 376 | MSG_M2A_RAW_PCM_REC_DATA_NOTIFY, //CCCIMSG_M2A_BASE + 0x60 + 0x6 |
| 377 | MSG_M2A_CUST_DUMP_NOTIFY, |
| 378 | |
| 379 | MSG_M2A_EM_DATA_REQUEST = CCCIMSG_M2A_BASE + 0x70, |
| 380 | MSG_M2A_EM_INCALL_ACK, // not use after 91md |
| 381 | MSG_M2A_EM_DMNR_ACK, // not use after 91md |
| 382 | MSG_M2A_EM_WB_ACK, // not use after 91md |
| 383 | MSG_M2A_EM_MAGICON_ACK, // not use after 91md |
| 384 | MSG_M2A_NETWORK_STATUS_NOTIFY, |
| 385 | MSG_M2A_RF_INFO_NOTIFY, // remove from 93md |
| 386 | MSG_M2A_EM_HAC_ACK, // not use after 91md |
| 387 | MSG_M2A_EPOF_NOTIFY, |
| 388 | MSG_M2A_DYNAMIC_PAR, |
| 389 | MSG_M2A_SPH_ENH_CORE_ACK, // for open dsp, not used in 93md |
| 390 | MSG_M2A_DYNAMIC_PAR_IN_STRUCT_SHM_ACK, // + 0x7b |
| 391 | |
| 392 | MSG_M2A_VIBSPK_PARAMETER_ACK = CCCIMSG_M2A_BASE + 0x80, |
| 393 | MSG_M2A_NXP_SMARTPA_PARAMETER_ACK, |
| 394 | |
| 395 | MSG_M2A_NW_CODEC_INFO_NOTIFY = CCCIMSG_M2A_BASE + 0x90, |
| 396 | |
| 397 | MSG_M2A_AUD_ALIVE_NOTIFY = CCCIMSG_M2A_BASE + 0xa0, |
| 398 | |
| 399 | MSG_M2A_IVS_SWITCH_ACK=CCCIMSG_M2A_BASE+0xb0, |
| 400 | MSG_M2A_PSAP_SWITCH_ACK, |
| 401 | MSG_M2A_IVS_SEND_ACK, |
| 402 | MSG_M2A_PSAP_SEND_ACK, |
| 403 | MSG_M2A_ECALL_CTL_SEQ_SWITCH, |
| 404 | MSG_M2A_ECALL_HANDSHAKE_INFO_ACK, |
| 405 | MSG_M2A_ECALL_MSD_ACK, |
| 406 | MSG_M2A_ECALL_TX_CTRL_PAR_ACK, |
| 407 | MSG_M2A_ECALL_RX_CTRL_PAR_NOTIFY, |
| 408 | |
| 409 | } AUD_CCCI_MSG_T; |
| 410 | |
| 411 | typedef enum |
| 412 | { |
| 413 | AUD_CCCI_STRMBUF_TYPE_PCM_FillSE = 0, |
| 414 | AUD_CCCI_STRMBUF_TYPE_PCM_FillSpk, |
| 415 | AUD_CCCI_STRMBUF_TYPE_PCM_GetFromMic, |
| 416 | AUD_CCCI_STRMBUF_TYPE_PCM_GetfromSD, |
| 417 | AUD_CCCI_STRMBUF_TYPE_VM_TYPE, |
| 418 | AUD_CCCI_STRMBUF_TYPE_PCM_TYPE, |
| 419 | AUD_CCCI_STRMBUF_TYPE_BGS_TYPE, |
| 420 | AUD_CCCI_STRMBUF_TYPE_EM_PARAM, // 7 |
| 421 | |
| 422 | AUD_CCCI_STRMBUF_TYPE_CTM_UL_IN, // 8 |
| 423 | AUD_CCCI_STRMBUF_TYPE_CTM_DL_IN, |
| 424 | AUD_CCCI_STRMBUF_TYPE_CTM_UL_OUT, |
| 425 | AUD_CCCI_STRMBUF_TYPE_CTM_DL_OUT, |
| 426 | AUD_CCCI_STRMBUF_TYPE_VIBSPK_PARAM, // 12, for viberation speaker |
| 427 | |
| 428 | AUD_CCCI_STRMBUF_TYPE_DACA_GetSpk, // 13 |
| 429 | AUD_CCCI_STRMBUF_TYPE_DACA_FillMic, |
| 430 | AUD_CCCI_STRMBUF_TYPE_NXP_SMARTPA_PARAM, // 15 |
| 431 | |
| 432 | AUD_CCCI_STRMBUF_TYPE_MAGI_CONFERENCE_PARAM, // 16 |
| 433 | AUD_CCCI_STRMBUF_TYPE_HAC_PARAM, |
| 434 | AUD_CCCI_STRMBUF_TYPE_RAW_PCM_TYPE, //18 |
| 435 | AUD_CCCI_STRMBUF_TYPE_DYNAMCI_PAR_TYPE, |
| 436 | |
| 437 | AUD_CCCI_STRMBUF_TYPE_NW_CODEC_INFO, // 20 |
| 438 | |
| 439 | AUD_CCCI_STRMBUF_TYPE_CUST_DUMP, |
| 440 | |
| 441 | AUD_CCCI_STRMBUF_TYPE_UL_ENC,//22 |
| 442 | AUD_CCCI_STRMBUF_TYPE_DL_DEC,//23 |
| 443 | AUD_CCCI_ECALL_MSD_TYPE, //24 |
| 444 | AUD_CCCI_STRMBUF_TYPE_SPH_INFO, // 25 |
| 445 | AUD_CCCI_EMI_PAR_INFO, // 26 |
| 446 | AUD_CCCI_STRMBUF_TYPE_PCM_MIXER_DL, //27 |
| 447 | AUD_CCCI_STRMBUF_TYPE_TELEPHONYTX_UL, //28 |
| 448 | AUD_CCCI_STRMBUF_TYPE_MAX_TYPE=29 |
| 449 | }AUD_CCCI_STRMBUF_TYPE_T; |
| 450 | |
| 451 | typedef enum |
| 452 | { |
| 453 | |
| 454 | Vol_de_speech_unit = 0xaa01, // volume dependent speech unit |
| 455 | Vol_in_general_unit = 0xaa02, //volume independent general unot |
| 456 | Vol_in_DMNR = 0xaa03, //DMNR |
| 457 | Vol_in_MagiClarity = 0xaa04, //MagiClarity |
| 458 | |
| 459 | Vol_in_echoRefforUsbAudio = 0xaa06, // USB audio echo reference path |
| 460 | } AUD_SPC_DYNAMIC_PARAM_MAGICNUM_T; |
| 461 | |
| 462 | #endif |