PASDK-401:Clean up compile-time component selection in ARM&DSP patchs files
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / itopo / patchs.c
index baa4c4e50fde3f237c03b77d965204316b43b419..374e8066e16c9f51574527b7f9c0696090b483a1 100644 (file)
@@ -53,51 +53,36 @@ All rights reserved.
 // DTS build
 //
 #define _DTS_
-
-#elif defined DH_BUILD
+#else
+#undef  _DTS_
+#endif // DTS_BUILD
+   
+#ifdef DH_BUILD
 //
 // DH build
 //
-    
-#ifndef _ENABLE_BENCHMARK_PCMHSR_SRC_CAR_
-//
-// NOT performing PCM high-sampling rate + SRC + CAR benchmarking
-//
-
-//#define _AE0_
 #define _SRC4_
 #define _CAR_
 #define _OAR_
 #define _BMDA_
-//#define _ML0_
 
-#else // _ENABLE_BENCHMARK_PCMHSR_SRC_CAR_
-//
-// Performing PCM high-sampling rate + SRC + CAR benchmarking
+#ifdef _ENABLE_BENCHMARK_PCMHSR_SRC_CAR_
 //
+// Performing PCM high-sampling rate + SRC + CAR benchmarking.
+// This is DH build, but with OAR removed.
+#undef  _OAR_
+#endif // _ENABLE_BENCHMARK_PCMHSR_SRC_CAR_
+
+#else
+#undef  _SRC4_
+#undef  _CAR_
+#undef  _OAR_
+#undef  _BMDA_    
+#endif // DH_BUILD
 
-//#define _AE0_
-#define _SRC4_
-#define _CAR_
-//#define _OAR_
-#define _BMDA_
-//#define _ML0_
 
-#endif // _ENABLE_BENCHMARK_PCMHSR_SRC_CAR_
-    
-#else 
-//
-// NO-IP build
-//
-#undef _DTS_
-#undef _CAR_
-#undef _OAR_
-#undef _BMDA_
 //#define _AE0_
 //#define _ML0_
-    
-#endif
-
 
 
 //