comparison gsm-fw/L1/audio_cust0/l1audio_cust.h @ 603:d638de8cc6b8

gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 18:40:12 +0000
parents 57ad8f4d5cb5
children
comparison
equal deleted inserted replaced
602:5f93a9a8f9a0 603:d638de8cc6b8
4 * 4 *
5 * Filename l1audio_cust.h 5 * Filename l1audio_cust.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
10 #ifndef _L1AUDIO_CUST_H_
11 #define _L1AUDIO_CUST_H_
9 12
10 #if (AUDIO_TASK == 1) 13 #if (AUDIO_TASK == 1)
11 14
12 #if (OP_RIV_AUDIO == 0) 15 #if (OP_RIV_AUDIO == 0)
13 extern void vocoder_mute_dl (BOOL mute); 16 extern void vocoder_mute_dl (BOOL mute);
117 // List of the error returned by the Cust_get_pointer function 120 // List of the error returned by the Cust_get_pointer function
118 #define DATA_AVAILABLE 0 // No error is occured 121 #define DATA_AVAILABLE 0 // No error is occured
119 #define SESSION_ERROR 1 // Wrong session id 122 #define SESSION_ERROR 1 // Wrong session id
120 #define POINTER_ERROR 2 // Wrong ptr argument 123 #define POINTER_ERROR 2 // Wrong ptr argument
121 #define DATA_AVAIL_ERROR 3 // No more data available 124 #define DATA_AVAIL_ERROR 3 // No more data available
125 #define DATA_LAST 4 // Last buffer, no more data available after
126 #define WAIT_FOR_DATA 6
122 127
123 #if (AUDIO_MODE) 128 #if (AUDIO_MODE)
124 #define GSM_ONLY 0 // GSM normal mode 129 #define GSM_ONLY 0 // GSM normal mode
125 #define BT_CORDLESS 1 // Bluetooth cordless mode 130 #define BT_CORDLESS 1 // Bluetooth cordless mode
126 #define BT_HEADSET 2 // Bluetooth headset mode 131 #define BT_HEADSET 2 // Bluetooth headset mode
140 // (when melody E2 is activated): 145 // (when melody E2 is activated):
141 // size of the E2 instruments buffer + size of DSP trace buffer = 2049 146 // size of the E2 instruments buffer + size of DSP trace buffer = 2049
142 // size of the E2 instrument buffers > 1 147 // size of the E2 instrument buffers > 1
143 // size of DSP trace buffer > 1 148 // size of DSP trace buffer > 1
144 #endif 149 #endif
150
145 #endif // AUDIO_TASK 151 #endif // AUDIO_TASK
146 152
147 // Number of coefficient for each FIR (fixed value) 153 // Number of coefficient for each FIR (fixed value)
148 #define MAX_FIR_COEF 31 154 #define MAX_FIR_COEF 31
149 155
156 // Triton Audio ON/OFF Changes
157 #if (L1_AUDIO_MCU_ONOFF == 1)
158 // Num of radio frames the audio path is kept on after all
159 // users have requested turn off
160 // 0..255
161 #define L1_AUDIO_ON2OFF_UL_HOLD_TIME 20 //127
162 #define L1_AUDIO_ON2OFF_DL_HOLD_TIME 20 //127
163 #endif
164
165
166 #endif // _L1AUDIO_CUST_H_