mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
pw-jack: remove unecessary $ from arithmetic variables
Found by ShellCheck: SC2004: $/${} is unnecessary on arithmetic variables.
This commit is contained in:
parent
c3b87ea4b2
commit
056d06da88
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue