gst/: gst/audiotestsrc/gstaudiotestsrc.c
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 4 May 2007 13:10:07 +0000 (13:10 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 4 May 2007 13:10:07 +0000 (13:10 +0000)
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
gst-libs/gst/rtp/gstbasertpaudiopayload.c
gst/adder/gstadder.c
gst/audiotestsrc/gstaudiotestsrc.c
gst/videotestsrc/gstvideotestsrc.c
gst/volume/gstvolume.c

index 55d328e..98c4e34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2007-05-04  Stefan Kost  <ensonic@users.sf.net>
+
+       * 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  <tim at centricular dot net>
 
        * tests/check/Makefile.am:
index 0136f47..abf2ec2 100644 (file)
  * <title>Usage</title>
  * <para>
  * 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
index 8845aac..fd582f2 100644 (file)
  * SECTION:element-adder
  *
  * <refsect2>
+ * <para>
  * 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.
+ * </para>
  * <title>Example launch line</title>
  * <para>
  * <programlisting>
index 4768bd3..7fed0c7 100644 (file)
  * SECTION:element-audiotestsrc
  *
  * <refsect2>
+ * <para>
  * AudioTestSrc can be used to generate basic audio signals. It support several
  * different waveforms and allows you to set the base frequency and volume.
+ * </para>
  * <title>Example launch line</title>
  * <para>
  * <programlisting>
@@ -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!
index 5d76b31..1bb3998 100644 (file)
  * SECTION:element-videotestsrc
  *
  * <refsect2>
- * <title>Example launch line</title>
  * <para>
  * 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.
  * </para>
+ * <title>Example launch line</title>
  * <para>
  * <programlisting>
  * gst-launch -v videotestsrc pattern=snow ! ximagesink
index 82e1232..a1ad3de 100644 (file)
  * SECTION:element-volume
  *
  * <refsect2>
- * <title>Example launch line</title>
  * <para>
  * The volume element changes the volume of the audio data.
  * </para>
+ * <title>Example launch line</title>
  * <para>
  * <programlisting>
  * 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
    */