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

Tutorial - Part 1: Getting Started

/*
[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:489
pipewire/pipewire.h