summaryrefslogtreecommitdiffstats
path: root/ext/hal/hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hal/hal.h')
-rw-r--r--ext/hal/hal.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/ext/hal/hal.h b/ext/hal/hal.h
index 3d5bb05b..9cc5aed3 100644
--- a/ext/hal/hal.h
+++ b/ext/hal/hal.h
@@ -31,10 +31,17 @@
G_BEGIN_DECLS
-GstElement * gst_hal_render_bin_from_udi (const gchar *udi);
+typedef enum
+{
+ GST_HAL_AUDIOSINK,
+ GST_HAL_AUDIOSRC
+} GstHalDeviceType;
-GstElement * gst_hal_get_audio_sink (const gchar *udi);
-GstElement * gst_hal_get_audio_src (const gchar *udi);
+GstElement *gst_hal_render_bin_from_udi (const gchar * udi,
+ GstHalDeviceType type);
+
+GstElement *gst_hal_get_audio_sink (const gchar * udi);
+GstElement *gst_hal_get_audio_src (const gchar * udi);
G_END_DECLS