mirror of https://github.com/thesofproject/sof.git
1df8cf856a
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> |
||
---|---|---|
.. | ||
include/testbench | ||
CMakeLists.txt | ||
common_test.c | ||
file.c | ||
testbench.c | ||
topology.c |