mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
pactl: Add a set-sink-formats command
This uses the module-device-restore protocol extension to save formats on sinks that support it.
This commit is contained in:
parent
8bffbcde1b
commit
0f3be7b72b
2 changed files with 71 additions and 3 deletions
|
|
@ -217,6 +217,14 @@ USA.
|
|||
<optdesc><p>Set the mute status of the specified sink input (identified by its numerical index).</p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<p><opt>set-sink-formats</opt> <arg>SINK</arg> <arg>FORMATS</arg></p>
|
||||
<optdesc><p>Set the supported formats of the specified sink (identified by its numerical index) if supported by the sink.
|
||||
<arg>FORMATS</arg> is specified as a semi-colon (;) separated list of formats in the form
|
||||
'encoding[, key1=value1, key2=value2, ...]' (for example, AC3 at 32000, 44100 and 48000 Hz would be specified as
|
||||
'ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"').
|
||||
</p></optdesc> </option>
|
||||
|
||||
<option>
|
||||
<p><opt>subscribe</opt></p>
|
||||
<optdesc><p>Subscribe to events, pactl does not exit by itself, but keeps waiting for new events.</p></optdesc>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue