]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/mib/mib.c
Fixed problem of input task being stuck when input stream stops:
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / mib / mib.c
index 520db2d96249d578b47d249eb239238a09004074..ce7183a7e3eb8d184d1127fe30d9d820493b6ae1 100644 (file)
@@ -220,7 +220,7 @@ const SmUns iecPafSource[23] =
 };
 
 // IEC framelengths (in 16bit words)
-static const MdUns iecFrameLength[23] =
+const MdUns iecFrameLength[23] =
 {
     0,
     1536*2,
@@ -1517,10 +1517,10 @@ Int DIB_syncScan (DEV2_Handle device, PAF_InpBufConfig *pBufConfig, XDAS_UInt32
 
                 Log_info2("source is %d.  pc is %d.", iecPafSource[pc], pc);
                 //TRACE((&TR_MOD, "source is %d.  pc is %d.\n", iecPafSource[pc], pc));
-
+#if 0 //No need to differentiate LBR subtype from DTSHD as DXP source program as LBR is handled inside DTSX decoder like other subtypes.
                 if (pc == 0x11 && DTSHDSubType == 3 && (PAF_ASP_sampleRateHzTable[pBufConfig->pBufStatus->sampleRateStatus][PAF_SAMPLERATEHZ_STD] <=48000.0))
                     pDevExt->sourceProgram = PAF_SOURCE_DXP;    // LBR is 23
-             
+#endif             
                 pDevExt->frameLength = pDevExt->pIECFrameLength[pc];
                 pDevExt->lengthofData = pDevExt->frameLength;
                 if (pc == 1)