Tools: Fix topology1 path in Matlab language scripts

The change for topology1 was missing from various tuning
and testing scripts those access binary blob data from
topology m4 directories.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2021-07-20 18:03:02 +03:00 committed by Liam Girdwood
parent 8d68de8db5
commit 4c376680f5
8 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ if nargin < 4
end end
%% Paths %% Paths
t.blobpath = '../../topology/m4'; t.blobpath = '../../topology/topology1/m4';
plots = 'plots'; plots = 'plots';
reports = 'reports'; reports = 'reports';

View File

@ -1,7 +1,7 @@
function example_crossover(); function example_crossover();
% Set the parameters here % Set the parameters here
tplg_fn = "../../topology/m4/crossover_coef_default.m4" % Control Bytes File tplg_fn = "../../topology/topology1/m4/crossover_coef_default.m4" % Control Bytes File
% Use those files with sof-ctl to update the component's configuration % Use those files with sof-ctl to update the component's configuration
blob_fn = "../../ctl/crossover_coef.blob" % Blob binary file blob_fn = "../../ctl/crossover_coef.blob" % Blob binary file
alsa_fn = "../../ctl/crossover_coef.txt" % ALSA CSV format file alsa_fn = "../../ctl/crossover_coef.txt" % ALSA CSV format file

View File

@ -1,7 +1,7 @@
function example_dcblock(); function example_dcblock();
% Set the parameters here % Set the parameters here
tplg_fn = "../../topology/m4/dcblock_coef_default.m4" % Control Bytes File tplg_fn = "../../topology/topology1/m4/dcblock_coef_default.m4" % Control Bytes File
% Use those files with sof-ctl to update the component's configuration % Use those files with sof-ctl to update the component's configuration
blob_fn = "../../ctl/dcblock_coef.blob" % Blob binary file blob_fn = "../../ctl/dcblock_coef.blob" % Blob binary file
alsa_fn = "../../ctl/dcblock_coef.txt" % ALSA CSV format file alsa_fn = "../../ctl/dcblock_coef.txt" % ALSA CSV format file

View File

@ -1,7 +1,7 @@
function example_drc(); function example_drc();
% Set the parameters here % Set the parameters here
tplg_fn = "../../topology/m4/drc_coef_default.m4"; % Control Bytes File tplg_fn = "../../topology/topology1/m4/drc_coef_default.m4"; % Control Bytes File
% Use those files with sof-ctl to update the component's configuration % Use those files with sof-ctl to update the component's configuration
blob_fn = "../../ctl/drc_coef.blob"; % Blob binary file blob_fn = "../../ctl/drc_coef.blob"; % Blob binary file
alsa_fn = "../../ctl/drc_coef.txt"; % ALSA CSV format file alsa_fn = "../../ctl/drc_coef.txt"; % ALSA CSV format file

View File

@ -10,7 +10,7 @@ function example_fir_eq()
%% Common definitions %% Common definitions
fs = 48e3; fs = 48e3;
tpath = '../../topology/m4'; tpath = '../../topology/topology1/m4';
cpath = '../../ctl'; cpath = '../../ctl';
priv = 'DEF_EQFIR_PRIV'; priv = 'DEF_EQFIR_PRIV';

View File

@ -10,7 +10,7 @@ function example_iir_eq()
%% Common definitions %% Common definitions
fs = 48e3; fs = 48e3;
tpath = '../../topology/m4'; tpath = '../../topology/topology1/m4';
cpath = '../../ctl'; cpath = '../../ctl';
priv = 'DEF_EQIIR_PRIV'; priv = 'DEF_EQIIR_PRIV';

View File

@ -15,7 +15,7 @@ function example_spk_eq()
%% Defaults %% Defaults
fs = 48e3; fs = 48e3;
tpath = '../../topology/m4'; tpath = '../../topology/topology1/m4';
cpath = '../../ctl'; cpath = '../../ctl';
iir_priv = 'DEF_EQIIR_PRIV'; iir_priv = 'DEF_EQIIR_PRIV';
fir_priv = 'DEF_EQFIR_PRIV'; fir_priv = 'DEF_EQFIR_PRIV';

View File

@ -1,7 +1,7 @@
function example_multiband_drc(); function example_multiband_drc();
% Set the parameters here % Set the parameters here
tplg_fn = "../../topology/m4/multiband_drc_coef_default.m4"; % Control Bytes File tplg_fn = "../../topology/topology1/m4/multiband_drc_coef_default.m4"; % Control Bytes File
% Use those files with sof-ctl to update the component's configuration % Use those files with sof-ctl to update the component's configuration
blob_fn = "../../ctl/multiband_drc_coef.blob"; % Blob binary file blob_fn = "../../ctl/multiband_drc_coef.blob"; % Blob binary file
alsa_fn = "../../ctl/multiband_drc_coef.txt"; % ALSA CSV format file alsa_fn = "../../ctl/multiband_drc_coef.txt"; % ALSA CSV format file