]> 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
Change at-boot output shortcut to execPAIOutAnalog
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / application / itopo / evmk2g / atboot.c
index 79de57330c8b38c2d001365ac41e9d0af03ee4c5..55da612554d1e3549ba161e93260d4fc76824253 100644 (file)
@@ -47,30 +47,56 @@ All rights reserved.
 #include <pa_i13_evmk2g_io_a.h> //<pa_i13_evmda830_io_a.h>
 
 #ifndef SIMULATE_SIO
-
+//#define DDP
 #ifdef TEST_MULTICHANNEL
+#ifndef DDP
+//THD
+#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, \
+    execPAIInHDMI
+#else
+//DDP
 #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,6,7,-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, \
-    writeSYSChannelConfigurationRequestSurround2ATMOS_1(4), \
+    writeSYSChannelConfigurationRequestSurround4_1, \
     execPAIOutAnalog, \
     execPAIInHDMIStereo
+#endif
     //
     //writeENCChannelMapFrom16(PAF_LEFT,PAF_RGHT,8,9,2,12,10,11,-3,-3,-3,-3,-3,-3,-3,-3), \     // Lrs/Rrs
     //writeENCChannelMapFrom16(PAF_LEFT,PAF_RGHT,8,9,2,12,6,7,-3,-3,-3,-3,-3,-3,-3,-3), \       // Ltm/Rtm
+    //writeENCChannelMapFrom16(PAF_LEFT,PAF_RGHT,PAF_LSUR,PAF_RSUR,PAF_CNTR,PAF_SUBW,PAF_LBAK,PAF_RBAK,PAF_LTFT,PAF_RTFT,PAF_LTRR,PAF_RTRR,-3,-3,-3,-3), \      // Ltf/Rtf,Ltr/Rtr
     //
     //writeVOLControlMasterN(-80), \
     //
     //
+    //7.1
     //writeSYSChannelConfigurationRequestSurround4_1, \
+    //
+    //5.1.2
     //writeSYSChannelConfigurationRequestSurround2ATMOS_1(4), \                                 // L/R,C,LFE,Ls/Rs,Ltm/Rtm
+    //writeBMDAspeakerBackNone, \
+    //writeBMDAspeakerTopmiddleLarge, \
     //
     //writeDDPJOCDecodeModeDisable, \
     //
+    //writeTHDDRCDisable, \
+    //writeTHDDRCCutN(0), \
+    //writeTHDDRCBoostN(0), \
+    //writeTHDLosslessDisable, \
     //
+    //execPAIOutNone, \
+    //execPAIInNone
     //execPAIOutAnalogSlave, \
     //execPAIInAnalog
     //execPAIOutAnalog, \