From ff4fa63b9c305d343859e4b7861d2288dcefbb4d Mon Sep 17 00:00:00 2001 From: Frank Livingston Date: Thu, 26 Jan 2017 17:06:07 -0600 Subject: [PATCH] Remove remove ARM call for info, decode. Remove code in DSP decodeProcessing(), state=INFO1 for establishing primary timing for MAT-THD (i.e. majorAu found by decoder). Only input driver operates in this configuration. --- pasdk/test_dsp/framework/audioStreamInpProc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pasdk/test_dsp/framework/audioStreamInpProc.c b/pasdk/test_dsp/framework/audioStreamInpProc.c index 834be22b..e7bf9502 100644 --- a/pasdk/test_dsp/framework/audioStreamInpProc.c +++ b/pasdk/test_dsp/framework/audioStreamInpProc.c @@ -2180,6 +2180,7 @@ PAF_ASIT_decodeProcessing( #endif +#if 0 // (***) FL: debug #ifdef NON_CACHE_STATUS statusOp_read(&tempVar8, &(pAstCfg->xDec[zMD].decodeStatus.sourceDecode), @@ -2233,6 +2234,7 @@ PAF_ASIT_decodeProcessing( state = INFO1; continue; } +#endif // (***) FL: debug TRACE_VERBOSE1("PAF_ASIT_decodeProcessing: INFO1: frame %d, major access unit found", frame); // Establish secondary timing @@ -2969,6 +2971,7 @@ PAF_ASIT_decodeInfo( return errno; } +#if 0 // (***) FL: debug #if 1 // (***) FL: revisit // write back Inp configuration @@ -3034,6 +3037,7 @@ PAF_ASIT_decodeInfo( Cache_inv(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0); Cache_wait(); #endif +#endif // (***) FL: debug #if 0 // FL: decoder info call, slave if (dec->fxns->info @@ -3363,6 +3367,7 @@ PAF_ASIT_decodeDecode( // FL: debug, capture input buffer //capIbPcm(pAstCfg->xInp[z].pInpBuf); +#if 0 // (***) FL: debug // (***) FL: revisit // write back Dec configuration Cache_wb(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0); @@ -3431,7 +3436,8 @@ PAF_ASIT_decodeDecode( // invalidate Dec configuration Cache_inv(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0); Cache_wait(); - +#endif // (***) FL: debug + errno = 0; #if 0 // FL: decoder decode call, slave if (dec->fxns->decode && (errno = dec->fxns->decode (dec, NULL, -- 2.39.2