<!-- <?xml version="1.0" ?> <!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd"> To validate or process this file as a standalone document, uncomment this prolog. Be sure to comment it out again when you are done --> <chapter id="arts-apis"> <title ></title> <sect1 id="api-overview"> <title >Aperçu</title> <para > </para> <para > </para> <variablelist > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > </variablelist> <para > </para> <variablelist > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > <varlistentry > <term ></term > <listitem ><para > </para ></listitem > </varlistentry > </variablelist> </sect1> <sect1 id="knotify"> <title >knotify</title> <para > </para> </sect1> <sect1 id="kaudioplayer"> <title >kaudioplayer</title> <para > </para> </sect1> <sect1 id="libkmid"> <title >libkmid</title> <para > </para> </sect1> <sect1 id="kmedia2"> <title >kmedia2</title> <para > </para> </sect1> <sect1 id="soundserver"> <title >serveur sonore</title> <para > </para> </sect1> <sect1 id="artsflow"> <title >artsflow</title> <para > </para> </sect1> <sect1 id="capi"> <title ></title> <sect2 id="capiintro"> <title >Introduction</title> <para > </para> <para ></para> </sect2> <sect2 id="capiwalkthru"> <title ></title> <para ></para> <procedure > <step ><para ></para ></step > <step ><para ></para ></step > <step ><para ></para ></step > <step ><para ></para ></step > <step ><para ></para ></step > <step ><para ></para ></step > <step ><para ></para ></step > </procedure> <para ></para> <programlisting> #include <stdio.h> #include <artsc.h> int main() { arts_stream_t stream; char buffer[8192]; int bytes; int errorcode; errorcode = arts_init(); if (errorcode < 0) { fprintf(stderr, "arts_init error: %s\n", arts_error_text(errorcode)); return 1; } stream = arts_play_stream(44100, 16, 2, "artsctest"); while((bytes = fread(buffer, 1, 8192, stdin)) > 0) { errorcode = arts_write(stream, buffer, bytes); if(errorcode < 0) { fprintf(stderr, "arts_write error: %s\n", arts_error_text(errorcode)); return 1; } } arts_close_stream(stream); arts_free(); return 0; } </programlisting> </sect2> <sect2 id="capiartscconfig"> <title ></title> <para ></para> <screen> <userinput ></userinput> </screen> <para > </para> <screen> <userinput ></userinput> </screen> <para ></para> <screen> </screen> </sect2> <sect2 id="c-api-reference"> <title ></title> <para > [TODO: generate the documentation for artsc.h using kdoc] </para> </sect2> </sect1> </chapter>