diff options
Diffstat (limited to 'ext/vorbis/vorbisenc.c')
-rw-r--r-- | ext/vorbis/vorbisenc.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index f5dbe206..e562eb15 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -19,30 +19,22 @@ /** * SECTION:element-vorbisenc - * @short_description: an encoder that encodes audio to Vorbis * @see_also: vorbisdec, oggmux * - * <refsect2> - * <para> * This element encodes raw float audio into a Vorbis stream. * <ulink url="http://www.vorbis.com/">Vorbis</ulink> is a royalty-free * audio codec maintained by the <ulink url="http://www.xiph.org/">Xiph.org * Foundation</ulink>. - * </para> + * + * <refsect2> * <title>Example pipelines</title> - * <para> - * Encode a test sine signal to Ogg/Vorbis. Note that the resulting file - * will be really small because a sine signal compresses very well. - * </para> - * <programlisting> + * |[ * gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! vorbisenc ! oggmux ! filesink location=sine.ogg - * </programlisting> - * <para> - * Record from a sound card using ALSA and encode to Ogg/Vorbis. - * </para> - * <programlisting> + * ]| Encode a test sine signal to Ogg/Vorbis. Note that the resulting file + * will be really small because a sine signal compresses very well. + * |[ * gst-launch -v alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg - * </programlisting> + * ]| Record from a sound card using ALSA and encode to Ogg/Vorbis. * </refsect2> * * Last reviewed on 2006-03-01 (0.10.4) |