From 014fbbc3a487f387de4fa9db11833b55fc4ed064 Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Tue, 1 Jun 2004 20:08:52 +0000 Subject: Added property accessors for mixertrack and mixeroptions. Original commit message from CVS: Added property accessors for mixertrack and mixeroptions. --- gst-libs/gst/mixer/mixertrack.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gst-libs/gst/mixer/mixertrack.h') 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); -- cgit v1.2.1