Commit 945cf26c authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

gst/: Use audiotestsrc instead of sinesrc (#323798).

Original commit message from CVS:
* gst/goom/gstgoom.c:
* gst/level/level-example.c: (main):
* gst/smoothwave/demo-osssrc.c: (main):
Use audiotestsrc instead of sinesrc (#323798).
parent 5a91d04e
2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
* gst/goom/gstgoom.c:
* gst/level/level-example.c: (main):
* gst/smoothwave/demo-osssrc.c: (main):
Use audiotestsrc instead of sinesrc (#323798).
2005-12-11 Stefan Kost <ensonic@users.sf.net>
* sys/oss/gstosssink.c: (gst_oss_sink_class_init):
......
......@@ -25,7 +25,7 @@
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch -v sinesrc ! goom ! ffmpegcolorspace ! xvimagesink
* gst-launch -v audiotestsrc ! goom ! ffmpegcolorspace ! xvimagesink
* </programlisting>
* </para>
* </refsect2>
......
......@@ -58,7 +58,7 @@ message_handler (GstBus * bus, GstMessage * message, gpointer data)
int
main (int argc, char *argv[])
{
GstElement *sinesrc, *audioconvert, *level, *fakesink;
GstElement *audiotestsrc, *audioconvert, *level, *fakesink;
GstElement *pipeline;
GstCaps *caps;
GstBus *bus;
......@@ -71,8 +71,8 @@ main (int argc, char *argv[])
pipeline = gst_pipeline_new (NULL);
g_assert (pipeline);
sinesrc = gst_element_factory_make ("sinesrc", NULL);
g_assert (sinesrc);
audiotestsrc = gst_element_factory_make ("audiotestsrc", NULL);
g_assert (audiotestsrc);
audioconvert = gst_element_factory_make ("audioconvert", NULL);
g_assert (audioconvert);
level = gst_element_factory_make ("level", NULL);
......@@ -80,9 +80,9 @@ main (int argc, char *argv[])
fakesink = gst_element_factory_make ("fakesink", NULL);
g_assert (fakesink);
gst_bin_add_many (GST_BIN (pipeline), sinesrc, audioconvert, level,
gst_bin_add_many (GST_BIN (pipeline), audiotestsrc, audioconvert, level,
fakesink, NULL);
g_assert (gst_element_link (sinesrc, audioconvert));
g_assert (gst_element_link (audiotestsrc, audioconvert));
g_assert (gst_element_link_filtered (audioconvert, level, caps));
g_assert (gst_element_link (level, fakesink));
......
......@@ -24,7 +24,7 @@ main (int argc, char *argv[])
bin = gst_pipeline_new ("bin");
src = gst_element_factory_make ("sinesrc", "src");
src = gst_element_factory_make ("audiotestsrc", "src");
wave = gst_element_factory_make ("smoothwave", "wave");
ximage = gst_element_factory_make (DEFAULT_VIDEOSINK, "sink");
g_return_val_if_fail (src != NULL, -1);
......
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