2 * GStreamer SunAudio mixer track implementation
3 * Copyright (C) 2009 Sun Microsystems, Inc.,
4 * Brian Cameron <brian.cameron@sun.com>
5 * Garrett D'Amore <garrett.damore@sun.com>
7 * gstsunaudiomixeroptions.h: Sun Audio mixer options object
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 #ifndef __GST_SUNAUDIO_MIXER_OPTIONS_H__
25 #define __GST_SUNAUDIO_MIXER_OPTIONS_H__
28 #include "gstsunaudiomixer.h"
29 #include <gst/interfaces/mixeroptions.h>
35 #define GST_SUNAUDIO_MIXER_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SUNAUDIO_MIXER_OPTIONS, GstSunAudioMixerOptions))
36 #define GST_SUNAUDIO_MIXER_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SUNAUDIO_MIXER_OPTIONS, GstSunAudioMixerOptionsClass))
37 #define GST_IS_SUNAUDIO_MIXER_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SUNAUDIO_MIXER_OPTIONS))
38 #define GST_IS_SUNAUDIO_MIXER_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SUNAUDIO_MIXER_OPTIONS))
39 #define GST_TYPE_SUNAUDIO_MIXER_OPTIONS (gst_sunaudiomixer_options_get_type())
42 typedef struct _GstSunAudioMixerOptions GstSunAudioMixerOptions;
43 typedef struct _GstSunAudioMixerOptionsClass GstSunAudioMixerOptionsClass;
46 struct _GstSunAudioMixerOptions {
47 GstMixerOptions parent;
49 GQuark names[8]; /* only 8 possible */
50 gint avail; /* mask of avail */
53 struct _GstSunAudioMixerOptionsClass {
54 GstMixerOptionsClass parent;
58 GType gst_sunaudiomixer_options_get_type (void);
59 GstMixerOptions *gst_sunaudiomixer_options_new (GstSunAudioMixerCtrl *mixer, gint track_num);
65 #endif /* __GST_SUNAUDIO_MIXER_OPTIONS_H__ */