FreeCalypso > hg > freecalypso-citrine
comparison L1/audio_cfile/l1audio_init.c @ 15:002303327705
l1audio_init.c compiles once again
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 Jun 2016 06:27:05 +0000 |
parents | bb29929d4b3d |
children |
comparison
equal
deleted
inserted
replaced
14:bb29929d4b3d | 15:002303327705 |
---|---|
9 | 9 |
10 /************************************/ | 10 /************************************/ |
11 /* Include files... */ | 11 /* Include files... */ |
12 /************************************/ | 12 /************************************/ |
13 | 13 |
14 #include "config.h" | |
15 #include "l1_confg.h" | |
14 #include "l1_macro.h" | 16 #include "l1_macro.h" |
15 #include "l1_confg.h" | |
16 | 17 |
17 | 18 |
18 #include "l1_types.h" | 19 #include "l1_types.h" |
19 #include "sys_types.h" | 20 #include "sys_types.h" |
20 | 21 |
108 #if (L1_AAC == 1) | 109 #if (L1_AAC == 1) |
109 #include "l1aac_defty.h" | 110 #include "l1aac_defty.h" |
110 #endif | 111 #endif |
111 | 112 |
112 #include "l1_defty.h" | 113 #include "l1_defty.h" |
113 #include "cust_os.h" | 114 #include "../../gpf/inc/cust_os.h" |
114 #include "l1_msgty.h" | 115 #include "l1_msgty.h" |
115 #include "tpudrv.h" // TPU drivers. ("eva3.lib") | 116 #include "tpudrv.h" // TPU drivers. ("eva3.lib") |
116 #include "l1_varex.h" | 117 #include "l1_varex.h" |
117 #include "l1_proto.h" | 118 #include "l1_proto.h" |
118 #include "l1_mftab.h" | 119 #include "l1_mftab.h" |
141 #endif | 142 #endif |
142 #endif | 143 #endif |
143 | 144 |
144 #if(L1_BT_AUDIO ==1) | 145 #if(L1_BT_AUDIO ==1) |
145 extern T_L1_BT_AUDIO bt_audio; | 146 extern T_L1_BT_AUDIO bt_audio; |
147 #endif | |
148 | |
149 /* | |
150 * FreeCalypso hack: the version of l1_confg.h in the Leonardo semi-src | |
151 * sets AUDIO_TASK to 1 unconditionally, thus it appears that by the | |
152 * time TCS211 came around, TI stopped supporting and testing the | |
153 * sans-AUDIO_TASK configuration. We do wish to support it in FreeCalypso | |
154 * though. Attempting to compile this module w/o AUDIO_TASK failed | |
155 * because some preprocessor constant definitions were missing. | |
156 * All 3 offending constants are defined in l1audio_const.h, but only | |
157 * when AUDIO_TASK is enabled. The following hack is our workaround. | |
158 */ | |
159 #if !AUDIO_TASK | |
160 #define C_BGD_RECOGN 5 | |
161 #define C_BGD_ALIGN 6 | |
162 #define NO_MELODY_SELECTED (0) | |
146 #endif | 163 #endif |
147 | 164 |
148 /**************************************/ | 165 /**************************************/ |
149 /* Prototypes for L1 initialization */ | 166 /* Prototypes for L1 initialization */ |
150 /**************************************/ | 167 /**************************************/ |