gnunet_gst.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. This file is part of GNUnet.
  3. Copyright (C) 2016 GNUnet e.V.
  4. GNUnet is free software: you can redistribute it and/or modify it
  5. under the terms of the GNU Affero General Public License as published
  6. by the Free Software Foundation, either version 3 of the License,
  7. or (at your option) any later version.
  8. GNUnet is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. SPDX-License-Identifier: AGPL3.0-or-later
  15. */
  16. /**
  17. * @file conversation/gnunet_gst.c
  18. * @brief FIXME
  19. * @author Hark
  20. */
  21. // which audiobackend we use
  22. //
  23. /*
  24. int audiobackend = JACK;
  25. int dropsilence = TRUE;
  26. int enough = 0;
  27. int usertp = TRUE;
  28. */
  29. #define gst_element_factory_make(element, name) gst_element_factory_make_debug ( \
  30. element, name);
  31. extern void pl_graph ();
  32. extern GstElement *
  33. gst_element_factory_make_debug (gchar *, gchar *);
  34. extern GstBin *
  35. get_audiobin (GNUNET_gstData *, int);
  36. extern GstBin *
  37. get_coder (GNUNET_gstData *, int);
  38. extern gboolean
  39. gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data);
  40. extern void
  41. gg_setup_gst_bus (GNUNET_gstData *d);
  42. extern void
  43. gg_load_configuration (GNUNET_gstData *d);
  44. extern GstFlowReturn
  45. on_appsink_new_sample (GstElement *, GNUNET_gstData *);