| 1 | |
| 2 | <refentry id="chnclear"> |
| 3 | <indexterm id="Indexchnclear"><primary>chnclear</primary></indexterm> |
| 4 | <refentryinfo><title>Signal I/O:Software Bus</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>chnclear</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>chnclear</refname> |
| 11 | <refpurpose> |
| 12 | Clears a number of audio output channel of the named software bus. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Clears a list of audio channels of the named software bus to zero. |
| 20 | Implies declaring the channel with <emphasis>imode</emphasis>=2 (see also |
| 21 | <link linkend="chn"><citetitle>chn_a</citetitle></link>). |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>chnclear</command> Sname1[, Sname2,...]</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>Sname*</emphasis> -- a string that indicates which |
| 34 | named channel of the software bus to clear. |
| 35 | </para> |
| 36 | </refsect1> |
| 37 | |
| 38 | <refsect1> |
| 39 | <title>Examples</title> |
| 40 | <para> |
| 41 | Here is an example of the chnclear opcode. It uses the file <ulink url="examples/chnclear.csd"><citetitle>chnclear.csd</citetitle></ulink>. |
| 42 | <example> |
| 43 | <title>Example of the chnclear opcode.</title> |
| 44 | <xi:include href="examples-xml/chnclear.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 45 | </example> |
| 46 | </para> |
| 47 | </refsect1> |
| 48 | |
| 49 | <refsect1> |
| 50 | <title>See also</title> |
| 51 | <para><link linkend="SoftwareBus"><citetitle>Software Bus</citetitle></link></para> |
| 52 | </refsect1> |
| 53 | |
| 54 | <refsect1> |
| 55 | <title>Credits</title> |
| 56 | <para> |
| 57 | <simplelist> |
| 58 | <member>Author: &nameistvan;</member> |
| 59 | <member>2006</member> |
| 60 | </simplelist> |
| 61 | </para> |
| 62 | </refsect1> |
| 63 | </refentry> |