From aa454b53833de6ca5d3b079a4f3d467430434b89 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 23 Nov 2005 15:36:58 +0000 Subject: [PATCH] remove sinesrc some more Original commit message from CVS: remove sinesrc some more --- .../gst-plugins-base-plugins-docs.sgml | 1 - docs/plugins/gst-plugins-base-plugins.args | 70 ------------------- ext/vorbis/vorbisenc.c | 2 +- gst/audioconvert/gstaudioconvert.c | 6 +- gst/volume/demo.c | 2 +- gst/volume/gstvolume.c | 4 +- 6 files changed, 7 insertions(+), 78 deletions(-) diff --git a/docs/plugins/gst-plugins-base-plugins-docs.sgml b/docs/plugins/gst-plugins-base-plugins-docs.sgml index bfd7bc72db..fd1bc7491e 100644 --- a/docs/plugins/gst-plugins-base-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-base-plugins-docs.sgml @@ -38,7 +38,6 @@ - diff --git a/docs/plugins/gst-plugins-base-plugins.args b/docs/plugins/gst-plugins-base-plugins.args index 03bd71eef5..6e98f45408 100644 --- a/docs/plugins/gst-plugins-base-plugins.args +++ b/docs/plugins/gst-plugins-base-plugins.args @@ -488,76 +488,6 @@ 0 - -GstSineSrc::freq -gdouble -[0,20000] -rw -Frequency -Frequency of sine source. -440 - - - -GstSineSrc::samplesperbuffer -gint ->= 1 -rw -Samples per buffer -Number of samples in each outgoing buffer. -1024 - - - -GstSineSrc::sync -gboolean - -rw -Sync -Synchronize to clock. -FALSE - - - -GstSineSrc::tablesize -gint ->= 1 -rw -tablesize -tablesize. -1024 - - - -GstSineSrc::timestamp-offset -gint64 - -rw -Timestamp offset -An offset added to timestamps set on buffers (in ns). -0 - - - -GstSineSrc::volume -gdouble -[0,1] -rw -Volume -Volume. -0.8 - - - -GstSineSrc::is-live -gboolean - -rw -Is Live -Whether to act as a live source. -FALSE - - GstDecodeBin::threaded gboolean diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index 0ddb1eb17c..0013f37108 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -34,7 +34,7 @@ * will be really small because a sine signal compresses very well. * * - * gst-launch -v sinesrc num-buffers=100 ! audioconvert ! vorbisenc ! oggmux ! filesink location=sinesrc.ogg + * gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! vorbisenc ! oggmux ! filesink location=sine.ogg * * * Record from a sound card using ALSA and encode to Ogg/Vorbis. diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 26b7120646..303fa884c8 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -31,17 +31,17 @@ * Example launch line * * - * gst-launch -v -m sinesrc ! audioconvert ! audio/x-raw-int,channels=2,width=8,depth=8 ! level ! fakesink silent=TRUE + * gst-launch -v -m audiotestsrc ! audioconvert ! audio/x-raw-int,channels=2,width=8,depth=8 ! level ! fakesink silent=TRUE * * This pipeline converts audio to 8-bit. The level element shows that * the output levels still match the one for a sine wave. * * * - * gst-launch -v -m sinesrc ! audioconvert ! vorbisenc ! fakesink silent=TRUE + * gst-launch -v -m audiotestsrc ! audioconvert ! vorbisenc ! fakesink silent=TRUE * * The vorbis encoder takes float audio data instead of the integer data - * generated by sinesrc. + * generated by audiotestsrc. * * */ diff --git a/gst/volume/demo.c b/gst/volume/demo.c index ebcbadae57..802c21cb16 100644 --- a/gst/volume/demo.c +++ b/gst/volume/demo.c @@ -100,7 +100,7 @@ main (int argc, char *argv[]) if (error) { g_print ("pipeline could not be constructed: %s\n", error->message); g_print ("Please give a complete pipeline with a 'volume' element.\n"); - g_print ("Example: sinesrc ! volume ! %s\n", DEFAULT_AUDIOSINK); + g_print ("Example: audiotestsrc ! volume ! %s\n", DEFAULT_AUDIOSINK); g_error_free (error); return 1; } diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index bde880d385..78e683c13f 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -28,9 +28,9 @@ * Example launch line * * - * gst-launch -v -m sinesrc ! volume volume=0.5 ! level ! fakesink silent=TRUE + * gst-launch -v -m audiotestsrc ! volume volume=0.5 ! level ! fakesink silent=TRUE * - * This pipeline shows that the level of sinesrc has been halved + * This pipeline shows that the level of audiotestsrc has been halved * (peak values are around -6 dB and RMS around -9 dB) compared to * the same pipeline without the volume element. *