Audio: SRC: Tune: Prefix top level functions with sof_

This change is done to avoid conflict with possible other
similar scripts.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2024-06-03 13:44:08 +03:00 committed by Liam Girdwood
parent 3282f0462d
commit e138709ea8
6 changed files with 13 additions and 13 deletions

View File

@ -8,14 +8,14 @@ of objective audio quality parameters.
The tools need GNU Octave version 4.0.0 or later with octave-signal
package.
src_std_int32.m
---------------
sof_src_std_int32.m
-------------------
This script creates the default coefficient set and contains nothing
else but call for src_generate.
src_tiny_int16.m
----------------
sof_src_tiny_int16.m
--------------------
This script creates the tiny coefficient set. The script contains an
example how to customize the input/output rates matrix and in a simple
@ -24,8 +24,8 @@ be done by editing file src_param.m directly. Note that int16
presentation for SRC coefficients will degrade even the default
quality.
src_generate.m
--------------
sof_src_generate.m
------------------
Creates the header files to include to C into directory "include". A
report of create modes is written to directory "reports". The

View File

@ -1,8 +1,8 @@
function src_generate(fs_in, fs_out, fs_inout, cfg);
function sof_src_generate(fs_in, fs_out, fs_inout, cfg);
% src_generate - export src conversions for given fs_in and fs_out
% sof_src_generate - export src conversions for given fs_in and fs_out
%
% src_generate(fs_in, fs_out <, fs_inout, <cfg>>)
% sof_src_generate(fs_in, fs_out <, fs_inout, <cfg>>)
%
% fs_in - vector of input sample rates (M)
% fs_out - vector of output sample rates (N)

View File

@ -34,4 +34,4 @@ cfg.thdn = -92;
cfg.speed = 0;
cfg.gain = 0; % Make gain 0 dB
src_generate(fs1, fs2, fs_matrix, cfg);
sof_src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -25,4 +25,4 @@ cfg.thdn = -90;
cfg.speed = 0;
cfg.gain = 0;
src_generate(fs1, fs2, fs_matrix, cfg);
sof_src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -54,4 +54,4 @@ cfg.thdn = -90;
cfg.speed = 0;
cfg.gain = 0;
src_generate(fs1, fs2, fs_matrix, cfg);
sof_src_generate(fs1, fs2, fs_matrix, cfg);

View File

@ -45,4 +45,4 @@ cfg.thdn = -90;
cfg.speed = 1;
cfg.gain = 0;
src_generate(fs1, fs2, fsm, cfg);
sof_src_generate(fs1, fs2, fsm, cfg);