Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / ext / hal / hal.h
1 /* GStreamer
2  * Copyright (C) <2002> Thomas Vander Stichele <thomas@apestaart.org>
3  * Copyright (C) <2006> Jürg Billeter <j@bitron.ch>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef GST_HAL_H
22 #define GST_HAL_H
23
24 /*
25  * this library handles interaction with Hal
26  */
27
28 #include <gst/gst.h>
29 #include <dbus/dbus.h>
30 #include <libhal.h>
31
32 G_BEGIN_DECLS
33
34 typedef enum
35 {
36   GST_HAL_AUDIOSINK,
37   GST_HAL_AUDIOSRC
38 } GstHalDeviceType;
39
40 GstElement *gst_hal_render_bin_from_udi (const gchar * udi,
41     GstHalDeviceType type);
42
43 GstElement *gst_hal_get_audio_sink (const gchar * udi);
44 GstElement *gst_hal_get_audio_src (const gchar * udi);
45
46 G_END_DECLS
47
48 #endif /* GST_HAL_H */