Use Suffix Extensions in Makefiles (doc, src/{arm,dht,integration,statistics}) for...
[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
6   it under the terms of the GNU General Public License as published
7   by the Free Software Foundation; either version 3, or (at your
8   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   General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with GNUnet; see the file COPYING.  If not, write to the
17   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18   Boston, MA 02110-1301, USA.
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 *);