PASDK-576:Avoid IO Buff allocating split buffer on buffer wrap
authorFrank Livingston <frank-livingston@ti.com>
Mon, 14 May 2018 22:58:51 +0000 (17:58 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Mon, 14 May 2018 22:58:51 +0000 (17:58 -0500)
commit9ea10439102d91fbba07fabf97175225cdf771a0
treedc9286bfcb3ca09917aae9b5233077ea33fcf493
parent82d077689c550ababa2fe24d6975b9acca747ae0
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.
pasdk/common/asp0.c
pasdk/test_dsp/framework/audioStreamOutDec.c
pasdk/test_dsp/framework/audioStreamOutDec.h
pasdk/test_dsp/framework/audioStreamOutIo.c
pasdk/test_dsp/framework/audioStreamOutIo.h
pasdk/test_dsp/framework/audioStreamOutProc.c
pasdk/test_dsp/framework/audioStreamOutProc.h
pasdk/test_dsp/framework/systemInit.c
tools