mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
remove sinesrc some more
Original commit message from CVS: remove sinesrc some more
This commit is contained in:
parent
c7dc33e495
commit
9d09110b33
4 changed files with 26 additions and 36 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
|
||||
* docs/plugins/inspect/plugin-sine.xml:
|
||||
remove sinesrc some more
|
||||
|
||||
2005-11-23 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
|
||||
|
|
|
@ -103,7 +103,7 @@ GST_START_TEST (test_element_negotiation)
|
|||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
#ifdef HAVE_LIBVISUAL
|
||||
s = "sinesrc ! tee name=t ! alsasink t. ! audioconvert ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink";
|
||||
s = "audiotestsrc ! tee name=t ! alsasink t. ! audioconvert ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
@ -124,23 +124,25 @@ GST_START_TEST (test_basetransform_based)
|
|||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Test that ffmpegcolorspace can pick an output format that isn't passthrough without
|
||||
* completely specified output caps */
|
||||
s = "videotestsrc ! video/x-raw-yuv,format=(fourcc)I420,width=320,height=240 ! " "ffmpegcolorspace ! video/x-raw-rgb ! fakesink";
|
||||
/* Test that ffmpegcolorspace can pick an output format that isn't
|
||||
* passthrough without completely specified output caps */
|
||||
s = "videotestsrc ! "
|
||||
"video/x-raw-yuv,format=(fourcc)I420,width=320,height=240 ! "
|
||||
"ffmpegcolorspace ! video/x-raw-rgb ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Check that audioresample can pick a samplerate to use from a
|
||||
/* Check that audioresample can pick a samplerate to use from a
|
||||
* range that doesn't include the input */
|
||||
s = "sinesrc ! audio/x-raw-int,width=16,depth=16,rate=8000 ! audioresample ! "
|
||||
"audio/x-raw-int,rate=[16000,48000] ! fakesink";
|
||||
s = "audiotestsrc ! audio/x-raw-int,width=16,depth=16,rate=8000 ! "
|
||||
"audioresample ! audio/x-raw-int,rate=[16000,48000] ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Check that audioconvert can pick a depth to use, given a width */
|
||||
s = "sinesrc ! audio/x-raw-int,width=16,depth=16 ! audioconvert ! "
|
||||
s = "audiotestsrc ! audio/x-raw-int,width=16,depth=16 ! audioconvert ! "
|
||||
"audio/x-raw-int,width=32 ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
<plugin>
|
||||
<name>sine</name>
|
||||
<description>Sine audio wave generator</description>
|
||||
<filename>../../gst/sine/.libs/libgstsinesrc.so</filename>
|
||||
<basename>libgstsinesrc.so</basename>
|
||||
<version>0.9.5</version>
|
||||
<license>LGPL</license>
|
||||
<source>gst-plugins-base</source>
|
||||
<package>GStreamer Base Plug-ins source release</package>
|
||||
<origin>Unknown package origin</origin>
|
||||
<elements>
|
||||
<element>
|
||||
<name>sinesrc</name>
|
||||
<longname>Sine-wave src</longname>
|
||||
<class>Source/Audio</class>
|
||||
<description>Create a sine wave of a given frequency and volume</description>
|
||||
<author>Erik Walthinsen <omega@cse.ogi.edu></author>
|
||||
</element>
|
||||
</elements>
|
||||
</plugin>
|
|
@ -103,7 +103,7 @@ GST_START_TEST (test_element_negotiation)
|
|||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
#ifdef HAVE_LIBVISUAL
|
||||
s = "sinesrc ! tee name=t ! alsasink t. ! audioconvert ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink";
|
||||
s = "audiotestsrc ! tee name=t ! alsasink t. ! audioconvert ! libvisual_lv_scope ! ffmpegcolorspace ! xvimagesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
@ -124,23 +124,25 @@ GST_START_TEST (test_basetransform_based)
|
|||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Test that ffmpegcolorspace can pick an output format that isn't passthrough without
|
||||
* completely specified output caps */
|
||||
s = "videotestsrc ! video/x-raw-yuv,format=(fourcc)I420,width=320,height=240 ! " "ffmpegcolorspace ! video/x-raw-rgb ! fakesink";
|
||||
/* Test that ffmpegcolorspace can pick an output format that isn't
|
||||
* passthrough without completely specified output caps */
|
||||
s = "videotestsrc ! "
|
||||
"video/x-raw-yuv,format=(fourcc)I420,width=320,height=240 ! "
|
||||
"ffmpegcolorspace ! video/x-raw-rgb ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Check that audioresample can pick a samplerate to use from a
|
||||
/* Check that audioresample can pick a samplerate to use from a
|
||||
* range that doesn't include the input */
|
||||
s = "sinesrc ! audio/x-raw-int,width=16,depth=16,rate=8000 ! audioresample ! "
|
||||
"audio/x-raw-int,rate=[16000,48000] ! fakesink";
|
||||
s = "audiotestsrc ! audio/x-raw-int,width=16,depth=16,rate=8000 ! "
|
||||
"audioresample ! audio/x-raw-int,rate=[16000,48000] ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
GST_MESSAGE_UNKNOWN);
|
||||
|
||||
/* Check that audioconvert can pick a depth to use, given a width */
|
||||
s = "sinesrc ! audio/x-raw-int,width=16,depth=16 ! audioconvert ! "
|
||||
s = "audiotestsrc ! audio/x-raw-int,width=16,depth=16 ! audioconvert ! "
|
||||
"audio/x-raw-int,width=32 ! fakesink";
|
||||
run_pipeline (setup_pipeline (s), s,
|
||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||
|
|
Loading…
Reference in a new issue