gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed, set_option, get_option...
authorMarc-Andre Lureau <marcandre.lureau@gmail.com>
Fri, 18 May 2007 15:10:08 +0000 (15:10 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 18 May 2007 15:10:08 +0000 (15:10 +0000)
Original commit message from CVS:
patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
* gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed,
set_option, get_option, _gst_reserved):
Revert reordering functions (keep ABI).

ChangeLog
gst-libs/gst/interfaces/mixer.h

index 6d01cc9..2db05ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-18  Stefan Kost  <ensonic@users.sf.net>
+
+       patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
+
+       * gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed,
+         set_option, get_option, _gst_reserved):
+         Revert reordering functions (keep ABI).
+
 2007-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
index 28c5f11..8c6bf6e 100644 (file)
@@ -57,7 +57,7 @@ struct _GstMixerClass {
   GTypeInterface klass;
 
   GstMixerType mixer_type;
-  
+
   /* virtual functions */
   const GList *  (* list_tracks)   (GstMixer      *mixer);
 
@@ -74,12 +74,6 @@ struct _GstMixerClass {
   void           (* set_record)    (GstMixer      *mixer,
                                     GstMixerTrack *track,
                                     gboolean       record);
-  void          (* set_option)     (GstMixer      *mixer,
-                                    GstMixerOptions *opts,
-                                    gchar         *value);
-  const gchar * (* get_option)     (GstMixer      *mixer,
-                                    GstMixerOptions *opts);
-
   /* signals */
   void (* mute_toggled)   (GstMixer      *mixer,
                            GstMixerTrack *channel,
@@ -95,6 +89,13 @@ struct _GstMixerClass {
                            GstMixerOptions *opts,
                            const gchar   *option);
 
+  /* FIXME 0.11: move set/get function to virtual functions part */
+  void          (* set_option)     (GstMixer      *mixer,
+                                    GstMixerOptions *opts,
+                                    gchar         *value);
+  const gchar * (* get_option)     (GstMixer      *mixer,
+                                    GstMixerOptions *opts);
+
   /*< private >*/
   gpointer _gst_reserved[GST_PADDING];
 };
@@ -128,6 +129,7 @@ void            gst_mixer_mute_toggled   (GstMixer      *mixer,
 void            gst_mixer_record_toggled (GstMixer      *mixer,
                                           GstMixerTrack *track,
                                           gboolean       record);
+
 void            gst_mixer_volume_changed (GstMixer      *mixer,
                                           GstMixerTrack *track,
                                           const gint    *volumes);