From 9cf73bdd8f18505269fa4b6d1d80127945e735b1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 28 Jan 2009 17:46:06 +0200 Subject: Update and add documentation for plugins with deps (ext). Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out. --- ext/pulse/pulsemixer.c | 6 ++---- ext/pulse/pulsesink.c | 22 +++++++--------------- ext/pulse/pulsesrc.c | 14 +++++--------- 3 files changed, 14 insertions(+), 28 deletions(-) (limited to 'ext/pulse') diff --git a/ext/pulse/pulsemixer.c b/ext/pulse/pulsemixer.c index 3a0de9da..5ced971b 100644 --- a/ext/pulse/pulsemixer.c +++ b/ext/pulse/pulsemixer.c @@ -21,16 +21,14 @@ /** * SECTION:element-pulsemixer - * @short_description: Element to control sound input and output levels for the PulseAudio sound server * @see_also: pulsesrc, pulsesink * - * - * * This element lets you adjust sound input and output levels for the * PulseAudio sound server. It supports the GstMixer interface, which can be * used to obtain a list of available mixer tracks. Set the mixer element to * READY state before using the GstMixer interface on it. - * + * + * * Example pipelines * * pulsemixer can't be used in a sensible way in gst-launch. diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index df774990..b41dba50 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -21,28 +21,20 @@ /** * SECTION:element-pulsesink - * @short_description: Output audio to a PulseAudio sound server * @see_also: pulsesrc, pulsemixer * + * This element outputs audio to a + * PulseAudio sound server. + * * - * - * This element outputs audio to a PulseAudio sound server. - * * Example pipelines - * - * + * |[ * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! pulsesink - * - * Play an Ogg/Vorbis file. - * - * - * + * ]| Play an Ogg/Vorbis file. + * |[ * gst-launch -v audiotestsrc ! audioconvert ! volume volume=0.4 ! pulsesink - * - * Play a 440Hz sine wave. - * + * ]| Play a 440Hz sine wave. * - * */ #ifdef HAVE_CONFIG_H diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c index 0e1ca20e..08fec595 100644 --- a/ext/pulse/pulsesrc.c +++ b/ext/pulse/pulsesrc.c @@ -21,20 +21,16 @@ /** * SECTION:element-pulsesrc - * @short_description: Capture audio from a PulseAudio sound server * @see_also: pulsesink, pulsemixer * + * This element captures audio from a + * PulseAudio sound server. + * * - * - * This element captures audio from a PulseAudio sound server. - * * Example pipelines - * - * + * |[ * gst-launch -v pulsesrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg - * - * Record from a sound card using ALSA and encode to Ogg/Vorbis. - * + * ]| Record from a sound card using ALSA and encode to Ogg/Vorbis. * */ -- cgit