author | Frank Livingston <frank-livingston@ti.com> | |
Mon, 14 May 2018 22:58:51 +0000 (17:58 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Mon, 14 May 2018 22:58:51 +0000 (17:58 -0500) | ||
commit | 9ea10439102d91fbba07fabf97175225cdf771a0 | |
tree | dc9286bfcb3ca09917aae9b5233077ea33fcf493 | tree | snapshot (tar.xz tar.gz zip) |
parent | 82d077689c550ababa2fe24d6975b9acca747ae0 | commit | diff |
PASDK-576:Avoid IO Buff allocating split buffer on buffer wrap
Dynamically size IO Buff buffer from which to allocate.
Size is multiple of:
Stream AF sample count x stride x size of element.
- Stream AF sample count is computed from ASP chain reset.
- Stride is from Output shortcut (select devices, McASP LLD config).
- Size of element is hard-coded in some place to 4. This need to be checked.
It should be possible to obtain size of element from the Output shortcut.
Dynamically size IO Buff buffer from which to allocate.
Size is multiple of:
Stream AF sample count x stride x size of element.
- Stream AF sample count is computed from ASP chain reset.
- Stride is from Output shortcut (select devices, McASP LLD config).
- Size of element is hard-coded in some place to 4. This need to be checked.
It should be possible to obtain size of element from the Output shortcut.