mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	shell-completion: Add --encoding for pacat
This commit is contained in:
		
							parent
							
								
									3e4dc134d4
								
							
						
					
					
						commit
						7df1b78ac2
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -435,7 +435,7 @@ _pacat () {
 | 
			
		|||
    local cur prev comps
 | 
			
		||||
    local flags='-h --help --version -r --record -p --playback -v --verbose -s
 | 
			
		||||
                --server= -d --device= -n --client-name= --stream-name= --volume=
 | 
			
		||||
                --rate= --format= --channels= --channel-map= --fix-format --fix-rate
 | 
			
		||||
                --rate= --format= --channels= --channel-map= --encoding= --fix-format --fix-rate
 | 
			
		||||
                --fix-channels --no-remix --no-remap --latency= --process-time=
 | 
			
		||||
                --latency-msec= --process-time-msec= --property= --raw --passthrough
 | 
			
		||||
                --file-format= --list-file-formats --monitor-stream='
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -668,6 +668,7 @@ _pacat_completion() {
 | 
			
		|||
        '--format=[sample type to use]:format:((${(q)_pacat_sample_formats}))' \
 | 
			
		||||
        '--channels=[number of channels to use]:number:(1 2)' \
 | 
			
		||||
        '--channel-map=[channel map to use]:map' \
 | 
			
		||||
        '--encoding=[encoding to use for non-PCM audio]:encoding' \
 | 
			
		||||
        '--fix-format[use the sample format of the sink]' \
 | 
			
		||||
        '--fix-rate[use the rate of the sink]' \
 | 
			
		||||
        '--fix-channels[channel map of the sink]' \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue