GNUnet  0.11.x
gnunet_gst.h
Go to the documentation of this file.
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  */
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 
39 extern void pl_graph ();
40 
41 
42 extern GstElement *
43 gst_element_factory_make_debug (gchar *, gchar *);
44 
45 extern GstBin *
47 
48 extern GstBin *
49 get_coder (GNUNET_gstData *, int);
50 
51 
52 extern gboolean
53 gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data);
54 
55 extern void
57 
58 extern void
60 
61 extern GstFlowReturn
62 on_appsink_new_sample (GstElement *, GNUNET_gstData *);
void gg_setup_gst_bus(GNUNET_gstData *d)
Definition: gnunet_gst.c:354
struct GNUNET_MessageHeader * msg
Definition: 005.c:2
GstBin * get_coder(GNUNET_gstData *, int)
Definition: gnunet_gst.c:815
gboolean gnunet_gst_bus_call(GstBus *bus, GstMessage *msg, gpointer data)
Definition: gnunet_gst.c:251
GstElement * gst_element_factory_make_debug(gchar *, gchar *)
debug making elements
Definition: gnunet_gst.c:554
void pl_graph()
void gg_load_configuration(GNUNET_gstData *d)
Definition: gnunet_gst.c:70
GstBin * get_audiobin(GNUNET_gstData *, int)
Definition: gnunet_gst.c:949
uint32_t data
The data value.
GstFlowReturn on_appsink_new_sample(GstElement *, GNUNET_gstData *)
Definition: gnunet_gst.c:169