xine-lib: xine-lib-1.2.13/include/xine/broadcaster.h File Reference

xine-lib 1.2.13-20230125hg15249

Typedefs | Functions
broadcaster.h File Reference
`#include <xine/attributes.h>`

Go to the source code of this file.

## Typedefs
typedef struct broadcaster_s | broadcaster_t

## Functions
broadcaster_t * | _x_init_broadcaster (xine_stream_t *stream, int port)
void | _x_close_broadcaster (broadcaster_t *this_gen)
int | _x_get_broadcaster_port (broadcaster_t *this_gen)

## Typedef Documentation

## ◆ broadcaster_t

typedef struct broadcaster_s broadcaster_t

## Function Documentation

## ◆ _x_close_broadcaster()

void _x_close_broadcaster | ( | broadcaster_t * | this_gen | ) |

References xine_stream_s::audio_fifo, audio_put_cb(), broadcaster_s::connections, broadcaster_s::lock, broadcaster_s::manager_thread, broadcaster_s::msock, NULL, broadcaster_s::running, broadcaster_s::stream, fifo_buffer_s::unregister_put_cb, xine_stream_s::video_fifo, video_put_cb(), xine_stream_s::xine, xine_list_delete(), xine_list_next_value(), XINE_VERBOSITY_DEBUG, and xprintf.

Referenced by _x_init_broadcaster(), xine_dispose(), and xine_set_param().

## ◆ _x_get_broadcaster_port()

int _x_get_broadcaster_port | ( | broadcaster_t * | this_gen | ) |

References broadcaster_s::port.

Referenced by xine_get_param().

## ◆ _x_init_broadcaster()

broadcaster_t * _x_init_broadcaster | ( | xine_stream_t * | stream,
|  | int | port )

References _x_close_broadcaster(), xine_stream_s::audio_fifo, audio_put_cb(), manager_loop(), NULL, QLEN, fifo_buffer_s::register_put_cb, xine_stream_s::video_fifo, video_put_cb(), xine_stream_s::xine, xine_list_new(), xine_socket_cloexec(), XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_NONE, and xprintf.

Referenced by xine_set_param().