summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2018-02-24 19:24:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-08-13 12:19:33 +0000
commit217ecd112b3766f6dd56b8b1ffbd0cf54c44ea4a (patch)
tree401304bba6379bacb515bebc033331e73943b84a
parent0005aabe2f60dc4875121b2598bb2ad034d37e87 (diff)
utils: spkmodem: suggest to use parec instead of parecord
Using recent versions of parecord produces the following: Failed to open audio file. According to the manual: -r | --record Capture audio data and write it to the specified file or to STDOUT if none is specified. If the tool is called under the name parec this is the default. so we suggest parec instead. Change-Id: I8b821df67b10e9d6533c4cbe19c646c84d436c27 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: https://review.coreboot.org/23863 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--util/spkmodem_recv/spkmodem-recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c
index c6bfec9e4b..d2e0a81316 100644
--- a/util/spkmodem_recv/spkmodem-recv.c
+++ b/util/spkmodem_recv/spkmodem-recv.c
@@ -18,7 +18,7 @@
#include <string.h>
/* Compilation: gcc -o spkmodem-recv spkmodem-recv */
-/* Usage: parecord --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv */
+/* Usage: parec --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv */
#define SAMPLES_PER_TRAME 240
#define FREQ_SEP_MIN 5