mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
bash-completion: Add --monitor-stream completion to pacat
This commit is contained in:
parent
832ad693f5
commit
47729c43b4
1 changed files with 7 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ _pacat () {
|
|||
--rate= --format= --channels= --channel-map= --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'
|
||||
--file-format= --list-file-formats --monitor-stream='
|
||||
|
||||
_init_completion -n = || return
|
||||
|
||||
|
|
@ -456,6 +456,12 @@ _pacat () {
|
|||
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))
|
||||
;;
|
||||
|
||||
--monitor-stream=*)
|
||||
cur=${cur#*=}
|
||||
comps=$(__sink_inputs)
|
||||
COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur"))
|
||||
;;
|
||||
|
||||
--rate=*)
|
||||
cur=${cur#*=}
|
||||
COMPREPLY=($(compgen -W '32000 44100 48000 9600 192000' -- "$cur"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue