Commit 64a9674b authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent 9de5f965
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:
......@@ -42,11 +42,11 @@
* <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
......
......@@ -24,8 +24,10 @@
* 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>
......
......@@ -20,8 +20,10 @@
* 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!
......
......@@ -22,12 +22,12 @@
* 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
......
......@@ -25,10 +25,10 @@
* 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
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment