comparison L1/audio_include/l1audio_const.h @ 5:420ac6391166

L1/audio_include: replacing with the version from tcs211-l1-reconst
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 01:15:50 +0000
parents 75a11d740a02
children
comparison
equal deleted inserted replaced
4:1a22dd26c8a4 5:420ac6391166
1 /************* Revision Controle System Header ************* 1 /************* Revision Controle System Header *************
2 * GSM Layer 1 software 2 * GSM Layer 1 software
3 * L1AUDIO_CONST.H 3 * L1AUDIO_CONST.H
4 * 4 *
5 * Filename l1audio_const.h 5 * Filename l1audio_const.h
6 * Copyright 2003 (C) Texas Instruments 6 * Copyright 2003 (C) Texas Instruments
7 * 7 *
8 ************* Revision Controle System Header *************/ 8 ************* Revision Controle System Header *************/
9 9
10 #if (AUDIO_TASK == 1) 10 #if (AUDIO_TASK == 1)
11
12 // DRC API base address
13 #define C_DRC_API_BASE_ADDRESS 0x161E
14 11
15 //---------------------------------------- 12 //----------------------------------------
16 // LAYER 1 Synchronous audio process name. 13 // LAYER 1 Synchronous audio process name.
17 //---------------------------------------- 14 //----------------------------------------
18 15
19 #define NBR_AUDIO_MANAGER 37 // Number of L1S audio managers 16 #define NBR_AUDIO_MANAGER 19 // Number of L1S audio managers
20 17
21 #define L1S_KEYBEEP_STATE 0 // l1s_keybeep_manager() 18 #define L1S_KEYBEEP_STATE 0 // l1s_keybeep_manager()
22 #define L1S_TONE_STATE 1 // l1s_tone_manager() 19 #define L1S_TONE_STATE 1 // l1s_tone_manager()
23 #define L1S_MELODY0_STATE 2 // l1s_melody0_manager() 20 #define L1S_MELODY0_STATE 2 // l1s_melody0_manager()
24 #define L1S_MELODY1_STATE 3 // l1s_melody1_manager() 21 #define L1S_MELODY1_STATE 3 // l1s_melody1_manager()
35 #define L1S_MELODY0_E2_STATE 14 // l1s_melody0_e2_manager() 32 #define L1S_MELODY0_E2_STATE 14 // l1s_melody0_e2_manager()
36 #define L1S_MELODY1_E2_STATE 15 // l1s_melody1_e2_manager() 33 #define L1S_MELODY1_E2_STATE 15 // l1s_melody1_e2_manager()
37 #define L1S_VM_AMR_PLAY_STATE 16 // l1s_vm_amr_play_manager() 34 #define L1S_VM_AMR_PLAY_STATE 16 // l1s_vm_amr_play_manager()
38 #define L1S_VM_AMR_RECORD_STATE 17 // l1s_vm_amr_record_manager() 35 #define L1S_VM_AMR_RECORD_STATE 17 // l1s_vm_amr_record_manager()
39 #define L1S_CPORT_STATE 18 // l1s_cport_manager() 36 #define L1S_CPORT_STATE 18 // l1s_cport_manager()
40 #define L1S_AUDIO_ONOFF_STATE 19 // l1s_audio_onoff_manager()
41 #define L1S_STEREOPATH_DRV_STATE 20 // l1s_stereopath_drv_manager()
42 #define L1S_MP3_STATE 21 // l1s_mp3_manager()
43 #define L1S_ANR_STATE 22 // l1s_anr_manager()
44 #define L1S_IIR_STATE 23 // l1s_iir_manager()
45 #define L1S_LIMITER_STATE 24 // l1s_limiter_manager()
46 #define L1S_ES_STATE 25 // l1s_es_manager()
47 #define L1S_MIDI_STATE 26 // l1s_midi_manager()
48 #define L1S_AGC_UL_STATE 27 // l1s_agc_ul_manager()
49 #define L1S_AGC_DL_STATE 28 // l1s_agc_dl_manager()
50 #define L1S_WCM_STATE 29 // l1s_wcm_manager()
51 #define L1S_DRC_STATE 30 // l1s_drc_manager()
52 #if (L1_AAC == 1)
53
54 //added from e-sample for AAC
55 #define L1S_AAC_STATE 31 // l1s_aac_manager()
56 #endif
57 #if (L1_AUDIO_MCU_ONOFF == 1)
58 #define L1S_AUDIO_UL_ONOFF_STATE 32 // l1s_audio_ul_onoff_manager()
59 #define L1S_AUDIO_DL_ONOFF_STATE 33 // l1s_audio_dl_onoff_manager()
60 #endif
61 #define L1S_PCM_DOWNLOAD_STATE 34 // l1s_pcm_download_manager()
62 #define L1S_PCM_UPLOAD_STATE 35 // l1s_pcm_upload_manager()
63 #define L1S_FIR_STATE 36 // l1s_fir_manager()
64
65 37
66 //---------------------------------------- 38 //----------------------------------------
67 // MCU<->DSP communication bit field. 39 // MCU<->DSP communication bit field.
68 //---------------------------------------- 40 //----------------------------------------
69 41
70 // bit in d_tch_mode for audio features 42 // bit in d_tch_mode for audio features
71 #define B_VOICE_MEMO_DTX (TRUE_L << 5) 43 #define B_VOICE_MEMO_DTX (TRUE_L << 5)
72 #if (DSP >= 34) 44 #if (DSP == 34) || (DSP == 35) || (DSP == 36)
73 #define B_VM_VOCODER_SELECT (TRUE_L << 6) 45 #define B_VM_VOCODER_SELECT (TRUE_L << 6)
74 #endif 46 #endif
75 47
76 // bits in d_toneskb_status 48 // bits in d_toneskb_status
77 #define B_TONE (TRUE_L << 0) // Indicate if the DSP tone task is running 49 #define B_TONE (TRUE_L << 0) // Indicate if the DSP tone task is running
84 #define B_SR_UPDATE_TASK (TRUE_L << 5) // Indicate if the DSP update task is running 56 #define B_SR_UPDATE_TASK (TRUE_L << 5) // Indicate if the DSP update task is running
85 #define B_SR_RECO_TASK (TRUE_L << 6) // Indicate if the DSP reco task is running 57 #define B_SR_RECO_TASK (TRUE_L << 6) // Indicate if the DSP reco task is running
86 #define B_SR_PROCESSING_TASK (TRUE_L << 7) // Indicate if the DSP processing task is running 58 #define B_SR_PROCESSING_TASK (TRUE_L << 7) // Indicate if the DSP processing task is running
87 #define B_SR_ALIGNMENT_TASK (TRUE_L << 8) // Indicate if the DSP alignment task is running 59 #define B_SR_ALIGNMENT_TASK (TRUE_L << 8) // Indicate if the DSP alignment task is running
88 #define B_IT_COM_REQ (TRUE_L << 9) // Indicate that the DSP requests an IT com for the next TDMA 60 #define B_IT_COM_REQ (TRUE_L << 9) // Indicate that the DSP requests an IT com for the next TDMA
89 #define B_AUDIO_ON_STATUS (TRUE_L << 14) // Set to 1 if DSP doesn'tpower OFF audio ABB if no DSP audio activity
90
91 #if(L1_PCM_EXTRACTION)
92 #define B_PCM_UPLOAD_ON_GOING (TRUE_L << 4)
93 #define B_PCM_DOWNLOAD_ON_GOING (TRUE_L << 5)
94 #endif
95 61
96 // bits in d_toneskb_init 62 // bits in d_toneskb_init
97 #define B_VM_RECORD_START (TRUE_L << 2) // Start the DSP voice memo recording task 63 #define B_VM_RECORD_START (TRUE_L << 2) // Start the DSP voice memo recording task
98 #define B_VM_RECORD_STOP (TRUE_L << 3) // Stop the DSP voice memo recording task 64 #define B_VM_RECORD_STOP (TRUE_L << 3) // Stop the DSP voice memo recording task
99 #define B_VM_PLAY_START (TRUE_L << 4) // Start the DSP voice memo playing task 65 #define B_VM_PLAY_START (TRUE_L << 4) // Start the DSP voice memo playing task
108 #define B_SR_RECO (TRUE_L << 9) // Start the DSP speech reco task 74 #define B_SR_RECO (TRUE_L << 9) // Start the DSP speech reco task
109 #define B_SR_PROCESSING (TRUE_L << 10) // Start the DSP speech reco processing task 75 #define B_SR_PROCESSING (TRUE_L << 10) // Start the DSP speech reco processing task
110 #define B_SR_STOP (TRUE_L << 11) // Stop the current DSP speech reco task 76 #define B_SR_STOP (TRUE_L << 11) // Stop the current DSP speech reco task
111 77
112 #define B_MELO (TRUE_L << 13) // Start the DSP melody module if it's not started 78 #define B_MELO (TRUE_L << 13) // Start the DSP melody module if it's not started
113 #define B_AUDIO_ON_START (TRUE_L << 14) // Use to start ABB audio and to not stop it when
114 // no audio activity on DSP side
115 #define B_AUDIO_OFF_STOP (TRUE_L << 15) // Use to stop ABB audio when no audio activity
116
117 #if(L1_PCM_EXTRACTION)
118 #define B_PCM_UPLOAD_START (TRUE_L << 7)
119 #define B_PCM_UPLOAD_STOP (TRUE_L << 8)
120 #define B_PCM_DOWNLOAD_START (TRUE_L << 9)
121 #define B_PCM_DOWNLOAD_STOP (TRUE_L << 10)
122 #endif
123
124 #if (L1_CPORT == 1) 79 #if (L1_CPORT == 1)
125 //---------------------------------------- 80 //----------------------------------------
126 // C_PORT constant. 81 // C_PORT constant.
127 //---------------------------------------- 82 //----------------------------------------
128 83
212 167
213 // Size of the a_du_x buffer when the sample is a speech: 168 // Size of the a_du_x buffer when the sample is a speech:
214 #define SC_VM_SPEECH_SAMPLE 20 169 #define SC_VM_SPEECH_SAMPLE 20
215 #endif // VOICE_MEMO || SPEECH_RECO 170 #endif // VOICE_MEMO || SPEECH_RECO
216 171
217 #if (L1_PCM_EXTRACTION)
218 #define B_PCM_DOWNLOAD_READY (TRUE_L << 0)
219 #define B_PCM_UPLOAD_READY (TRUE_L << 0)
220 #define SC_PCM_DOWNLOAD_SAMPLE 160
221 #define SC_PCM_UPLOAD_SAMPLE 160
222 #define B_PCM_UPLOAD_ERROR (TRUE_L << 0)
223 #define B_PCM_DOWNLOAD_ERROR (TRUE_L << 1)
224 #endif /* L1_PCM_EXTRACTION */
225
226 #if (L1_VOICE_MEMO_AMR) 172 #if (L1_VOICE_MEMO_AMR)
227 //---------------------------------------- 173 //----------------------------------------
228 // Voice memo amr constant. 174 // Voice memo amr constant.
229 //---------------------------------------- 175 //----------------------------------------
230 176
309 #define SC_SR_WORD_ENDING 3 255 #define SC_SR_WORD_ENDING 3
310 #define SC_SR_WORD_DONE 4 256 #define SC_SR_WORD_DONE 4
311 257
312 #endif // SPEECH_RECO 258 #endif // SPEECH_RECO
313 259
314 #if (L1_AEC == 1) 260 #if (AEC)
315 #define B_AEC_ACK (TRUE_L << 0) // Bit set by the MCU to indicate a new AEC settings and 261 #define B_AEC_ACK (TRUE_L << 0) // Bit set by the MCU to indicate a new AEC settings and
316 // clear by the DSP to confirm the new settings. 262 // clear by the DSP to confirm the new settings.
263
264 #define B_AEC_EN (TRUE_L << 1) // enables AEC module
265 #define B_SPENH_EN (TRUE_L << 2) // enables SPENH module
266
267
317 #if (L1_NEW_AEC) 268 #if (L1_NEW_AEC)
318 #define B_AEC_VISIBILITY (TRUE_L << 9) // Bit set by the MCU to have internal output values of AEC copied in API 269 #define B_AEC_VISIBILITY (TRUE_L << 9) // Bit set by the MCU to have internal output values of AEC copied in API
319 #define SC_AEC_VISIBILITY_SHIFT (9) 270 #define SC_AEC_VISIBILITY_SHIFT (9)
320 #endif 271 #endif
321 272
387 #define NO_MELODY_SELECTED (0) 338 #define NO_MELODY_SELECTED (0)
388 #define MELODY_E0_SELECTED (1) 339 #define MELODY_E0_SELECTED (1)
389 #define MELODY_E1_SELECTED (2) 340 #define MELODY_E1_SELECTED (2)
390 #define MELODY_E2_SELECTED (3) 341 #define MELODY_E2_SELECTED (3)
391 342
392 #if (L1_STEREOPATH == 1)
393 // configuration
394 #define AUDIO_SP_SELF_CONF 0
395 #define AUDIO_SP_MIDI_CONF 1
396 #define AUDIO_SP_MP3_CONF 2
397 #define AUDIO_SP_EXTAUDIO_CONF 3
398
399 #if (ANALOG == 3)
400 // sampling frequency
401 #define AUDIO_SP_FREQ_8 7
402 #define AUDIO_SP_FREQ_11 6
403 #define AUDIO_SP_FREQ_16 5
404 #define AUDIO_SP_FREQ_22 4
405 #define AUDIO_SP_FREQ_32 3
406 #define AUDIO_SP_FREQ_44 2
407 #define AUDIO_SP_FREQ_48 0
408 #endif
409
410 #if (ANALOG == 11 || CODE_VERSION == SIMULATION)
411 // sampling frequency index for Triton. This would be set in the
412 //SRW[0:3] bits of the CTRL5 register.
413 #define AUDIO_SP_FREQ_8 0
414 #define AUDIO_SP_FREQ_11 1
415 #define AUDIO_SP_FREQ_12 2
416 #define AUDIO_SP_FREQ_16 3
417 #define AUDIO_SP_FREQ_22 4
418 #define AUDIO_SP_FREQ_24 5
419 #define AUDIO_SP_FREQ_32 6
420 #define AUDIO_SP_FREQ_44 7
421 #define AUDIO_SP_FREQ_48 8
422 #endif
423
424 // DMA allocation
425 #define AUDIO_SP_DMA_ALLOC_MCU 0
426 #define AUDIO_SP_DMA_ALLOC_DSP 1
427
428 // Data type
429 #define AUDIO_SP_DATA_S8 0
430 #define AUDIO_SP_DATA_S16 1
431 #define AUDIO_SP_DATA_S32 2
432
433 // Source port
434 #define AUDIO_SP_SOURCE_IMIF 0
435 #define AUDIO_SP_SOURCE_API 2
436 #if (CHIPSET == 15)
437 //In Locosto, EMIF is also a source port for the audio
438 #define AUDIO_SP_SOURCE_EMIF 4
439 #endif
440
441 // output type
442 #define AUDIO_SP_MONO_OUTPUT 0
443 #define AUDIO_SP_STEREO_OUTPUT 1
444
445 // feature identifier
446 #define AUDIO_SP_MIDI_ID 0
447 #define AUDIO_SP_EXT_AUDIO_ID 1
448 #define AUDIO_SP_MP3_ID 2
449 #define AUDIO_SP_TESTS_ID 3
450 #if (L1_AAC == 1)
451 #define AUDIO_SP_AAC_ID 4 //added for AAC
452 #endif
453
454 // Pattern
455 #define AUDIO_SP_SILENCE_PATTERN 0
456 #define AUDIO_SP_SINUS1_PATTERN 1
457 #define AUDIO_SP_SINUS2_PATTERN 2
458 #define AUDIO_SP_SINUS3_PATTERN 3
459
460 #endif
461
462 #endif // AUDIO_TASK 343 #endif // AUDIO_TASK
463 344
464 #if (DSP == 17) || (DSP == 32) 345 #if (DSP == 17) || (DSP == 32)
465 #define B_FIR_START (TRUE_L << 0) // Bit set by the MCU to start the FIR task for the DSP code 32 and 17. 346 #define B_FIR_START (TRUE_L << 0) // Bit set by the MCU to start the FIR task for the DSP code 32 and 17.
466 #endif 347 #endif
467 348
468 #define B_FIR_LOOP (TRUE_L << 1) // Bit set by the MCU to close the loop between the audio UL and DL path. 349 #define B_FIR_LOOP (TRUE_L << 1) // Bit set by the MCU to close the loop between the audio UL and DL path.
469 // This features is used to find the FIR coefficient. 350 // This features is used to find the FIR coefficient.
470
471 /*************************************/
472 /* ACOUSTIC interface */
473 /*************************************/
474
475 /* Control values */
476 /*----------------*/
477
478 #define B_ANR_ENABLE (TRUE_L << 0)
479 #define B_ANR_DISABLE (TRUE_L << 1)
480 #define B_ANR_FULL_UPDATE (TRUE_L << 2)
481
482 #define B_IIR_ENABLE (TRUE_L << 0)
483 #define B_IIR_DISABLE (TRUE_L << 1)
484 #define B_IIR_FULL_UPDATE (TRUE_L << 2)
485
486 #define B_AGC_ENABLE (TRUE_L << 0)
487 #define B_AGC_DISABLE (TRUE_L << 1)
488 #define B_AGC_FULL_UPDATE (TRUE_L << 2)
489
490 #define B_WCM_ENABLE (TRUE_L << 0)
491 #define B_WCM_DISABLE (TRUE_L << 1)
492 #define B_WCM_FULL_UPDATE (TRUE_L << 2)
493
494 #if (L1_DRC == 1)
495 #define DRC_LPF_LENGTH 17
496 #define DRC_BPF_LENGTH 17
497 #endif
498
499 #define B_DRC_ENABLE (TRUE_L << 0)
500 #define B_DRC_DISABLE (TRUE_L << 1)
501 #define B_DRC_FULL_UPDATE (TRUE_L << 2)
502
503 #define B_LIM_ENABLE (TRUE_L << 0)
504 #define B_LIM_DISABLE (TRUE_L << 1)
505 #define B_LIM_FULL_UPDATE (TRUE_L << 2)
506 #define B_LIM_UPDATE (TRUE_L << 3)
507
508 #define B_ES_ENABLE (TRUE_L << 0)
509 #define B_ES_DISABLE (TRUE_L << 1)
510 #define B_ES_FULL_UPDATE (TRUE_L << 2)
511
512 #if (L1_IIR == 2)
513 #define IIR_4X_ORDER_OF_SECTION 2
514 #define IIR_4X_FIR_MAX_LENGTH 40
515 #endif
516
517 #if (L1_WCM == 1)
518 #define WCM_1X_GAIN_TABLE_LENGTH 16
519 #endif
520
521 /* d_aqi_status bits */
522 /*-------------------*/
523 #if (DSP == 38) || (DSP == 39)
524 #define B_DRC_DL_STATE (TRUE_L << 3)
525 #define B_IIR_DL_STATE (TRUE_L << 4)
526 #define B_LIM_STATE (TRUE_L << 5)
527 #define B_AGC_DL_STATE (TRUE_L << 6)
528 #define B_AEC_STATE (TRUE_L << 11)
529 #define B_ANR_UL_STATE (TRUE_L << 12)
530 #define B_ES_STATE (TRUE_L << 13)
531 #define B_AGC_UL_STATE (TRUE_L << 14)
532 #else
533 #define B_IIR_STATE (TRUE_L << 4)
534 #define B_LIM_STATE (TRUE_L << 5)
535 #define B_ANR_STATE (TRUE_L << 12)
536 #define B_ES_STATE (TRUE_L << 13)
537 #endif
538
539 /* d_audio_apps_status bits */
540 /*-------------------*/
541 #if (DSP == 38) || (DSP == 39)
542 #define B_WCM_STATE (TRUE_L << 0)
543 #endif
544
545 /*****************/
546 /* ANR constants */
547 /*****************/
548 #if (L1_ANR == 1)
549 #define C_ANR_VAD_THR 0x1333
550 #define C_ANR_GAMMA_SLOW 0x7F1B
551 #define C_ANR_GAMMA_FAST 0x75C3
552 #define C_ANR_GAMMA_GAIN_SLOW 28836
553 #define C_ANR_GAMMA_GAIN_FAST 32113
554 #define C_ANR_THR2 0x01E0
555 #define C_ANR_THR4 0x03DE
556 #define C_ANR_THR5 0x012C
557 #define C_ANR_MEAN_RATIO_THR1 10000
558 #define C_ANR_MEAN_RATIO_THR2 6000
559 #define C_ANR_MEAN_RATIO_THR3 5000
560 #define C_ANR_MEAN_RATIO_THR4 4000
561 #endif
562
563
564 #if (L1_ES == 1)
565
566 /*******************/
567 /* ES constants */
568 /*******************/
569
570 // ES custom mode
571 #define ES_CUSTOM_PARAM 0xFF
572
573 // ES mode definition
574 #define B_ES_UL (0x1 << 0) // ES UL enable
575 #define B_ES_DL (0x1 << 1) // ES DL enable
576 #define B_ES_CNG (0x1 << 2) // CNG enable
577 #define B_ES_NSF (0x1 << 3) // NSF enable
578 #define B_ES_ALS_UL (0x1 << 4) // ALS UL enable
579 #define B_ES_ALS_DL (0x1 << 5) // ALS DL enable
580
581 // ES parameter values
582 #define C_ES_GAIN_DL_OFF 0x0
583 #define C_ES_GAIN_UL_1_OFF 0x0
584 #define C_ES_GAIN_UL_2_OFF 0x0
585
586 #define C_ES_TCL_M23DB 0x005E // ref. -23dB
587 #define C_ES_TCL_M6DB 0x0176 // ref. -6dB
588 #define C_ES_TCL_M3DB 0x02EA // ref. -6dB
589 #define C_ES_TCL_0DB 0x05D1 // ref. 0dB
590 #define C_ES_TCL_4DB 0x0E9D // ref. 4dB
591 #define C_ES_TCL_6DB 0x1729 // ref. 6dB
592 #define C_ES_TCL_10DB 0x3A2F // ref. 10dB
593 #define C_ES_TCL_12DB 0x5C36 // ref. 12dB
594 #define C_ES_TCL_B3_FE_LS 0x0004 // ref. -10dB
595 #define C_ES_TCL_B3_DT_LS 0x0001 // ref. -16dB
596 #define C_ES_TCL_B3_FE_NS 0x000F // ref. -10dB
597 #define C_ES_TCL_B3_DT_NS 0x0004 // ref. -16dB
598 #define C_ES_TCL_B3_NE 0x000F // ref. 0dB
599
600 #define C_ES_TCL_FE_0 0x05D1 // ref. 0dB
601 #define C_ES_TCL_DT_0 0x05D1 // ref. 0dB
602 #define C_ES_TCL_NE_0 0x05D1 // ref. 0dB
603
604 #define C_ES_TCL_LOUD 0x00BF // ref. 70dB
605
606 #define C_ES_SW_CNT 5 // ref. switching time 100ms
607 #define C_ES_DT_CNT 5 // ref. double-talk time 100ms
608
609 #define C_ES_HG_CNT_1 8 // ref. hangover time 150ms, A_S(IDLE) = -3dB
610 #define C_ES_HG_CNT_1A 8 // ref. hangover time 150ms, A_S(IDLE) = -3dB
611 #define C_ES_HG_CNT_2A 10 // ref. hangover time 200ms, A_S(IDLE) = -3dB
612 #define C_ES_HG_CNT_2B 13 // ref. hangover time 250ms, A_S(IDLE) = -3dB
613 #define C_ES_HG_CNT_2C 13 // ref. hangover time 250ms, A_S(IDLE) = -3dB
614 #define C_ES_HG_CNT_2C_IDLE 13 // ref. hangover time 250ms, A_S(IDLE) = -3dB
615 #define C_ES_HG_CNT_3 20 // ref. hangover time 400ms
616
617 #define C_ES_ATT_LIN_0DB 0x7fff // ref. 0dB
618 #define C_ES_ATT_LIN_3DB 0x5A9D // ref. -3dB
619 #define C_ES_ATT_LIN_5DB 0x47FA // ref. -5dB
620 #define C_ES_ATT_LIN_6DB 0x4026 // ref. -6dB
621 #define C_ES_ATT_LIN_8DB 0x32F4 // ref. -8dB
622 #define C_ES_ATT_LIN_9DB 0x2D6A // ref. -9dB
623 #define C_ES_ATT_LIN_10DB 0x2879 // ref. -10dB
624 #define C_ES_ATT_LIN_12DB 0x2026 // ref. -12dB
625 #define C_ES_ATT_LIN_15DB 0x16C2 // ref. -15dB
626 #define C_ES_ATT_LIN_16DB 0x1449 // ref. -16dB
627 #define C_ES_ATT_LIN_19DB 0x0E5D // ref. -19dB
628 #define C_ES_ATT_LIN_21DB 0x0B68 // ref. -21dB
629 #define C_ES_ATT_LIN_24DB 0x0813 // ref. -24dB
630 #define C_ES_ATT_LIN_36DB 0x0207 // ref. -36dB
631 #define C_ES_ATT_LIN_48DB 0x0082 // ref. -48dB
632 #define C_ES_ATT_LIN_66DB 0x0010 // ref. -56dB
633
634 #endif // L1_ES
635 #if(L1_EXT_AUDIO_MGT == 1)
636 #define AUDIO_EXT_MIDI_BUFFER_SIZE 2640
637 #endif