remove sinesrc some more

Original commit message from CVS:
remove sinesrc some more
This commit is contained in:
Thomas Vander Stichele 2005-11-23 15:36:58 +00:00
parent 9d09110b33
commit aa454b5383
6 changed files with 7 additions and 78 deletions

View file

@ -38,7 +38,6 @@
<xi:include href="xml/plugin-libvisual.xml" />
<xi:include href="xml/plugin-ogg.xml" />
<xi:include href="xml/plugin-playbin.xml" />
<xi:include href="xml/plugin-sine.xml" />
<xi:include href="xml/plugin-subparse.xml" />
<xi:include href="xml/plugin-tcp.xml" />
<xi:include href="xml/plugin-theora.xml" />

View file

@ -488,76 +488,6 @@
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::freq</NAME>
<TYPE>gdouble</TYPE>
<RANGE>[0,20000]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Frequency</NICK>
<BLURB>Frequency of sine source.</BLURB>
<DEFAULT>440</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::samplesperbuffer</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Samples per buffer</NICK>
<BLURB>Number of samples in each outgoing buffer.</BLURB>
<DEFAULT>1024</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::sync</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Sync</NICK>
<BLURB>Synchronize to clock.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::tablesize</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>tablesize</NICK>
<BLURB>tablesize.</BLURB>
<DEFAULT>1024</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::timestamp-offset</NAME>
<TYPE>gint64</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Timestamp offset</NICK>
<BLURB>An offset added to timestamps set on buffers (in ns).</BLURB>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::volume</NAME>
<TYPE>gdouble</TYPE>
<RANGE>[0,1]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Volume</NICK>
<BLURB>Volume.</BLURB>
<DEFAULT>0.8</DEFAULT>
</ARG>
<ARG>
<NAME>GstSineSrc::is-live</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Is Live</NICK>
<BLURB>Whether to act as a live source.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstDecodeBin::threaded</NAME>
<TYPE>gboolean</TYPE>

View file

@ -34,7 +34,7 @@
* will be really small because a sine signal compresses very well.
* </para>
* <programlisting>
* 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
* </programlisting>
* <para>
* Record from a sound card using ALSA and encode to Ogg/Vorbis.

View file

@ -31,17 +31,17 @@
* <title>Example launch line</title>
* <para>
* <programlisting>
* 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
* </programlisting>
* This pipeline converts audio to 8-bit. The level element shows that
* the output levels still match the one for a sine wave.
* </para>
* <para>
* <programlisting>
* gst-launch -v -m sinesrc ! audioconvert ! vorbisenc ! fakesink silent=TRUE
* gst-launch -v -m audiotestsrc ! audioconvert ! vorbisenc ! fakesink silent=TRUE
* </programlisting>
* The vorbis encoder takes float audio data instead of the integer data
* generated by sinesrc.
* generated by audiotestsrc.
* </para>
* </refsect2>
*/

View file

@ -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;
}

View file

@ -28,9 +28,9 @@
* <title>Example launch line</title>
* <para>
* <programlisting>
* 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
* </programlisting>
* 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.
* </para>