Debian Codegraph @

gstreamer/src/audioconvert.ccg

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