sof/tools/testbench
Seppo Ingalsuo 1df8cf856a Tools: Testbench: Fix file component buffer resize
The file component buffer resize was incorrect. It caused some
SRC testbench tests to fail due to insufficient sink buffer
size. The resize of file component source/sink was in prepare().
This patch moves it to one step earlier to params(). Then the
components' check for buffers in prepare() will see the impact
and let them error if the size is not sufficient.

After this change the number of periods in the buffer (from topology)
is preserved in resize. If a test does not run, need to fix the
test topology.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2022-04-28 15:43:38 +01:00
..
include/testbench Tools: Testbench: Add components to testbench load 2022-04-26 22:18:49 +01:00
CMakeLists.txt library: testbench: Add LL scheduler emulation 2022-01-31 16:16:27 +00:00
common_test.c Tools: Testbench: Add capture direction and multi-pipeline run 2022-04-26 22:18:49 +01:00
file.c Tools: Testbench: Fix file component buffer resize 2022-04-28 15:43:38 +01:00
testbench.c Tools: Testbench: Add components to testbench load 2022-04-26 22:18:49 +01:00
topology.c Tools: Testbench: Add capture direction and multi-pipeline run 2022-04-26 22:18:49 +01:00