2 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
4 * mixeroptions.h: mixer track options object
5 * This should be a subclass of MixerItem, along with MixerOptions,
6 * but that's not possible because of API/ABI in 0.8.x. FIXME.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef __GST_MIXER_OPTIONS_H__
25 #define __GST_MIXER_OPTIONS_H__
28 #include <gst/interfaces/mixertrack.h>
32 #define GST_TYPE_MIXER_OPTIONS \
33 (gst_mixer_options_get_type ())
34 #define GST_MIXER_OPTIONS(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MIXER_OPTIONS, \
37 #define GST_MIXER_OPTIONS_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MIXER_OPTIONS, \
39 GstMixerOptionsClass))
40 #define GST_IS_MIXER_OPTIONS(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MIXER_OPTIONS))
42 #define GST_IS_MIXER_OPTIONS_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MIXER_OPTIONS))
45 typedef struct _GstMixerOptions GstMixerOptions;
46 typedef struct _GstMixerOptionsClass GstMixerOptionsClass;
48 struct _GstMixerOptions {
54 gpointer _gst_reserved[GST_PADDING];
57 struct _GstMixerOptionsClass {
58 GstMixerTrackClass parent;
61 void (* option_changed) (GstMixerOptions *opts,
64 gpointer _gst_reserved[GST_PADDING];
67 GType gst_mixer_options_get_type (void);
69 GList * gst_mixer_options_get_values (GstMixerOptions *mixer_options);
73 #endif /* __GST_MIXER_OPTIONS_H__ */