summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 679fc1a)
raw | patch | inline | side by side (parent: 679fc1a)
author | Jianzhong Xu <a0869574@ti.com> | |
Fri, 20 Apr 2018 19:59:27 +0000 (15:59 -0400) | ||
committer | Jianzhong Xu <a0869574@ti.com> | |
Fri, 20 Apr 2018 19:59:27 +0000 (15:59 -0400) |
pasdk/test_dsp/framework/audioStreamInpDec.c | patch | blob | history |
diff --git a/pasdk/test_dsp/framework/audioStreamInpDec.c b/pasdk/test_dsp/framework/audioStreamInpDec.c
index 0e65ea2673842506c11d1e74d60fd56a6d7b2d30..e98dceb6d8190a67fd270cc486c4eb183052f26e 100644 (file)
}
}
}
-
- if (decMsg & DEC_MSGMSK_INPDATA) {
+ // If both INPDATA and RXACK are received, INPDATA message will be
+ // processed in next iteration, in state DEC_STATE_INFO_SND.
+ else if (decMsg & DEC_MSGMSK_INPDATA) {
// If we're here, it means decode acknowledgment from decoder
// is delayed, i.e., a new frame of input data is ready before
// current frame decoding is finished.
TRACE_VERBOSE0("decDecodeFsm: receiving INPDATA in DEC_STATE_DECODE_ACK");
}
-
- if (decMsg != 0) {
+ else {
decErr = DEC_ERR_WRONG_MSG;
}
break;