Go to the source code of this file.
Macros | |
#define | gst_element_factory_make(element, name) |
Functions | |
void | pl_graph () |
GstElement * | gst_element_factory_make_debug (gchar *, gchar *) |
debug making elements More... | |
GstBin * | get_audiobin (GNUNET_gstData *, int) |
GstBin * | get_coder (GNUNET_gstData *, int) |
gboolean | gnunet_gst_bus_call (GstBus *bus, GstMessage *msg, gpointer data) |
void | gg_setup_gst_bus (GNUNET_gstData *d) |
void | gg_load_configuration (GNUNET_gstData *d) |
GstFlowReturn | on_appsink_new_sample (GstElement *, GNUNET_gstData *) |
#define gst_element_factory_make | ( | element, | |
name | |||
) |
Definition at line 36 of file gnunet_gst.h.
void pl_graph | ( | ) |
GstElement * gst_element_factory_make_debug | ( | gchar * | factoryname, |
gchar * | name | ||
) |
debug making elements
Definition at line 555 of file gnunet_gst.c.
References gst_element_factory_make, and name.
GstBin * get_audiobin | ( | GNUNET_gstData * | d, |
int | type | ||
) |
Definition at line 950 of file gnunet_gst.c.
References ALSA, AUTO, autoaudiosink_child_added(), autoaudiosource_child_added(), BUFFER_TIME, conv, d, FAKE, filter, gst_element_factory_make, JACK, LATENCY_TIME, lf(), OPUS_CHANNELS, queue(), resampler, sink, SINK, source, TEST, and type.
Referenced by main().
GstBin * get_coder | ( | GNUNET_gstData * | d, |
int | type | ||
) |
Definition at line 816 of file gnunet_gst.c.
References d, decoder, DECODER, decoder_ogg_pad_added(), demuxer, ENCODER, gst_element_factory_make, INBAND_FEC_MODE, MAX_PAYLOAD_SIZE, OGG_MAX_DELAY, OGG_MAX_PAGE_DELAY, OPUS_FRAME_SIZE, PACKET_LOSS_PERCENTAGE, SAMPLING_RATE, and type.
Referenced by main().
gboolean gnunet_gst_bus_call | ( | GstBus * | bus, |
GstMessage * | msg, | ||
gpointer | data | ||
) |
Definition at line 252 of file gnunet_gst.c.
References find_typedefs::debug, GNUNET_ERROR_TYPE_DEBUG, GNUNET_ERROR_TYPE_ERROR, GNUNET_ERROR_TYPE_INFO, GNUNET_log, and msg.
void gg_setup_gst_bus | ( | GNUNET_gstData * | d | ) |
Definition at line 355 of file gnunet_gst.c.
References application_cb(), d, eos_cb(), error_cb(), and state_changed_cb().
Referenced by main().
void gg_load_configuration | ( | GNUNET_gstData * | d | ) |
Definition at line 71 of file gnunet_gst.c.
References ALSA, AUTO, cfg, d, FAKE, GNUNET_CONFIGURATION_create(), GNUNET_CONFIGURATION_get_value_string(), GNUNET_CONFIGURATION_get_value_yesno(), GNUNET_CONFIGURATION_load(), GNUNET_YES, JACK, and TEST.
Referenced by main().
GstFlowReturn on_appsink_new_sample | ( | GstElement * | element, |
GNUNET_gstData * | d | ||
) |
Definition at line 170 of file gnunet_gst.c.
References d, GNUNET_memcpy, AudioMessage::header, map, GNUNET_MessageHeader::size, GNUNET_CONTAINER_MultiPeerMap::size, and write_data().
Referenced by get_app().