output/Interface: add "attributes" map
These attributes are printed in the "outputs" response, and the new command "outputset" allows setting new values. No attributes are currently implemented.
This commit is contained in:
@@ -2523,6 +2523,7 @@ outputid: 0
|
||||
outputname: My ALSA Device
|
||||
plugin: alsa
|
||||
outputenabled: 0
|
||||
attribute: dop=0
|
||||
OK
|
||||
</screen>
|
||||
<para>
|
||||
@@ -2547,6 +2548,24 @@ OK
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="command_outputset">
|
||||
<term>
|
||||
<cmdsynopsis>
|
||||
<command>outputset</command>
|
||||
<arg choice="req"><replaceable>ID</replaceable></arg>
|
||||
<arg choice="req"><replaceable>NAME</replaceable></arg>
|
||||
<arg choice="req"><replaceable>VALUE</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set a runtime attribute. These are specific to the
|
||||
output plugin, and supported values are usually printed
|
||||
in the <command>outputs</command> response.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
|
Reference in New Issue
Block a user