PipeWire
0.3.29
|
Index | Tutorial - Part 2: Enumerating objects
In this tutorial we show the basics of a simple PipeWire application. Use this tutorial to get started and help you set up your development environment.
Let get started with the simplest application.
Before you can use any PipeWire functions, you need to call pw_init()
.
To compile the simple test application, copy it into a test1.c file and use:
gcc -Wall test1.c -o test1 $(pkg-config --cflags --libs libpipewire-0.3)
then run it with:
# ./test1 Compiled with libpipewire 0.3.5 Linked with libpipewire 0.3.5 #