fix tabs
[gst-pulse.git] / src / pulsemixer.h
blob13684d643623b815dcd582dae53d06d8353eaac7
1 #ifndef __GST_PULSEMIXER_H__
2 #define __GST_PULSEMIXER_H__
4 /* $Id$ */
6 /***
7 This file is part of gst-pulse.
9 gst-pulse is free software; you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as
11 published by the Free Software Foundation; either version 2.1 of the
12 License, or (at your option) any later version.
14 gst-pulse is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public
20 License along with gst-pulse; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA.
23 ***/
25 #include <gst/gst.h>
27 #include <pulse/pulseaudio.h>
28 #include <pulse/thread-mainloop.h>
30 #include "pulsemixerctrl.h"
31 #include "pulseprobe.h"
33 G_BEGIN_DECLS
35 #define GST_TYPE_PULSEMIXER \
36 (gst_pulsemixer_get_type())
37 #define GST_PULSEMIXER(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PULSEMIXER,GstPulseMixer))
39 #define GST_PULSEMIXER_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PULSEMIXER,GstPulseMixerClass))
41 #define GST_IS_PULSEMIXER(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PULSEMIXER))
43 #define GST_IS_PULSEMIXER_CLASS(obj) \
44 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PULSEMIXER))
46 typedef struct _GstPulseMixer GstPulseMixer;
47 typedef struct _GstPulseMixerClass GstPulseMixerClass;
49 struct _GstPulseMixer {
50 GstElement parent;
52 gchar *server, *device;
54 GstPulseMixerCtrl *mixer;
55 GstPulseProbe *probe;
58 struct _GstPulseMixerClass {
59 GstElementClass parent_class;
62 GType gst_pulsemixer_get_type(void);
64 G_END_DECLS
66 #endif /* __GST_PULSEMIXER_H__ */