Skip to content

Commit

Permalink
Tools: Test: Audio: Remove unused argument from src_test.m
Browse files Browse the repository at this point in the history
In function test_run_src() the second argument "t" is not used
so it can be safely removed.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu authored and lgirdwood committed Nov 20, 2023
1 parent 50c2576 commit 980b988
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/test/audio/src_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
test = g_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -256,7 +256,7 @@
test = fr_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -293,7 +293,7 @@
test = thdnf_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -322,7 +322,7 @@
test = dr_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -357,7 +357,7 @@
test = aap_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -390,7 +390,7 @@
test = aip_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Measure
test.fs = t.fs2;
Expand Down Expand Up @@ -420,7 +420,7 @@
test = chirp_test_input(test);

%% Run test
test = test_run_src(test, t);
test = test_run_src(test);

%% Analyze
test.fs = t.fs2;
Expand Down Expand Up @@ -467,7 +467,7 @@
test.thdnf_max = [];
end

function test = test_run_src(test, t)
function test = test_run_src(test)
test.fs_in = test.fs1;
test.fs_out = test.fs2;
test.extra_opts = '-C 300000'; % Limit to 5 min max, assume 1 ms scheduling
Expand Down

0 comments on commit 980b988

Please sign in to comment.