|
Paraslash Audio Streaming |
About News Download Documentation Development |
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[]) |
Variables | |
DEFINE_PARA_ERRLIST | |
__printf_2_3 void(* | para_log )(int, const char *,...) = stderr_log |
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().