summaryrefslogtreecommitdiff
path: root/src/conversation/gnunet_gst.h
diff options
context:
space:
mode:
authorhark <hark@puscii.nl>2016-03-25 03:33:09 +0000
committerhark <hark@puscii.nl>2016-03-25 03:33:09 +0000
commit2f5ca7693694fe917b9e322f6dc1692a5cbaacbf (patch)
tree46dc0cceb783ba5fac5fd30e9a631d6578abf233 /src/conversation/gnunet_gst.h
parent22d081dc59a8e94b41879606a6927c658cc76d29 (diff)
experimental gstreamer audiobackend (not working)
Diffstat (limited to 'src/conversation/gnunet_gst.h')
-rw-r--r--src/conversation/gnunet_gst.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/conversation/gnunet_gst.h b/src/conversation/gnunet_gst.h
new file mode 100644
index 000000000..5a7213f48
--- /dev/null
+++ b/src/conversation/gnunet_gst.h
@@ -0,0 +1,37 @@
+// which audiobackend we use
+//
+
+/*
+int audiobackend = JACK;
+int dropsilence = TRUE;
+int enough = 0;
+int usertp = TRUE;
+*/
+
+#define gst_element_factory_make(element, name) gst_element_factory_make_debug (element, name);
+
+extern void pl_graph();
+
+
+extern GstElement *
+ gst_element_factory_make_debug( gchar *, gchar *);
+
+extern GstBin *
+ get_audiobin(GNUNET_gstData *, int);
+
+extern GstBin *
+ get_coder(GNUNET_gstData *, int);
+
+
+extern gboolean
+gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data);
+
+extern void
+gg_setup_gst_bus (GNUNET_gstData * d);
+
+extern void
+gg_load_configuration (GNUNET_gstData * d);
+
+extern GstFlowReturn
+on_appsink_new_sample (GstElement *, GNUNET_gstData *);
+