![]() |
![]() |
![]() |
GStreamer Buzztard Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
GstBtPropertyMeta; enum GstBtPropertyMetaFlags; gchar * gstbt_property_meta_describe_property (GstBtPropertyMeta *self
,guint property_id
,const GValue *value
); extern GQuark gstbt_property_meta_quark; extern GQuark gstbt_property_meta_quark_min_val; extern GQuark gstbt_property_meta_quark_max_val; extern GQuark gstbt_property_meta_quark_def_val; extern GQuark gstbt_property_meta_quark_no_val; extern GQuark gstbt_property_meta_quark_flags;
GstBtPropertyMeta is implemented by GstBtFluidSynth, GstBtSidSyn, GstBtSidSynV, GstBtSimSyn, GstBtWaveReplay and GstBtWaveTabSyn.
This interface standardises some additional meta-data that is attached to GObject properties.
Furthermore it adds the gstbt_property_meta_describe_property()
method that
builds a string description of a property value.
typedef enum { GSTBT_PROPERTY_META_NONE=0, GSTBT_PROPERTY_META_WAVE=1, /* parameter value references a wavetable slot */ GSTBT_PROPERTY_META_STATE=2, /* parameter is continuously changing (not used for notes and triggers) */ GSTBT_PROPERTY_META_TICK_ON_EDIT=4 /* causes the host to send you a Tick() message immediatly after the user enters a value in the pattern or machine editor */ } GstBtPropertyMetaFlags;
Parameter flags to describe their behaviour.
gchar * gstbt_property_meta_describe_property (GstBtPropertyMeta *self
,guint property_id
,const GValue *value
);
Formats the gives value as a human readable string. The method is useful to pretty print a property value to be shown in a user interface. It provides a default implementation.
|
a GObject that implements GstBtPropertyMeta |
|
the property index |
|
the current property value |
Returns : |
a string with the value in human readable form, free memory when done |
extern GQuark gstbt_property_meta_quark;
Only if this is set to TRUE, there is property meta data for this property..
extern GQuark gstbt_property_meta_quark_min_val;
Minimum property value (excluding default and no-value).
extern GQuark gstbt_property_meta_quark_max_val;
Maximum property value (excluding default and no-value).
extern GQuark gstbt_property_meta_quark_def_val;
Default property value (used initialy).
extern GQuark gstbt_property_meta_quark_no_val;
Property value (used in trigger style properties, when there is no current value)