diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-25 02:49:34 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-25 02:49:34 +0100 |
commit | b727f9666b457666efaa861caeb7d1ed73e646c3 (patch) | |
tree | 6bab10acf90917446de7cb73b39a31f90cddab6d /util/spkmodem_recv/spkmodem-recv.c | |
parent | 208620198c79c9645690968d9e085a6769fe1213 (diff) |
util/: use SPDX license and copyright headers
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv/spkmodem-recv.c')
-rw-r--r-- | util/spkmodem_recv/spkmodem-recv.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c index 24f1354f..be91c836 100644 --- a/util/spkmodem_recv/spkmodem-recv.c +++ b/util/spkmodem_recv/spkmodem-recv.c @@ -1,20 +1,6 @@ -/* spkmodem-recv.c - decode spkmodem signals */ -/* - * Copyright (C) 2013 Free Software Foundation, Inc. - * - * spkmodem-recv is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * spkmodem-recv is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with spkmodem-recv. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* SPDX-FileCopyrightText: 2013 Free Software Foundation, Inc. */ +/* Usage: parec --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv */ #include <err.h> #include <errno.h> @@ -23,9 +9,6 @@ #include <string.h> #include <unistd.h> -/* Compilation: cc -o spkmodem-recv spkmodem-recv.c */ -/* Usage: parec --channels=1 --rate=48000 --format=s16le | ./spkmodem-recv */ - #define SAMPLES_PER_FRAME 240 #define MAX_SAMPLES (2 * SAMPLES_PER_FRAME) #define FREQ_SEP_MIN 5 |