Debian Codegraph @

gstreamer/src/audiotestsrc.ccg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 _PINCLUDE(gstreamermm/private/basesrc_p.h)
5
6 extern "C"
7 {
8
9 static GType gst_audio_test_src_wave_get_type()
10 {
11 static GType const type = g_type_from_name("GstAudioTestSrcWave");
12 return type;
13 }
14
15 GType gst_audio_test_src_gstreamermm_get_type()
16 {
17 static GType type = 0;
18 GstElementFactory* factory = 0;
19 GstPluginFeature* feature = 0;
20
21 if(!type)
22 {
23 factory = gst_element_factory_find("audiotestsrc");
24 // Make sure that the feature is actually loaded:
25 if(factory)
26 {
27 feature =
28 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
29
30 g_object_unref(factory);
31 factory = GST_ELEMENT_FACTORY(feature);
32 type = gst_element_factory_get_element_type(factory);
33 g_object_unref(factory);
34 }
35 }
36
37 return type;
38 }
39
40 } // extern "C"
41
42 namespace Gst
43 {
44
45 AudioTestSrc::AudioTestSrc()
46 : _CONSTRUCT("name", static_cast<char*>(0))
47 {}
48
49 AudioTestSrc::AudioTestSrc(const Glib::ustring& name)
50 : _CONSTRUCT("name", name.c_str())
51 {}
52
53 }