From 945cf26c5ac336b2383dd57fc42dc0850e805db9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 11 Dec 2005 19:25:41 +0000 Subject: [PATCH] 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). --- ChangeLog | 7 +++++++ gst/goom/gstgoom.c | 2 +- gst/level/level-example.c | 10 +++++----- gst/smoothwave/demo-osssrc.c | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4e8b9d..20c41d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-12-11 Tim-Philipp Müller + + * 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 * sys/oss/gstosssink.c: (gst_oss_sink_class_init): diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 5e7bd8c..fcee47f 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -25,7 +25,7 @@ * Example launch line * * - * gst-launch -v sinesrc ! goom ! ffmpegcolorspace ! xvimagesink + * gst-launch -v audiotestsrc ! goom ! ffmpegcolorspace ! xvimagesink * * * diff --git a/gst/level/level-example.c b/gst/level/level-example.c index 3333a8c..96c0cbd 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 9c55a3b..5df52ab 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); -- 2.7.4