Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / sys / sunaudio / gstsunaudiomixeroptions.h
1 /*
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>
6  *
7  * gstsunaudiomixeroptions.h: Sun Audio mixer options object
8  *
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.
13  *
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.
18  *
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,
22  */
23
24 #ifndef __GST_SUNAUDIO_MIXER_OPTIONS_H__
25 #define __GST_SUNAUDIO_MIXER_OPTIONS_H__
26
27
28 #include "gstsunaudiomixer.h"
29 #include <gst/interfaces/mixeroptions.h>
30
31
32 G_BEGIN_DECLS
33
34
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())
40
41
42 typedef struct _GstSunAudioMixerOptions GstSunAudioMixerOptions;
43 typedef struct _GstSunAudioMixerOptionsClass GstSunAudioMixerOptionsClass;
44
45
46 struct _GstSunAudioMixerOptions {
47   GstMixerOptions        parent;
48   gint                  track_num;
49   GQuark                names[8];       /* only 8 possible */
50   gint                  avail;          /* mask of avail */
51 };
52
53 struct _GstSunAudioMixerOptionsClass {
54   GstMixerOptionsClass parent;
55 };
56
57
58 GType           gst_sunaudiomixer_options_get_type (void);
59 GstMixerOptions *gst_sunaudiomixer_options_new     (GstSunAudioMixerCtrl *mixer, gint track_num);
60
61
62 G_END_DECLS
63
64
65 #endif /* __GST_SUNAUDIO_MIXER_OPTIONS_H__ */