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/mixeroptions.c | |
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/mixeroptions.c')
-rw-r--r-- | gst-libs/gst/mixer/mixeroptions.c | 23 |
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) { |