summaryrefslogtreecommitdiffstats
path: root/doc/tutorial1.c
blob: 050aa88d2cb74c5d6ce9c84db30142b186236ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
  [title]
  \ref page_tutorial1
  [title]
 */
/* [code] */
#include <pipewire/pipewire.h>

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] */