mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
pactl: Add the ability to toggle mute state.
This patch adds the ability to toggle mute for sink/sources and sink-inputs and source outputs. All mute commands now accept 1|0|toggle as an argument.
This commit is contained in:
parent
32b6b4df64
commit
9779aa4985
2 changed files with 112 additions and 25 deletions
|
|
@ -209,22 +209,22 @@ USA.
|
|||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-sink-mute</opt> <arg>SINK</arg> <arg>1|0</arg></p>
|
||||
<p><opt>set-sink-mute</opt> <arg>SINK</arg> <arg>1|0|toggle</arg></p>
|
||||
<optdesc><p>Set the mute status of the specified sink (identified by its symbolic name or numerical index).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-source-mute</opt> <arg>SOURCE</arg> <arg>1|0</arg></p>
|
||||
<p><opt>set-source-mute</opt> <arg>SOURCE</arg> <arg>1|0|toggle</arg></p>
|
||||
<optdesc><p>Set the mute status of the specified source (identified by its symbolic name or numerical index).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-sink-input-mute</opt> <arg>INPUT</arg> <arg>1|0</arg></p>
|
||||
<p><opt>set-sink-input-mute</opt> <arg>INPUT</arg> <arg>1|0|toggle</arg></p>
|
||||
<optdesc><p>Set the mute status of the specified sink input (identified by its numerical index).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-source-output-mute</opt> <arg>INPUT</arg> <arg>1|0</arg></p>
|
||||
<p><opt>set-source-output-mute</opt> <arg>INPUT</arg> <arg>1|0|toggle</arg></p>
|
||||
<optdesc><p>Set the mute status of the specified source output (identified by its numerical index).</p></optdesc>
|
||||
</option>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue