Paraslash Audio Streaming | |
About News Download Documentation Development |
the stand-alone audio stream receiver More...
#include <regex.h>
#include <sys/types.h>
#include <lopsub.h>
#include "recv_cmd.lsg.h"
#include "recv.lsg.h"
#include "para.h"
#include "list.h"
#include "sched.h"
#include "buffer_tree.h"
#include "recv.h"
#include "fd.h"
#include "string.h"
#include "error.h"
#include "stdout.h"
#include "version.h"
Macros | |
#define | CMD_PTR (lls_cmd(0, recv_suite)) |
#define | OPT_RESULT(_name, _lpr) (lls_opt_result(LSG_RECV_PARA_RECV_OPT_ ## _name, lpr)) |
#define | OPT_GIVEN(_name, _lpr) (lls_opt_given(OPT_RESULT(_name, _lpr))) |
#define | OPT_UINT32_VAL(_name, _lpr) (lls_uint32_val(0, OPT_RESULT(_name, _lpr))) |
#define | OPT_STRING_VAL(_name, _lpr) (lls_string_val(0, OPT_RESULT(_name, _lpr))) |
Functions | |
int | main (int argc, char *argv[]) |
The main function of para_recv. More... | |
Variables | |
DEFINE_PARA_ERRLIST | |
Array of error strings. More... | |
__printf_2_3 void(* | para_log )(int, const char *,...) = stderr_log |
The log function of para_gui, always set to curses_log(). More... | |
the stand-alone audio stream receiver
#define CMD_PTR (lls_cmd(0, recv_suite)) |
#define OPT_RESULT | ( | _name, | |
_lpr | |||
) | (lls_opt_result(LSG_RECV_PARA_RECV_OPT_ ## _name, lpr)) |
#define OPT_GIVEN | ( | _name, | |
_lpr | |||
) | (lls_opt_given(OPT_RESULT(_name, _lpr))) |
#define OPT_UINT32_VAL | ( | _name, | |
_lpr | |||
) | (lls_uint32_val(0, OPT_RESULT(_name, _lpr))) |
#define OPT_STRING_VAL | ( | _name, | |
_lpr | |||
) | (lls_string_val(0, OPT_RESULT(_name, _lpr))) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function of para_recv.
argc | number of arguments |
argv | vector of arguments |
para_recv uses the specified receiver to receive an audio stream sent by para_server. The received data is written to stdout.
DEFINE_PARA_ERRLIST |
Array of error strings.
__printf_2_3 void(* para_log) (int, const char *,...) = stderr_log |
The log function of para_gui, always set to curses_log().