author | Frank Livingston <frank-livingston@ti.com> | |
Wed, 18 Apr 2018 19:31:33 +0000 (14:31 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Wed, 18 Apr 2018 19:31:33 +0000 (14:31 -0500) | ||
commit | a4207dd1ebfee3cff471a8de9d1dc75f52a532fa | |
tree | 9085caba46489daf94d2a4af55a7d3a292d18b65 | tree | snapshot (tar.xz tar.gz zip) |
parent | 7a7493dd169fae15d88479e41c094397f4cf7946 | commit | diff |
PASDK-568:Update CB read to properly set AF sample count
cbReadAf():
AF sample count set to number of PCM samples read from PCM buffer in case
of partial read (fewer PCM samples in buffer than number of PCM samples
requested in read).
Update code to set AF sample count to number of PCM
samples requested in read.
If CB in drain state, this isn't an underflow (e.g. EOS trailing samples).
If CB not in drain state, this is logged as an underflow.
cbReadAf():
AF sample count set to number of PCM samples read from PCM buffer in case
of partial read (fewer PCM samples in buffer than number of PCM samples
requested in read).
Update code to set AF sample count to number of PCM
samples requested in read.
If CB in drain state, this isn't an underflow (e.g. EOS trailing samples).
If CB not in drain state, this is logged as an underflow.
pasdk/test_dsp/framework/aspDecOpCircBuf_master.c | diff | blob | history |