From 64a9674bd2e6ccd8b21c8d396d9c624e3100c6f0 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 4 May 2007 13:10:07 +0000 Subject: [PATCH] gst/: gst/audiotestsrc/gstaudiotestsrc.c Original commit message from CVS: * gst-libs/gst/rtp/gstbasertpaudiopayload.c: * gst/adder/gstadder.c: * gst/audiotestsrc/gstaudiotestsrc.c (gst_audio_test_src_create_white_noise): * gst/videotestsrc/gstvideotestsrc.c: * gst/volume/gstvolume.c (VOLUME_UNITY_INT16, VOLUME_UNITY_INT16_BIT_SHIFT, VOLUME_MAX_DOUBLE, volume_sink_template, volume_src_template, gst_volume_init, volume_process_double, volume_process_int16, volume_process_int16_clamp): Doc fixes and formatting. --- ChangeLog | 14 ++++++++++++++ gst-libs/gst/rtp/gstbasertpaudiopayload.c | 8 ++++---- gst/adder/gstadder.c | 2 ++ gst/audiotestsrc/gstaudiotestsrc.c | 4 +++- gst/videotestsrc/gstvideotestsrc.c | 2 +- gst/volume/gstvolume.c | 10 +++++----- 6 files changed, 29 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55d328e..98c4e34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2007-05-04 Stefan Kost + + * gst-libs/gst/rtp/gstbasertpaudiopayload.c: + * gst/adder/gstadder.c: + * gst/audiotestsrc/gstaudiotestsrc.c + (gst_audio_test_src_create_white_noise): + * gst/videotestsrc/gstvideotestsrc.c: + * gst/volume/gstvolume.c (VOLUME_UNITY_INT16, + VOLUME_UNITY_INT16_BIT_SHIFT, VOLUME_MAX_DOUBLE, + volume_sink_template, volume_src_template, gst_volume_init, + volume_process_double, volume_process_int16, + volume_process_int16_clamp): + Doc fixes and formatting. + 2007-05-04 Tim-Philipp Müller * tests/check/Makefile.am: diff --git a/gst-libs/gst/rtp/gstbasertpaudiopayload.c b/gst-libs/gst/rtp/gstbasertpaudiopayload.c index 0136f47..abf2ec2 100644 --- a/gst-libs/gst/rtp/gstbasertpaudiopayload.c +++ b/gst-libs/gst/rtp/gstbasertpaudiopayload.c @@ -42,11 +42,11 @@ * Usage * * To use this base class, your child element needs to call either - * gst_basertpaudiopayload_set_frame_based() or - * gst_basertpaudiopayload_set_sample_based(). This is usually done in the + * gst_base_rtp_audio_payload_set_frame_based() or + * gst_base_rtp_audio_payload_set_sample_based(). This is usually done in the * element's _init() function. Then, the child element must call either - * gst_basertpaudiopayload_set_frame_options() or - * gst_basertpaudiopayload_set_sample_options(). Since GstBaseRTPAudioPayload + * gst_base_rtp_audio_payload_set_frame_options() or + * gst_base_rtp_audio_payload_set_sample_options(). Since GstBaseRTPAudioPayload * derives from GstBaseRTPPayload, the child element must set any variables or * call/override any functions required by that base class. The child element * does not need to override any other functions specific to diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 8845aac..fd582f2 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -24,8 +24,10 @@ * SECTION:element-adder * * + * * The Adder allows to mix several streams into one by adding the data. * Mixed data is clamped to the min/max values of the data format. + * * Example launch line * * diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index 4768bd3..7fed0c7 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -20,8 +20,10 @@ * SECTION:element-audiotestsrc * * + * * AudioTestSrc can be used to generate basic audio signals. It support several * different waveforms and allows you to set the base frequency and volume. + * * Example launch line * * @@ -408,7 +410,7 @@ gst_audio_test_src_create_white_noise (GstAudioTestSrc * src, gint16 * samples) } } -/* pink noise calculation is based on +/* pink noise calculation is based on * http://www.firstpr.com.au/dsp/pink-noise/phil_burk_19990905_patest_pink.c * which has been released under public domain * Many thanks Phil! diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 5d76b31..1bb3998 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -22,12 +22,12 @@ * SECTION:element-videotestsrc * * - * Example launch line * * The videotestsrc element is used to produce test video data in a wide variaty * of formats. The video test data produced can be controlled with the "pattern" * property. * + * Example launch line * * * gst-launch -v videotestsrc pattern=snow ! ximagesink diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 82e1232..a1ad3de 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -25,10 +25,10 @@ * SECTION:element-volume * * - * Example launch line * * The volume element changes the volume of the audio data. * + * Example launch line * * * gst-launch -v -m audiotestsrc ! volume volume=0.5 ! level ! fakesink silent=TRUE @@ -127,12 +127,12 @@ static void gst_volume_mixer_init (GstMixerClass * iface); #define _init_interfaces(type) \ { \ - static const GInterfaceInfo voliface_info = { \ + static const GInterfaceInfo voliface_info = { \ (GInterfaceInitFunc) gst_volume_interface_init, \ NULL, \ NULL \ }; \ - static const GInterfaceInfo volmixer_info = { \ + static const GInterfaceInfo volmixer_info = { \ (GInterfaceInitFunc) gst_volume_mixer_init, \ NULL, \ NULL \ @@ -417,7 +417,7 @@ volume_process_int16 (GstVolume * this, gpointer bytes, guint n_bytes) num_samples = n_bytes / sizeof (gint16); - /* FIXME: need... liboil... + /* FIXME: need... liboil... * oil_scalarmultiply_s16_ns ? * https://bugs.freedesktop.org/show_bug.cgi?id=7060 */ @@ -438,7 +438,7 @@ volume_process_int16_clamp (GstVolume * this, gpointer bytes, guint n_bytes) num_samples = n_bytes / sizeof (gint16); - /* FIXME: need... liboil... + /* FIXME: need... liboil... * oil_scalarmultiply_s16_ns ? * https://bugs.freedesktop.org/show_bug.cgi?id=7060 */ -- 2.7.4