author | Frank Livingston <frank-livingston@ti.com> | |
Wed, 30 May 2018 21:16:42 +0000 (16:16 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Wed, 30 May 2018 21:16:42 +0000 (16:16 -0500) |
Simple merge
Simple merge
diff --cc pasdk/test_dsp/io/ioData.c
index bd30f3b0ce2d511f4cee02917796acfc1decda37,4c5c673c71f82f9c30a0fe528568cd1125ff1591..0baa780745d74900fa7c9b7d8492257687985afb
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:
diff --cc pasdk/test_dsp/io/ioData.h
index 1c27a4eeb8a89e7a00f7ff4248e128c4d5c1c1ac,087990234f7a3f92581dbe36956927464ffe98c0..c05ed8d56bdcf867ba067e216f81bd298108562d
// 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