[MPlayer-DOCS] CVS: main/DOCS/xml/en audio.xml,1.9,1.10

Diego Biurrun CVS diego at mplayerhq.hu
Mon Nov 3 02:45:06 CET 2003


Update of /cvsroot/mplayer/main/DOCS/xml/en
In directory mail:/var/tmp.root/cvs-serv14904/xml/en

Modified Files:
	audio.xml 
Log Message:
Export audio filter documentation by Gustavo Sverzut Barbieri
<gsbarbieri at yahoo.com.br>, cleaned up by me.


Index: audio.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/audio.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- audio.xml	26 Oct 2003 14:58:15 -0000	1.9
+++ audio.xml	3 Nov 2003 01:45:04 -0000	1.10
@@ -942,6 +942,47 @@
 rear speakers.
 </para>
 </sect4>
+
+<sect4 id="af_export">
+<title>Audio Exporter</title>
+<para>
+This audio filter exports the incoming signal to other processes using memory
+mapping (<literal>mmap()</literal>). Memory mapped areas contain a header:
+
+<programlisting>
+int nch                      /*number of channels*/
+int size		     /*buffer size*/
+unsigned long long counter   /*Used to keep sync, it's updated
+                               every time new data is exported.*/
+</programlisting>
+
+The rest is payload (non-interleaved) 16bit data.
+</para>
+
+<variablelist>
+<varlistentry>
+<term><option>mmapped_file</option></term>
+<listitem><para>
+The file you want this filter to export to. The default is to map to 
+<filename>~/.mplayer/mplayer-af_export</filename>.
+</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><option>nsamples</option></term>
+<listitem><para>
+Number of samples per channel. The default is <literal>512</literal> samples.
+</para></listitem>
+</varlistentry>
+</variablelist>
+
+<para>
+Example:
+<screen>mplayer -af export=/tmp/mplayer-af_export:1024 media.avi</screen>
+would export 1024 samples per channel to <filename>/tmp/mplayer-af_export</filename>.
+</para>
+</sect4>
+
 </sect3>
 
 <sect3 id="audio-plugins">



More information about the MPlayer-DOCS mailing list