summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/mixer/mixeroptions.c
diff options
context:
space:
mode:
authorOwen Fraser-Green <owen@discobabe.net>2004-06-01 20:08:52 +0000
committerOwen Fraser-Green <owen@discobabe.net>2004-06-01 20:08:52 +0000
commit014fbbc3a487f387de4fa9db11833b55fc4ed064 (patch)
tree67bb699bc177075a4062617c83a48989d510f685 /gst-libs/gst/mixer/mixeroptions.c
parent601f40db268c9dbb7edd3b0dd27600d19f987560 (diff)
downloadgst-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/mixeroptions.c')
-rw-r--r--gst-libs/gst/mixer/mixeroptions.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/gst-libs/gst/mixer/mixeroptions.c b/gst-libs/gst/mixer/mixeroptions.c
index 5e79a414..35d8ceba 100644
--- a/gst-libs/gst/mixer/mixeroptions.c
+++ b/gst-libs/gst/mixer/mixeroptions.c
@@ -84,11 +84,30 @@ gst_mixer_options_class_init (GstMixerOptionsClass * klass)
}
static void
-gst_mixer_options_init (GstMixerOptions * channel)
+gst_mixer_options_init (GstMixerOptions * mixer_options)
{
- channel->values = NULL;
+ mixer_options->values = NULL;
}
+/**
+ * gst_mixer_options_get_values:
+ * @mixer_optnios: The #GstMixerOptions item that owns the values.
+ *
+ * Get the values for the mixer option.
+ *
+ * Returns: A list of all the possible values for the mixer option.
+ */
+
+GList *
+gst_mixer_options_get_values (GstMixerOptions * mixer_options)
+{
+ if (!mixer_options->values)
+ return NULL;
+
+ return (GList *) mixer_options->values;
+}
+
+
static void
gst_mixer_options_dispose (GObject * object)
{