PipeWire 1.0.5
Loading...
Searching...
No Matches
tutorial1.c

Tutorial - Part 1: Getting Started

/builds/rmader/pipewire/branch-1.0/builddir/doc/examples.dox

/*
[title]
\ref page_tutorial1
[title]
*/
/* [code] */
int main(int argc, char *argv[])
{
pw_init(&argc, &argv);
fprintf(stdout, "Compiled with libpipewire %s\n"
"Linked with libpipewire %s\n",
pw_get_headers_version(),
pw_get_library_version());
return 0;
}
/* [code] */
void pw_init(int *argc, char **argv[])
Initialize PipeWire.
Definition pipewire.c:556
pipewire/pipewire.h