~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty

« back to all changes in this revision

Viewing changes to gst/gstcontrolbinding.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-08-08 18:12:33 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120808181233-riejwxprfsxh1njl
Tags: 0.11.93-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 
50
50
/**
51
51
 * GstControlBindingConvert:
52
 
 * @self: the #GstControlBinding instance
 
52
 * @binding: the #GstControlBinding instance
53
53
 * @src_value: the value returned by the cotnrol source
54
54
 * @dest_value: the target GValue
55
55
 *
56
56
 * Function to map a control-value to the target GValue.
57
57
 */
58
 
typedef void (* GstControlBindingConvert) (GstControlBinding *self, gdouble src_value, GValue *dest_value);
 
58
typedef void (* GstControlBindingConvert) (GstControlBinding *binding, gdouble src_value, GValue *dest_value);
59
59
 
60
60
/**
61
61
 * GstControlBinding:
91
91
  GstObjectClass parent_class;
92
92
 
93
93
  /* virtual methods */
94
 
  gboolean (* sync_values) (GstControlBinding *self, GstObject *object, GstClockTime timestamp, GstClockTime last_sync);
95
 
  GValue * (* get_value) (GstControlBinding *self, GstClockTime timestamp);
96
 
  gboolean (* get_value_array) (GstControlBinding *self, GstClockTime timestamp,GstClockTime interval, guint n_values, gpointer values);
97
 
  gboolean (* get_g_value_array) (GstControlBinding *self, GstClockTime timestamp,GstClockTime interval, guint n_values, GValue *values);
 
94
  gboolean (* sync_values) (GstControlBinding *binding, GstObject *object, GstClockTime timestamp, GstClockTime last_sync);
 
95
  GValue * (* get_value) (GstControlBinding *binding, GstClockTime timestamp);
 
96
  gboolean (* get_value_array) (GstControlBinding *binding, GstClockTime timestamp,GstClockTime interval, guint n_values, gpointer values);
 
97
  gboolean (* get_g_value_array) (GstControlBinding *binding, GstClockTime timestamp,GstClockTime interval, guint n_values, GValue *values);
98
98
 
99
99
  /*< private >*/
100
100
  gpointer _gst_reserved[GST_PADDING];
106
106
 
107
107
/* Functions */
108
108
 
109
 
gboolean            gst_control_binding_sync_values        (GstControlBinding * self, GstObject *object, 
 
109
gboolean            gst_control_binding_sync_values        (GstControlBinding * binding, GstObject *object,
110
110
                                                            GstClockTime timestamp, GstClockTime last_sync);
111
111
GValue *            gst_control_binding_get_value          (GstControlBinding *binding,
112
112
                                                            GstClockTime timestamp);
115
115
gboolean            gst_control_binding_get_g_value_array  (GstControlBinding *binding, GstClockTime timestamp,
116
116
                                                            GstClockTime interval, guint n_values, GValue *values);
117
117
 
118
 
void                gst_control_binding_set_disabled       (GstControlBinding * self, gboolean disabled);
119
 
gboolean            gst_control_binding_is_disabled        (GstControlBinding * self);
 
118
void                gst_control_binding_set_disabled       (GstControlBinding * binding, gboolean disabled);
 
119
gboolean            gst_control_binding_is_disabled        (GstControlBinding * binding);
120
120
G_END_DECLS
121
121
 
122
122
#endif /* __GST_CONTROL_BINDING_H__ */