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