shithub: opus

Download patch

ref: ccaaffa9a3ee427e9401c4dcf6462e378d9a4694
parent: 6ba284f22feeedb394697d112cf1da80c77bb5a4
author: Jean-Marc Valin <jmvalin@amazon.com>
date: Sat Apr 2 11:21:48 EDT 2022

print rate used for testvectors

--- a/tests/random_config.sh
+++ b/tests/random_config.sh
@@ -106,7 +106,8 @@
 
 
 rate=`echo -e "8000\n12000\n16000\n24000\n48000" | shuf -n1`
-../../../run_vectors.sh . $vectors $rate > testvectors_output.txt 2>&1
+echo testvectors for $rate Hz > testvectors_output.txt
+../../../run_vectors.sh . $vectors $rate >> testvectors_output.txt 2>&1
 
 if [ $? -ne 0 ]
 then