mirror of https://github.com/thesofproject/sof.git
Merge pull request #62 from singalsu/fix_src_test_cmdline_arg_proposal
SRC test: Fix testbench execute command line plus cleanup
This commit is contained in:
commit
d40087fdd4
|
@ -29,7 +29,7 @@ fi
|
|||
|
||||
# Run command
|
||||
CMD0=$HOST_EXE
|
||||
CMD1="-d -x $FS1 -y $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
|
||||
CMD1="-d -r $FS1 -R $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
|
||||
CMD="$CMD0 $CMD1"
|
||||
export LD_LIBRARY_PATH=$HOST_LIB
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ function [n_fail, n_pass, n_na] = src_test(bits_in, bits_out, fs_in_list, fs_out
|
|||
%%
|
||||
% src_test - test with SRC test bench objective audio quality parameters
|
||||
%
|
||||
% src_test(fs_in, fs_out)
|
||||
% src_test(bits_in, bits_out, fs_in, fs_out)
|
||||
%
|
||||
% bits_in - input word length
|
||||
% bits_out - output word length
|
||||
|
@ -456,7 +456,9 @@ else
|
|||
title(tstr);
|
||||
end
|
||||
pfn = sprintf('plots/%s_src_%d_%d.png', testacronym, t.fs1, t.fs2);
|
||||
print(pfn, '-dpng');
|
||||
% The print command caused a strange error with __osmesa_print__
|
||||
% so disable it for now until solved.
|
||||
%print(pfn, '-dpng');
|
||||
if t.close_plot_windows
|
||||
close all;
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue