[Sound-open-firmware] [PATCH 0/3] Host based component testing

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Thu May 3 06:31:24 CEST 2018


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 +++++++++
 12 files changed, 2628 insertions(+), 2 deletions(-)
 create mode 100644 tune/Makefile.am
 create mode 100644 tune/common/Makefile.am
 create mode 100644 tune/common/common_test.c
 create mode 100644 tune/common/common_test.h
 create mode 100644 tune/common/common_tplg.c
 create mode 100644 tune/common/common_tplg.h
 create mode 100644 tune/common/fileread.c
 create mode 100644 tune/common/filewrite.c
 create mode 100644 tune/volume/Makefile.am
 create mode 100644 tune/volume/volume_test.c

-- 
2.14.1



More information about the Sound-open-firmware mailing list