mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
gst/equalizer/: Activate preset iface and upload two presets here.
Original commit message from CVS: * gst/equalizer/gstiirequalizer10bands.c: * gst/equalizer/gstiirequalizer3bands.c: Activate preset iface and upload two presets here.
This commit is contained in:
parent
d31b6078fb
commit
a759157746
2 changed files with 22 additions and 4 deletions
|
@ -66,8 +66,17 @@ static void gst_iir_equalizer_10bands_get_property (GObject * object,
|
||||||
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
|
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
|
||||||
#define GST_CAT_DEFAULT equalizer_debug
|
#define GST_CAT_DEFAULT equalizer_debug
|
||||||
|
|
||||||
GST_BOILERPLATE (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
|
#define _do_init(bla) { \
|
||||||
GstIirEqualizer, GST_TYPE_IIR_EQUALIZER);
|
const GInterfaceInfo preset_interface_info = { \
|
||||||
|
NULL, /* interface_init */ \
|
||||||
|
NULL, /* interface_finalize */ \
|
||||||
|
NULL /* interface_data */ \
|
||||||
|
}; \
|
||||||
|
g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_BOILERPLATE_FULL (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
|
||||||
|
GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
|
||||||
|
|
||||||
/* equalizer implementation */
|
/* equalizer implementation */
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,17 @@ static void gst_iir_equalizer_3bands_get_property (GObject * object,
|
||||||
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
|
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
|
||||||
#define GST_CAT_DEFAULT equalizer_debug
|
#define GST_CAT_DEFAULT equalizer_debug
|
||||||
|
|
||||||
GST_BOILERPLATE (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
|
#define _do_init(bla) { \
|
||||||
GstIirEqualizer, GST_TYPE_IIR_EQUALIZER);
|
const GInterfaceInfo preset_interface_info = { \
|
||||||
|
NULL, /* interface_init */ \
|
||||||
|
NULL, /* interface_finalize */ \
|
||||||
|
NULL /* interface_data */ \
|
||||||
|
}; \
|
||||||
|
g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_BOILERPLATE_FULL (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
|
||||||
|
GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
|
||||||
|
|
||||||
/* equalizer implementation */
|
/* equalizer implementation */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue