mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05: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
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -36,7 +36,7 @@ while getopts 'hr:vs:p:' param ; do
 | 
				
			||||||
			if [ x"$PIPEWIRE_DEBUG" = x ]; then
 | 
								if [ x"$PIPEWIRE_DEBUG" = x ]; then
 | 
				
			||||||
				PIPEWIRE_DEBUG=3
 | 
									PIPEWIRE_DEBUG=3
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
				PIPEWIRE_DEBUG=$(( $PIPEWIRE_DEBUG + 1 ))
 | 
									PIPEWIRE_DEBUG=$(( PIPEWIRE_DEBUG + 1 ))
 | 
				
			||||||
			fi
 | 
								fi
 | 
				
			||||||
			export PIPEWIRE_DEBUG
 | 
								export PIPEWIRE_DEBUG
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
| 
						 | 
					@ -62,7 +62,7 @@ while getopts 'hr:vs:p:' param ; do
 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
shift $(( $OPTIND - 1 ))
 | 
					shift $(( OPTIND - 1 ))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ x"$PERIOD" != x ]; then
 | 
					if [ x"$PERIOD" != x ]; then
 | 
				
			||||||
	PIPEWIRE_LATENCY="$PERIOD/$SAMPLERATE"
 | 
						PIPEWIRE_LATENCY="$PERIOD/$SAMPLERATE"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue