Commit d9d1b4a9 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

some documentation for audioconvert

Original commit message from CVS:
some documentation for audioconvert
parent a716f40c
common @ 345fd985
Subproject commit cd4da6a319d9f92d28f7b8a3b412577e6de50b64
Subproject commit 345fd9851051274dd758a19bbe33dbb561b4d303
......@@ -21,6 +21,31 @@
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:element-audioconvert
*
* <refsect2>
* Audioconvert converts raw audio buffers between various possible formats.
* It supports integer to float conversion, widht/depth conversion,
* signedness and endianness conversion.
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch -v -m sinesrc ! audioconvert ! audio/x-raw-int,channels=2,width=8,depth=8 ! level ! fakesink silent=TRUE
* </programlisting>
* This pipeline converts audio to 8-bit. The level element shows that
* the output levels still match the one for a sine wave.
* </para>
* <para>
* <programlisting>
* gst-launch -v -m sinesrc ! audioconvert ! vorbisenc ! fakesink silent=TRUE
* </programlisting>
* The vorbis encoder takes float audio data instead of the integer data
* generated by sinesrc.
* </para>
* </refsect2>
*/
/*
* design decisions:
* - audioconvert converts buffers in a set of supported caps. If it supports
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment