doc: cleanups

This commit is contained in:
Wim Taymans 2020-06-11 16:30:27 +02:00
parent 9b245da5c0
commit 00ca566b18
3 changed files with 7 additions and 9 deletions

View file

@ -1,4 +1,4 @@
[index](tutorial-index.md) [next](tutorial2.md) [[index](tutorial-index.md) [[next]](tutorial2.md)
# Getting started (Tutorial 1) # Getting started (Tutorial 1)
@ -45,4 +45,4 @@ Linked with libpipewire 0.3.5
# #
``` ```
[index](tutorial-index.md) [next](tutorial2.md) [[index](tutorial-index.md) [[next]](tutorial2.md)

View file

@ -1,4 +1,4 @@
[previous](tutorial1.md) [index](tutorial-index.md) [next](tutorial3.md) [[previous]](tutorial1.md) [[index](tutorial-index.md) [[next]](tutorial3.md)
# Enumerating objects (Tutorial 2) # Enumerating objects (Tutorial 2)
@ -177,4 +177,4 @@ continue forever. In the next tutorial we'll see how we can nicely
exit our application after we received all server objects. exit our application after we received all server objects.
[previous](tutorial1.md) [index](tutorial-index.md) [next](tutorial3.md) [[previous]](tutorial1.md) [[index](tutorial-index.md) [[next]](tutorial3.md)

View file

@ -1,4 +1,4 @@
[previous](tutorial2.md) [index](tutorial-index.md) [next](tutorial4.md) [[previous]](tutorial2.md) [[index](tutorial-index.md) [[next]](tutorial4.md)
# Forcing a roundtrip (Tutorial 3) # Forcing a roundtrip (Tutorial 3)
@ -85,7 +85,7 @@ This triggers the `sync` method on the core object with id
Because this is a method on a proxy object, it will be executed Because this is a method on a proxy object, it will be executed
asynchronously and the returns value will reflect this. PipeWire asynchronously and the returns value will reflect this. PipeWire
uses the return values of the underlying SPA (Simple Plugin API) uses the return values of the underlying SPA (Simple Plugin API)
helper objects (See also [error codes](spa/design.md#error-codes). helper objects (See also [error codes](spa/design.md#error-codes)).
Because all messages on the PipeWire server are handled sequencially, Because all messages on the PipeWire server are handled sequencially,
the sync method will be executed after all previous methods are the sync method will be executed after all previous methods are
@ -109,8 +109,6 @@ remove the listener:
```c ```c
spa_hook_remove(&core_listener); spa_hook_remove(&core_listener);
return 0;
}
``` ```
If we add this roundtrip method to our code and call it instead of the If we add this roundtrip method to our code and call it instead of the
@ -207,4 +205,4 @@ use:
gcc -Wall tutorial3.c -o tutorial3 $(pkg-config --cflags --libs libpipewire-0.3) gcc -Wall tutorial3.c -o tutorial3 $(pkg-config --cflags --libs libpipewire-0.3)
``` ```
[previous](tutorial2.md) [index](tutorial-index.md) [next](tutorial4.md) [[previous]](tutorial2.md) [[index](tutorial-index.md) [[next]](tutorial4.md)