summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-12-11 19:25:41 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-12-11 19:25:41 +0000
commit945cf26c5ac336b2383dd57fc42dc0850e805db9 (patch)
tree4d81505f6159687c225478c321f26e2142596094 /gst
parent5a91d04ed4771c7336bf2c55567818502360c835 (diff)
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).
Diffstat (limited to 'gst')
-rw-r--r--gst/goom/gstgoom.c2
-rw-r--r--gst/level/level-example.c10
-rw-r--r--gst/smoothwave/demo-osssrc.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c
index 5e7bd8c5..fcee47f6 100644
--- a/gst/goom/gstgoom.c
+++ b/gst/goom/gstgoom.c
@@ -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>
diff --git a/gst/level/level-example.c b/gst/level/level-example.c
index 3333a8c8..96c0cbd2 100644
--- a/gst/level/level-example.c
+++ b/gst/level/level-example.c
@@ -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));
diff --git a/gst/smoothwave/demo-osssrc.c b/gst/smoothwave/demo-osssrc.c
index 9c55a3b3..5df52abc 100644
--- a/gst/smoothwave/demo-osssrc.c
+++ b/gst/smoothwave/demo-osssrc.c
@@ -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);