src: for every AGPL3.0 file, add SPDX identifier.
[oweals/gnunet.git] / src / conversation / gnunet_gst.h
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 (element, name);
37
38 extern void pl_graph();
39
40
41 extern GstElement *
42  gst_element_factory_make_debug( gchar *, gchar *);
43
44 extern GstBin *
45   get_audiobin(GNUNET_gstData *, int);
46
47 extern GstBin *
48   get_coder(GNUNET_gstData *, int);
49
50
51 extern gboolean
52 gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data);
53
54 extern void
55 gg_setup_gst_bus (GNUNET_gstData * d);
56
57 extern void
58 gg_load_configuration (GNUNET_gstData * d);
59
60 extern GstFlowReturn
61 on_appsink_new_sample (GstElement *, GNUNET_gstData *);