]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk577RunTimeAudioIoCfg' into...
authorFrank Livingston <frank-livingston@ti.com>
Wed, 30 May 2018 21:16:42 +0000 (16:16 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Wed, 30 May 2018 21:16:42 +0000 (16:16 -0500)
1  2 
pasdk/test_dsp/framework/audioStreamInpProc.h
pasdk/test_dsp/framework/audioStreamInpProcNewIO.c
pasdk/test_dsp/io/ioData.c
pasdk/test_dsp/io/ioData.h

index bd30f3b0ce2d511f4cee02917796acfc1decda37,4c5c673c71f82f9c30a0fe528568cd1125ff1591..0baa780745d74900fa7c9b7d8492257687985afb
@@@ -327,10 -329,8 +329,11 @@@ int ioDataControl(ioDataHandle_t ioData
      case IODATA_CTL_GET_AUTODET_STATUS:
        ioDataCtl->param.autoDetStats.syncState     = pIoDataInst->autoDet.syncState;
        ioDataCtl->param.autoDetStats.deliverZeros  = pIoDataInst->deliverZeros;
 -      ioDataCtl->param.autoDetStats.bitStreamInfo = pIoDataInst->autoDet.bitStreamInfo;
 +      ioDataCtl->param.autoDetStats.streamInfo.IEC_PC = pIoDataInst->autoDet.bitStreamInfo & IODATA_SYNC_PC_MASK;
 +      ioDataCtl->param.autoDetStats.streamInfo.frameLength = pIoDataInst->autoDet.frameLength;
 +      ioDataCtl->param.autoDetStats.streamInfo.dataLength  =  pIoDataInst->autoDet.frameLength
 +                                                            - pIoDataInst->autoDet.headerLength;
+       ioDataCtl->param.autoDetStats.syncTimeOut   = pIoDataInst->syncTimeOut;
        break;
  /*
      case IODATA_CTL_GET_STEAM_INFO:
index 1c27a4eeb8a89e7a00f7ff4248e128c4d5c1c1ac,087990234f7a3f92581dbe36956927464ffe98c0..c05ed8d56bdcf867ba067e216f81bd298108562d
@@@ -73,8 -67,9 +73,9 @@@ typedef struct streamInfo_s 
  // Auto-detection status
  typedef struct ioDataAutoDetStat_s {
    uint_least16_t   syncState;      // SYNC state
 -  uint_least16_t   bitStreamInfo;  // bit stream information - value of IEC_PC
 +  streamInfo_t     streamInfo;  // bit stream information - value of IEC_PC
    uint8_t          deliverZeros;   // flag to indicate whether zeros should be sent to output
+   uint8_t          syncTimeOut;
  } ioDataAutoDetStat_t;
  
  // I/O DATA control structure