1LOCAL_PATH:= $(call my-dir)
2
3# Music bundle
4
5include $(CLEAR_VARS)
6
7LOCAL_ARM_MODE := arm
8
9LOCAL_SRC_FILES:= \
10    StereoWidening/src/LVCS_BypassMix.c \
11    StereoWidening/src/LVCS_Control.c \
12    StereoWidening/src/LVCS_Equaliser.c \
13    StereoWidening/src/LVCS_Init.c \
14    StereoWidening/src/LVCS_Process.c \
15    StereoWidening/src/LVCS_ReverbGenerator.c \
16    StereoWidening/src/LVCS_StereoEnhancer.c \
17    StereoWidening/src/LVCS_Tables.c \
18    Bass/src/LVDBE_Control.c \
19    Bass/src/LVDBE_Init.c \
20    Bass/src/LVDBE_Process.c \
21    Bass/src/LVDBE_Tables.c \
22    Bundle/src/LVM_API_Specials.c \
23    Bundle/src/LVM_Buffers.c \
24    Bundle/src/LVM_Init.c \
25    Bundle/src/LVM_Process.c \
26    Bundle/src/LVM_Tables.c \
27    Bundle/src/LVM_Control.c \
28    SpectrumAnalyzer/src/LVPSA_Control.c \
29    SpectrumAnalyzer/src/LVPSA_Init.c \
30    SpectrumAnalyzer/src/LVPSA_Memory.c \
31    SpectrumAnalyzer/src/LVPSA_Process.c \
32    SpectrumAnalyzer/src/LVPSA_QPD_Init.c \
33    SpectrumAnalyzer/src/LVPSA_QPD_Process.c \
34    SpectrumAnalyzer/src/LVPSA_Tables.c \
35    Eq/src/LVEQNB_CalcCoef.c \
36    Eq/src/LVEQNB_Control.c \
37    Eq/src/LVEQNB_Init.c \
38    Eq/src/LVEQNB_Process.c \
39    Eq/src/LVEQNB_Tables.c \
40    Common/src/InstAlloc.c \
41    Common/src/DC_2I_D16_TRC_WRA_01.c \
42    Common/src/DC_2I_D16_TRC_WRA_01_Init.c \
43    Common/src/FO_2I_D16F32C15_LShx_TRC_WRA_01.c \
44    Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c \
45    Common/src/FO_1I_D16F16C15_TRC_WRA_01.c \
46    Common/src/FO_1I_D16F16Css_TRC_WRA_01_Init.c \
47    Common/src/BP_1I_D16F32C30_TRC_WRA_01.c \
48    Common/src/BP_1I_D16F16C14_TRC_WRA_01.c \
49    Common/src/BP_1I_D32F32C30_TRC_WRA_02.c \
50    Common/src/BP_1I_D16F16Css_TRC_WRA_01_Init.c \
51    Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Init.c \
52    Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Init.c \
53    Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c \
54    Common/src/BQ_2I_D32F32C30_TRC_WRA_01.c \
55    Common/src/BQ_2I_D16F32C15_TRC_WRA_01.c \
56    Common/src/BQ_2I_D16F32C14_TRC_WRA_01.c \
57    Common/src/BQ_2I_D16F32C13_TRC_WRA_01.c \
58    Common/src/BQ_2I_D16F32Css_TRC_WRA_01_init.c \
59    Common/src/BQ_2I_D16F16C15_TRC_WRA_01.c \
60    Common/src/BQ_2I_D16F16C14_TRC_WRA_01.c \
61    Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Init.c \
62    Common/src/BQ_1I_D16F16C15_TRC_WRA_01.c \
63    Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Init.c \
64    Common/src/BQ_1I_D16F32C14_TRC_WRA_01.c \
65    Common/src/BQ_1I_D16F32Css_TRC_WRA_01_init.c \
66    Common/src/PK_2I_D32F32C30G11_TRC_WRA_01.c \
67    Common/src/PK_2I_D32F32C14G11_TRC_WRA_01.c \
68    Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c \
69    Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c \
70    Common/src/Int16LShiftToInt32_16x32.c \
71    Common/src/From2iToMono_16.c \
72    Common/src/Copy_16.c \
73    Common/src/MonoTo2I_16.c \
74    Common/src/LoadConst_16.c \
75    Common/src/dB_to_Lin32.c \
76    Common/src/Shift_Sat_v16xv16.c \
77    Common/src/Abs_32.c \
78    Common/src/Int32RShiftToInt16_Sat_32x16.c \
79    Common/src/From2iToMono_32.c \
80    Common/src/mult3s_16x16.c \
81    Common/src/NonLinComp_D16.c \
82    Common/src/DelayMix_16x16.c \
83    Common/src/MSTo2i_Sat_16x16.c \
84    Common/src/From2iToMS_16x16.c \
85    Common/src/Mac3s_Sat_16x16.c \
86    Common/src/Add2_Sat_16x16.c \
87    Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.c \
88    Common/src/LVC_MixSoft_1St_D16C31_SAT.c \
89    Common/src/LVC_Mixer_VarSlope_SetTimeConstant.c \
90    Common/src/LVC_Mixer_SetTimeConstant.c \
91    Common/src/LVC_Mixer_SetTarget.c \
92    Common/src/LVC_Mixer_GetTarget.c \
93    Common/src/LVC_Mixer_Init.c \
94    Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.c \
95    Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c \
96    Common/src/LVC_Core_MixInSoft_D16C31_SAT.c \
97    Common/src/LVC_Mixer_GetCurrent.c \
98    Common/src/LVC_MixSoft_2St_D16C31_SAT.c \
99    Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.c \
100    Common/src/LVC_Core_MixHard_2St_D16C31_SAT.c \
101    Common/src/LVC_MixInSoft_D16C31_SAT.c \
102    Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.c \
103    Common/src/LVM_Timer.c \
104    Common/src/LVM_Timer_Init.c
105
106LOCAL_MODULE:= libmusicbundle
107
108LOCAL_C_INCLUDES += \
109    $(LOCAL_PATH)/Eq/lib \
110    $(LOCAL_PATH)/Eq/src \
111    $(LOCAL_PATH)/Bass/lib \
112    $(LOCAL_PATH)/Bass/src \
113    $(LOCAL_PATH)/Common/lib \
114    $(LOCAL_PATH)/Common/src \
115    $(LOCAL_PATH)/Bundle/lib \
116    $(LOCAL_PATH)/Bundle/src \
117    $(LOCAL_PATH)/SpectrumAnalyzer/lib \
118    $(LOCAL_PATH)/SpectrumAnalyzer/src \
119    $(LOCAL_PATH)/StereoWidening/src \
120    $(LOCAL_PATH)/StereoWidening/lib
121
122LOCAL_CFLAGS += -fvisibility=hidden
123
124include $(BUILD_STATIC_LIBRARY)
125
126
127
128# Reverb library
129include $(CLEAR_VARS)
130
131LOCAL_ARM_MODE := arm
132
133LOCAL_SRC_FILES:= \
134    Reverb/src/LVREV_ApplyNewSettings.c \
135    Reverb/src/LVREV_ClearAudioBuffers.c \
136    Reverb/src/LVREV_GetControlParameters.c \
137    Reverb/src/LVREV_GetInstanceHandle.c \
138    Reverb/src/LVREV_GetMemoryTable.c \
139    Reverb/src/LVREV_Process.c \
140    Reverb/src/LVREV_SetControlParameters.c \
141    Reverb/src/LVREV_Tables.c \
142    Common/src/Abs_32.c \
143    Common/src/InstAlloc.c \
144    Common/src/LoadConst_16.c \
145    Common/src/LoadConst_32.c \
146    Common/src/From2iToMono_32.c \
147    Common/src/Mult3s_32x16.c \
148    Common/src/FO_1I_D32F32C31_TRC_WRA_01.c \
149    Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Init.c \
150    Common/src/DelayAllPass_Sat_32x16To32.c \
151    Common/src/Copy_16.c \
152    Common/src/Mac3s_Sat_32x16.c \
153    Common/src/DelayWrite_32.c \
154    Common/src/Shift_Sat_v32xv32.c \
155    Common/src/Add2_Sat_32x32.c \
156    Common/src/JoinTo2i_32x32.c \
157    Common/src/MonoTo2I_32.c \
158    Common/src/LVM_FO_HPF.c \
159    Common/src/LVM_FO_LPF.c \
160    Common/src/LVM_Polynomial.c \
161    Common/src/LVM_Power10.c \
162    Common/src/LVM_GetOmega.c \
163    Common/src/MixSoft_2St_D32C31_SAT.c \
164    Common/src/MixSoft_1St_D32C31_WRA.c \
165    Common/src/MixInSoft_D32C31_SAT.c \
166    Common/src/LVM_Mixer_TimeConstant.c \
167    Common/src/Core_MixHard_2St_D32C31_SAT.c \
168    Common/src/Core_MixSoft_1St_D32C31_WRA.c \
169    Common/src/Core_MixInSoft_D32C31_SAT.c
170
171LOCAL_MODULE:= libreverb
172
173LOCAL_C_INCLUDES += \
174    $(LOCAL_PATH)/Reverb/lib \
175    $(LOCAL_PATH)/Reverb/src \
176    $(LOCAL_PATH)/Common/lib \
177    $(LOCAL_PATH)/Common/src
178
179LOCAL_CFLAGS += -fvisibility=hidden
180include $(BUILD_STATIC_LIBRARY)
181