pw-jack: remove unecessary $ from arithmetic variables

Found by ShellCheck: SC2004: $/${} is unnecessary on arithmetic variables.
This commit is contained in:
Peter Hutterer 2021-05-10 08:36:23 +10:00 committed by Wim Taymans
parent c3b87ea4b2
commit 056d06da88

View file

@ -36,7 +36,7 @@ while getopts 'hr:vs:p:' param ; do
if [ x"$PIPEWIRE_DEBUG" = x ]; then
PIPEWIRE_DEBUG=3
else
PIPEWIRE_DEBUG=$(( $PIPEWIRE_DEBUG + 1 ))
PIPEWIRE_DEBUG=$(( PIPEWIRE_DEBUG + 1 ))
fi
export PIPEWIRE_DEBUG
;;
@ -62,7 +62,7 @@ while getopts 'hr:vs:p:' param ; do
esac
done
shift $(( $OPTIND - 1 ))
shift $(( OPTIND - 1 ))
if [ x"$PERIOD" != x ]; then
PIPEWIRE_LATENCY="$PERIOD/$SAMPLERATE"