Paraslash Audio Streaming | |
About News Download Documentation Development |
Paraslash's standalone wav/raw player. More...
#include <regex.h>
#include <sys/types.h>
#include <lopsub.h>
#include "write_cmd.lsg.h"
#include "write.lsg.h"
#include "para.h"
#include "string.h"
#include "list.h"
#include "sched.h"
#include "stdin.h"
#include "buffer_tree.h"
#include "write.h"
#include "fd.h"
#include "error.h"
#include "version.h"
#include "check_wav.h"
Macros | |
#define | CMD_PTR (lls_cmd(0, write_suite)) |
#define | OPT_RESULT(_name, _lpr) (lls_opt_result(LSG_WRITE_PARA_WRITE_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))) |
Functions | |
int | main (int argc, char *argv[]) |
Para_write's main function. 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... | |
Paraslash's standalone wav/raw player.
#define CMD_PTR (lls_cmd(0, write_suite)) |
#define OPT_RESULT | ( | _name, | |
_lpr | |||
) | (lls_opt_result(LSG_WRITE_PARA_WRITE_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))) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Para_write's main function.
argc | The usual argument counter. |
argv | The usual argument vector. |
It sets up and starts the tasks and the buffer tree nodes determined by command line options.
EXIT_SUCCESS
or EXIT_FAILURE 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().