[Sound-open-firmware] [PATCH 0/3] Host based component testing
Liam Girdwood
liam.r.girdwood at linux.intel.com
Mon May 7 15:50:05 CEST 2018
On Wed, 2018-05-02 at 21:31 -0700, Ranjani Sridharan wrote:
> This set of patches introduces the testbench for audio processing
> components in SOF. The testbench enables for functional/quality
> test of the components. The testbench reads in audio samples from a
> file and write out the processed samples to the output file.
>
> The common directory includes routines for topology parsing and
> setting up sof ipc, scheduler and processing pipelines. It also
> includes simpler implementations for SOF features such as tracing.
> It also includes the fileread/filewrite components that allow
> reading in or writing out samples from/to a file.
>
> The volume testbench directory includes the testbench for volume
> component. The volume testbench reads in input samples from a file
> ,schedules pipeline copy and copies the processed sample to the output
> file. The output file can be used to perform audio quality tests using
> matlab/octave. Testbench for other components such as src/eq will be
> added later.
>
> Ranjani Sridharan (3):
> [RFC]tune: add common testbench common headers and source files
> [RFC]tune: add fileread and filewrite components
> [RFC]tune: add volume testbench
>
> Makefile.am | 2 +-
> configure.ac | 5 +-
> tune/Makefile.am | 1 +
> tune/common/Makefile.am | 11 +
> tune/common/common_test.c | 461 ++++++++++++++++++++++++
> tune/common/common_test.h | 125 +++++++
> tune/common/common_tplg.c | 873
> ++++++++++++++++++++++++++++++++++++++++++++++
> tune/common/common_tplg.h | 195 +++++++++++
> tune/common/fileread.c | 385 ++++++++++++++++++++
> tune/common/filewrite.c | 395 +++++++++++++++++++++
> tune/volume/Makefile.am | 17 +
> tune/volume/volume_test.c | 160 +++++++++
Should thee not go under src/test ?
Liam
More information about the Sound-open-firmware
mailing list