mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
pactl: Add a command for setting the default sink/source.
This adds two new commands to pactl:
set-default-sink
set-default-source
This command has been part of the native protocol for a long time,
no reason not to expose it in pactl.
This commit is contained in:
parent
a5af95f83d
commit
831cae16d4
2 changed files with 41 additions and 0 deletions
|
|
@ -162,11 +162,21 @@ USA.
|
|||
<optdesc><p>Set the specified card (identified by its symbolic name or numerical index) to the specified profile (identified by its symbolic name).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-default-sink</opt> <arg>SINK</arg></p>
|
||||
<optdesc><p>Make the specified sink (identified by its symbolic name) the default sink.</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-sink-port</opt> <arg>SINK</arg> <arg>PORT</arg></p>
|
||||
<optdesc><p>Set the specified sink (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-default-source</opt> <arg>SOURCE</arg></p>
|
||||
<optdesc><p>Make the specified source (identified by its symbolic name) the default source.</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-source-port</opt> <arg>SOURCE</arg> <arg>PORT</arg></p>
|
||||
<optdesc><p>Set the specified source (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).</p></optdesc>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue