mirror of https://github.com/thesofproject/sof.git
30 lines
489 B
Bash
Executable File
30 lines
489 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2020 Intel Corporation. All rights reserved.
|
|
|
|
# stop on most errors
|
|
set -e
|
|
|
|
usage ()
|
|
{
|
|
echo "Usage: $0 <bits in> <bits out> <rate> <input> <output>"
|
|
echo "Example: $0 16 16 48000 input.raw output.raw"
|
|
}
|
|
|
|
main ()
|
|
{
|
|
local COMP DIRECTION
|
|
|
|
if [ $# -ne 5 ]; then
|
|
usage "$0"
|
|
exit 1
|
|
fi
|
|
|
|
COMP=eq-iir
|
|
DIRECTION=playback
|
|
|
|
./comp_run.sh $COMP $DIRECTION "$1" "$2" "$3" "$3" "$4" "$5"
|
|
}
|
|
|
|
main "$@"
|