diff --git a/tools/test/audio/src_test.m b/tools/test/audio/src_test.m index e97663faf..4e275bc56 100644 --- a/tools/test/audio/src_test.m +++ b/tools/test/audio/src_test.m @@ -262,8 +262,8 @@ end prm = src_param(t.fs1, t.fs2, test.coef_bits); test.f_start = 20; -test.f_end = prm.c_pb*min(t.fs1, t.fs2); -test.fu = prm.c_pb * t.fs2; +test.f_end = min(prm.c_pb * min(t.fs1, t.fs2), 20e3); +test.fu = min(prm.c_pb * t.fs2, 20e3); % AES17 5.2.5 standard low pass as 20 kHz %% Create input file test = thdnf_test_input(test);