1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<?xml version='1.0' encoding="utf-8"?>
<!DOCTYPE chapter
[
<!ENTITY ags "Advanced Gtk+ Sequencer">
]>
<!-- Copyright (C) 2005-2018 Jo\u00EBl Kr\u00E4hemann -->
<!-- Permission is granted to copy, distribute and/or modify this document -->
<!-- under the terms of the GNU Free Documentation License, Version 1.3 -->
<!-- or any later version published by the Free Software Foundation; -->
<!-- with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -->
<!-- A copy of the license is included in the section entitled "GNU -->
<!-- Free Documentation License". -->
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0">
<title>The action controller</title>
<para>
The <command>/action</command> context path runs the specified task. The action is run silently.
</para>
<sect1>
<title>Type tag and parameters</title>
<para>
The type tag of the request looks like following: <parameter class="command">,ss</parameter>.
</para>
<table border="1">
<caption>Type tag description</caption>
<tgroup cols="3" align="left" colsep="1" rowsep="1">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="1*"/>
<colspec colnum="3" colname="col3" colwidth="3*"/>
<thead>
<row>
<entry>index</entry>
<entry>type indentifier</entry>
<entry>value</entry>
</row>
</thead>
<tbody>
<row>
<entry>#0</entry>
<entry>s</entry>
<entry>Path is either <literal>/AgsSoundProvider/AgsSoundcard</literal>, <literal>/AgsSoundProvider/AgsSequencer</literal> or <literal>/AgsSoundProvider/AgsAudio[[0-9]+|"[\w]+"]</literal></entry>
</row>
<row>
<entry>#1</entry>
<entry>s</entry>
<entry>Action is either <literal>start</literal> or <literal>stop</literal></entry>
</row>
</tbody>
</tgroup>
</table>
<para>
The path <literal>/AgsSoundProvider/AgsAudio[[0-9]+|"[\w]+"]</literal> is a valid audio node accessor. Allowed are indices or its property audio-name. Currently only one single audio object can be accessed, for example <literal>/AgsSoundProvider/AgsAudio[1]</literal> or <literal>/AgsSoundProvider/AgsAudio["drum"]</literal>.
</para>
</sect1>
</chapter>
|