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, GNUNET_gstData::audiobackend, AUTO, autoaudiosink_child_added(), autoaudiosource_child_added(), BUFFER_TIME, conv, GNUNET_gstData::dropsilence, FAKE, filter, gst_element_factory_make, JACK, GNUNET_gstData::jack_pp_out, 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 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, type, and GNUNET_gstData::usertp.
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(), eos_cb(), error_cb(), GNUNET_gstData::pipeline, 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, GNUNET_gstData::audiobackend, AUTO, cfg, GNUNET_gstData::dropsilence, FAKE, GNUNET_CONFIGURATION_create(), GNUNET_CONFIGURATION_get_value_string(), GNUNET_CONFIGURATION_get_value_yesno(), GNUNET_CONFIGURATION_load(), GNUNET_YES, JACK, GNUNET_gstData::jack_pp_in, GNUNET_gstData::jack_pp_out, GNUNET_gstData::pure_ogg, TEST, and GNUNET_gstData::usertp.
Referenced by main().
GstFlowReturn on_appsink_new_sample | ( | GstElement * | element, |
GNUNET_gstData * | d | ||
) |
Definition at line 170 of file gnunet_gst.c.
References GNUNET_gstData::audio_message, GNUNET_memcpy, AudioMessage::header, len, map, GNUNET_gstData::pure_ogg, GNUNET_MessageHeader::size, GNUNET_CONTAINER_MultiPeerMap::size, and write_data().
Referenced by get_app().