Debian Codegraph @

gstreamer/src/audiotestsrc.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/basesrc.h>
5 _DEFS(gstreamermm,gst)
6
7 _CONFIGINCLUDE(gstreamermmconfig.h)
8 _IS_DEPRECATED
9
10 namespace Gst
11 {
12
13 _WRAP_ENUM(AudioTestSrcWave,GstAudioTestSrcWave)
14 _CONV_ENUM(Gst,AudioTestSrcWave)
15
16 /** A Wrapper for the audiotestsrc plugin.
17 * Please note that not all plug-ins are available on all systems so care
18 * must be taken that they exist before they are used otherwise there will
19 * be errors and possibly a crash.
20 *
21 * @ingroup GstPlugins
22 * @deprecated Plugins API is deprecated, and should not be used in a new code.
23 */
24 class AudioTestSrc
25 : public Gst::BaseSrc
26 {
27 _CLASS_GOBJECT(AudioTestSrc, GstAudioTestSrc, GST_AUDIO_TEST_SRC_GSTREAMERMM, Gst::BaseSrc, GstBaseSrc)
28 _IS_GSTREAMERMM_PLUGIN
29 protected:
30 AudioTestSrc();
31 explicit AudioTestSrc(const Glib::ustring& name);
32
33 public:
34 /** Creates a new audiotestsrc plugin with a unique name.
35 */
36 _WRAP_CREATE()
37
38 /** Creates a new audiotestsrc plugin with the given name.
39 */
40 _WRAP_CREATE(const Glib::ustring& name)
41
42 _WRAP_PROPERTY("samplesperbuffer", int)
43 _WRAP_PROPERTY("wave", Gst::AudioTestSrcWave)
44 _WRAP_PROPERTY("freq", double)
45 _WRAP_PROPERTY("volume", double)
46 _WRAP_PROPERTY("is-live", bool)
47 _WRAP_PROPERTY("timestamp-offset", gint64)
48 _WRAP_PROPERTY("can-activate-push", bool)
49 _WRAP_PROPERTY("can-activate-pull", bool)
50 };
51
52 } // namespace Gst