Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / ext / pulse / pulsemixertrack.h
1 /*
2  *  GStreamer pulseaudio plugin
3  *
4  *  Copyright (c) 2004-2008 Lennart Poettering
5  *
6  *  gst-pulse is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU Lesser General Public License as
8  *  published by the Free Software Foundation; either version 2.1 of the
9  *  License, or (at your option) any later version.
10  *
11  *  gst-pulse is distributed in the hope that it will be useful, but
12  *  WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  *  Lesser General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Lesser General Public
17  *  License along with gst-pulse; if not, write to the Free Software
18  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  *  USA.
20  */
21
22 #ifndef __GST_PULSEMIXERTRACK_H__
23 #define __GST_PULSEMIXERTRACK_H__
24
25 #include <gst/gst.h>
26
27 #include "pulsemixerctrl.h"
28
29 G_BEGIN_DECLS
30
31 #define GST_TYPE_PULSEMIXER_TRACK \
32   (gst_pulsemixer_track_get_type())
33 #define GST_PULSEMIXER_TRACK(obj) \
34   (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_PULSEMIXER_TRACK, GstPulseMixerTrack))
35 #define GST_PULSEMIXER_TRACK_CLASS(klass) \
36   (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_PULSEMIXER_TRACK, GstPulseMixerTrackClass))
37 #define GST_IS_PULSEMIXER_TRACK(obj) \
38   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_PULSEMIXER_TRACK))
39 #define GST_IS_PULSEMIXER_TRACK_CLASS(klass) \
40   (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_PULSEMIXER_TRACK))
41
42
43 typedef struct _GstPulseMixerTrack
44 {
45   GstMixerTrack parent;
46   GstPulseMixerCtrl *control;
47 } GstPulseMixerTrack;
48
49 typedef struct _GstPulseMixerTrackClass
50 {
51   GstMixerTrackClass parent;
52 } GstPulseMixerTrackClass;
53
54 GType gst_pulsemixer_track_get_type (void);
55
56 GstMixerTrack *gst_pulsemixer_track_new (GstPulseMixerCtrl * control);
57
58 G_END_DECLS
59
60 #endif