Top | ![]() |
![]() |
![]() |
![]() |
void | gstbml_calculate_buffer_frames () |
void | gstbml_convert_names () |
void | gstbml_dispose () |
void | gstbml_fix_data () |
void | gstbml_get_param () |
void | gstbml_set_param () |
GParamSpec * | gstbml_register_param () |
void
gstbml_calculate_buffer_frames (GstBML *bml
);
update the buffersize for calculation (in samples) buffer_frames = samples_per_minute/ticks_per_minute
void gstbml_convert_names (GObjectClass *klass
,gchar *tmp_name
,gchar *tmp_desc
,gchar **name
,gchar **nick
,gchar **desc
);
Convert charset encoding and make property-names unique.
void gstbml_fix_data (GstElement *elem
,GstBuffer *buf
,gboolean has_data
);
Fixes elements that output denormalized values (sets them to 0.0). Also adjust gap-flags. unfortunately this is quite expensive, although extra gap flags help.
void gstbml_get_param (GstBMLParameterTypes type
,gpointer addr
,GValue *value
);
Read a parameter according to type
from addr
into the value
.
void gstbml_set_param (GstBMLParameterTypes type
,gpointer addr
,const GValue *value
);
Write a parameter according to type
to addr
from the value
.
GParamSpec * gstbml_register_param (GObjectClass *klass
,gint prop_id
,GstBMLParameterTypes type
,GType enum_type
,gchar *name
,gchar *nick
,gchar *desc
,gint flags
,gint min_val
,gint max_val
,gint no_val
,gint def_val
);
Normalize data and create a paramspec.
klass |
the instance class |
|
prop_id |
the property number |
|
type |
the parameter type |
|
enum_type |
the enum type (or 0) |
|
name |
the property name |
|
nick |
the property nick |
|
desc |
the property description |
|
flags |
extra property flags |
|
min_val |
minimum value |
|
max_val |
maximum value |
|
no_val |
unset value (neutral) |
|
def_val |
default value |