1#!/bin/bash 2# SPDX-License-Identifier: BSD-3-Clause 3# Copyright(c) 2020 Intel Corporation. All rights reserved. 4 5usage () 6{ 7 echo "Usage: $0 <bits in> <bits out> <rate> <input> <output>" 8 echo "Example: $0 16 16 48000 input.raw output.raw" 9} 10 11main () 12{ 13 local COMP DIRECTION 14 15 if [ $# -ne 5 ]; then 16 usage "$0" 17 exit 18 fi 19 20 COMP=eq-fir 21 DIRECTION=playback 22 23 ./comp_run.sh $COMP $DIRECTION "$1" "$2" "$3" "$3" "$4" "$5" 24} 25 26main "$@" 27