diff options
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r-- | sys/oss/gstosssink.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index 43fc167a..c508140c 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -22,32 +22,23 @@ /** * SECTION:element-osssink - * @short_description: output sound using OSS * - * <refsect2> - * <para> * This element lets you output sound using the Open Sound System (OSS). - * </para> - * <para> + * * Note that you should almost always use generic audio conversion elements * like audioconvert and audioresample in front of an audiosink to make sure * your pipeline works under all circumstances (those conversion elements will * act in passthrough-mode if no conversion is necessary). - * </para> + * + * <refsect2> * <title>Example pipelines</title> - * <para> - * <programlisting> + * |[ * gst-launch -v audiotestsrc ! audioconvert ! volume volume=0.1 ! osssink - * </programlisting> - * will output a sine wave (continuous beep sound) to your sound card (with + * ]| will output a sine wave (continuous beep sound) to your sound card (with * a very low volume as precaution). - * </para> - * <para> - * <programlisting> + * |[ * gst-launch -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! osssink - * </programlisting> - * will play an Ogg/Vorbis audio file and output it using the Open Sound System. - * </para> + * ]| will play an Ogg/Vorbis audio file and output it using the Open Sound System. * </refsect2> */ @@ -197,6 +188,7 @@ gst_oss_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&osssink_sink_factory)); } + static void gst_oss_sink_class_init (GstOssSinkClass * klass) { |