|
Paraslash Audio Streaming |
About News Download Documentation Development |
Macros | |
#define | CMD_PTR (lls_cmd(0, filter_suite)) |
#define | OPT_RESULT(_name) (lls_opt_result(LSG_FILTER_PARA_FILTER_OPT_ ## _name, lpr)) |
#define | OPT_GIVEN(_name) (lls_opt_given(OPT_RESULT(_name))) |
#define | OPT_UINT32_VAL(_name) (lls_uint32_val(0, OPT_RESULT(_name))) |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
DEFINE_PARA_ERRLIST | |
const char * | stat_item_values [NUM_STAT_ITEMS] = {NULL} |
__printf_2_3 void(* | para_log )(int, const char *,...) = stderr_log |
The stand-alone filter program.
#define CMD_PTR (lls_cmd(0, filter_suite)) |
#define OPT_RESULT | ( | _name | ) | (lls_opt_result(LSG_FILTER_PARA_FILTER_OPT_ ## _name, lpr)) |
#define OPT_GIVEN | ( | _name | ) | (lls_opt_given(OPT_RESULT(_name))) |
#define OPT_UINT32_VAL | ( | _name | ) | (lls_uint32_val(0, OPT_RESULT(_name))) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function of para_filter.
Para_filter reads data from stdin, converts it by using a chain of filters (specified on the command line) and writes the resulting data to stdout.
argc | Number of command line options. |
argv | Vector of arguments. |
DEFINE_PARA_ERRLIST |
Array of error strings.
const char* stat_item_values[NUM_STAT_ITEMS] = {NULL} |
Dummy version which only contains NULL pointers.
The array of status items sent by para_server.
This is used by the amp filter which first tries to obtain the amplification value from an element in this array.
__printf_2_3 void(* para_log) (int, const char *,...) = stderr_log |