mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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 cur prev comps
|
||||||
local flags='-h --help --version -r --record -p --playback -v --verbose -s
|
local flags='-h --help --version -r --record -p --playback -v --verbose -s
|
||||||
--server= -d --device= -n --client-name= --stream-name= --volume=
|
--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=
|
--fix-channels --no-remix --no-remap --latency= --process-time=
|
||||||
--latency-msec= --process-time-msec= --property= --raw --passthrough
|
--latency-msec= --process-time-msec= --property= --raw --passthrough
|
||||||
--file-format= --list-file-formats --monitor-stream='
|
--file-format= --list-file-formats --monitor-stream='
|
||||||
|
|
|
||||||
|
|
@ -668,6 +668,7 @@ _pacat_completion() {
|
||||||
'--format=[sample type to use]:format:((${(q)_pacat_sample_formats}))' \
|
'--format=[sample type to use]:format:((${(q)_pacat_sample_formats}))' \
|
||||||
'--channels=[number of channels to use]:number:(1 2)' \
|
'--channels=[number of channels to use]:number:(1 2)' \
|
||||||
'--channel-map=[channel map to use]:map' \
|
'--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-format[use the sample format of the sink]' \
|
||||||
'--fix-rate[use the rate of the sink]' \
|
'--fix-rate[use the rate of the sink]' \
|
||||||
'--fix-channels[channel map of the sink]' \
|
'--fix-channels[channel map of the sink]' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue