Skip to content

Commit

Permalink
Audio: SRC: Tune: Prefix top level functions with sof_
Browse files Browse the repository at this point in the history
This change is done to avoid conflict with possible other
similar scripts.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu authored and lgirdwood committed Jun 26, 2024
1 parent 3282f04 commit e138709
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions src/audio/src/tune/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
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);
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
cfg.speed = 0;
cfg.gain = 0;

src_generate(fs1, fs2, fs_matrix, cfg);
sof_src_generate(fs1, fs2, fs_matrix, cfg);
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
cfg.speed = 0;
cfg.gain = 0;

src_generate(fs1, fs2, fs_matrix, cfg);
sof_src_generate(fs1, fs2, fs_matrix, cfg);
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
cfg.speed = 1;
cfg.gain = 0;

src_generate(fs1, fs2, fsm, cfg);
sof_src_generate(fs1, fs2, fsm, cfg);

0 comments on commit e138709

Please sign in to comment.