diff options
author | Owen Fraser-Green <owen@discobabe.net> | 2004-06-01 20:08:52 +0000 |
---|---|---|
committer | Owen Fraser-Green <owen@discobabe.net> | 2004-06-01 20:08:52 +0000 |
commit | 014fbbc3a487f387de4fa9db11833b55fc4ed064 (patch) | |
tree | 67bb699bc177075a4062617c83a48989d510f685 /gst-libs/gst/mixer/mixertrack.h | |
parent | 601f40db268c9dbb7edd3b0dd27600d19f987560 (diff) | |
download | gst-plugins-bad-014fbbc3a487f387de4fa9db11833b55fc4ed064.tar.gz gst-plugins-bad-014fbbc3a487f387de4fa9db11833b55fc4ed064.tar.bz2 gst-plugins-bad-014fbbc3a487f387de4fa9db11833b55fc4ed064.zip |
Added property accessors for mixertrack and mixeroptions.
Original commit message from CVS:
Added property accessors for mixertrack and mixeroptions.
Diffstat (limited to 'gst-libs/gst/mixer/mixertrack.h')
-rw-r--r-- | gst-libs/gst/mixer/mixertrack.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gst-libs/gst/mixer/mixertrack.h b/gst-libs/gst/mixer/mixertrack.h index 0e05d9cb..7bebf3de 100644 --- a/gst-libs/gst/mixer/mixertrack.h +++ b/gst-libs/gst/mixer/mixertrack.h @@ -67,17 +67,21 @@ typedef enum { #define GST_MIXER_TRACK_HAS_FLAG(channel, flag) \ ((channel)->flags & flag) -typedef struct _GstMixerTrack { +typedef struct _GstMixerTrack GstMixerTrack; +typedef struct _GstMixerTrackClass GstMixerTrackClass; + +struct _GstMixerTrack { GObject parent; gchar *label; + /* FIXME: flags should be guint32. Change in 0.9 */ GstMixerTrackFlags flags; gint num_channels, min_volume, max_volume; -} GstMixerTrack; +}; -typedef struct _GstMixerTrackClass { +struct _GstMixerTrackClass { GObjectClass parent; /* signals */ @@ -89,7 +93,7 @@ typedef struct _GstMixerTrackClass { gint *volumes); gpointer _gst_reserved[GST_PADDING]; -} GstMixerTrackClass; +}; GType gst_mixer_track_get_type (void); |