author | Frank Livingston <frank-livingston@ti.com> | |
Sat, 3 Jun 2017 14:36:18 +0000 (09:36 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Sat, 3 Jun 2017 14:36:18 +0000 (09:36 -0500) | ||
commit | 62c7ed745e778152714aaf495ba7a64c4a3e38e6 | |
tree | 96bf146915b059eac2f5af6efa41d33d7228b69e | tree | snapshot (tar.xz tar.gz zip) |
parent | eb8940cf46316f13734a545ddd69b5a861d46791 | commit | diff |
PASDK-277:Add debug variables
Captures show ASIT exits & re-enters decodeProcessing().
Because of this, cbInitSourceSel() is called twice during MAT-THD stream,
both "early" in stream. Because of this, ~5 decode frames are lost from CB.
Data accumulation in the CB associated with these 5 frames is lost.
(variable fill rate - fixed empty rate). As a result, CB can underflow
for MAT-THD streams.
Current approach(s) to circumvent CB underflow problem center around
artificially accumulating some amount of data at point in stream where
decodeProcessing() is re-entered.
- PP approach will accumulate first 5 frames of data (of whatever size in stream).
- Bogdan's approach will accumulate some number of samples:
(fixed nominal delay - size of frame where decodeProcessing is resumed).
Neither approach will gaurantee no underflow.
Captures show ASIT exits & re-enters decodeProcessing().
Because of this, cbInitSourceSel() is called twice during MAT-THD stream,
both "early" in stream. Because of this, ~5 decode frames are lost from CB.
Data accumulation in the CB associated with these 5 frames is lost.
(variable fill rate - fixed empty rate). As a result, CB can underflow
for MAT-THD streams.
Current approach(s) to circumvent CB underflow problem center around
artificially accumulating some amount of data at point in stream where
decodeProcessing() is re-entered.
- PP approach will accumulate first 5 frames of data (of whatever size in stream).
- Bogdan's approach will accumulate some number of samples:
(fixed nominal delay - size of frame where decodeProcessing is resumed).
Neither approach will gaurantee no underflow.
pasdk/test_arm/framework/aspDecOpCircBuf_slave.c | diff | blob | history | |
pasdk/test_dsp/framework/aspDecOpCircBuf_master.c | diff | blob | history |