]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/application/itopo/evmk2g/atboot.c
PASDK 564: Removed one dependency of hard coded number from the input task initializa...
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / application / itopo / evmk2g / atboot.c
index 21d86adab8f2b13f26bf3ac689c5d1517fdbe96c..b20d170c3cccef8db5b2d9b88b604d3b72ce46b5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
 All rights reserved.
 
 * Redistribution and use in source and binary forms, with or without 
@@ -48,6 +48,24 @@ All rights reserved.
 
 #include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
 
+#ifdef DTS_BUILD
+#define DTS_ATBOOT_CFG 1
+#endif
+
+#ifdef DTS_ATBOOT_CFG    
+//DTS_ATBOOT_CFG
+#define CUS_ATBOOT_S \
+       writeDECChannelMapTo16(PAF_LEFT,PAF_RGHT,8,9,2,12,10,11,-3,-3,-3,-3,-3,-3,-3,-3), \
+       writeENCChannelMapFrom16(PAF_LEFT,PAF_RGHT,8,9,2,12,10,11,-3,-3,-3,-3,-3,-3,-3,-3), \
+       writeVOLControlMasterN(0), \
+       writeVOLOffsetMasterN(0x7fff), \
+       writeSYSRecreationModeDirect, \
+       writeSYSChannelConfigurationRequestSurround4_1, \
+       execPAIOutAnalog, \
+       execPAIInHDMIStereo
+#else 
+//Not DTS_ATBOOT_CFG
+
 #ifndef DDP_ATBOOT_CFG
 //
 // NOT DDP at-boot configuration
@@ -101,6 +119,7 @@ All rights reserved.
     execPAIInHDMIStereo
     
 #endif // DDP_ATBOOT_CFG
+#endif // NOT DTS_ATBOOT_CFG
 
 #pragma DATA_SECTION(cus_atboot_s0_patch, ".none")
 const ACP_Unit cus_atboot_s0_patch[] = {