aboutsummaryrefslogtreecommitdiff
path: root/src/contrib/service/conversation/gnunet_gst.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/service/conversation/gnunet_gst.h')
-rw-r--r--src/contrib/service/conversation/gnunet_gst.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/contrib/service/conversation/gnunet_gst.h b/src/contrib/service/conversation/gnunet_gst.h
new file mode 100644
index 000000000..479ae14b3
--- /dev/null
+++ b/src/contrib/service/conversation/gnunet_gst.h
@@ -0,0 +1,62 @@
1/*
2 This file is part of GNUnet.
3 Copyright (C) 2016 GNUnet e.V.
4
5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 SPDX-License-Identifier: AGPL3.0-or-later
19 */
20/**
21 * @file conversation/gnunet_gst.c
22 * @brief FIXME
23 * @author Hark
24 */
25
26// which audiobackend we use
27//
28
29/*
30 int audiobackend = JACK;
31 int dropsilence = TRUE;
32 int enough = 0;
33 int usertp = TRUE;
34 */
35
36#define gst_element_factory_make(element, name) gst_element_factory_make_debug ( \
37 element, name);
38
39extern void pl_graph ();
40
41
42extern GstElement *
43gst_element_factory_make_debug (gchar *, gchar *);
44
45extern GstBin *
46get_audiobin (GNUNET_gstData *, int);
47
48extern GstBin *
49get_coder (GNUNET_gstData *, int);
50
51
52extern gboolean
53gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data);
54
55extern void
56gg_setup_gst_bus (GNUNET_gstData *d);
57
58extern void
59gg_load_configuration (GNUNET_gstData *d);
60
61extern GstFlowReturn
62on_appsink_new_sample (GstElement *, GNUNET_gstData *);