Wim Taymans
7da61e2dfa
examples: fix adapter control
...
target_rate and duration need to be configured now.
Fixes #3125
2023-03-30 15:15:41 +02:00
Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Wim Taymans
e0af67b670
examples: fix spelling mistake
2022-06-16 16:40:47 +02:00
Wim Taymans
f74b59b39f
examples: fix volume fade in and out with control
2022-06-16 09:09:27 +02:00
Wim Taymans
708b57aa64
examples: add control support to adapter
...
Based on patches by Julian Bouzas in !222
2022-06-16 09:09:27 +02:00
Wim Taymans
fa9baa6488
examples: fix up adapter-control
...
Negotiate format, then buffers.
Give quantum-limit as a property when making nodes.
Set clock and position io and fill in rate and duration.
2022-06-16 09:09:27 +02:00
Pauli Virtanen
98a0e54d5f
doc: link examples to Doxygen docs
...
Include examples to the documentation, using Doxygen's example system.
2021-10-10 00:35:46 +03:00
Peter Hutterer
92514d57e4
treewide: replace plain strcmp() calls with spa_streq
2021-05-18 22:10:27 +10:00
Wim Taymans
5295caf0f3
examples: dlclose on some errors
2020-07-02 16:07:54 +02:00
Wim Taymans
f08c35259c
avoid uninitialized variables
2020-06-23 15:25:27 +02:00
Simon McVittie
8b97d2ae74
spa examples: Load plugins from SPA_PLUGIN_DIR or installed path
...
This lets them be used installed or uninstalled, like pipewire itself.
Signed-off-by: Simon McVittie <smcv@debian.org>
2020-06-16 17:58:02 +00:00
Wim Taymans
0a54249718
fix error reporting
...
dlopen and dlsym don't set errno
2020-05-12 17:23:30 +02:00
Wim Taymans
4cb2d58e89
factory: do more version checks
...
So that we don't accidentally load an old plugin.
2020-04-22 18:10:26 +02:00
Wim Taymans
a528189d26
slave -> follower
...
We use master/follower terminology everywhere.
2020-02-21 10:47:32 +01:00
Wim Taymans
4bd6f5a055
examples: fix some typos and indentation errors
2020-02-04 13:02:38 +01:00
Julian Bouzas
a5d17ba6d1
spa: add adapter-control example to test audioadapter nodes
...
Example executable that runs an output audioadapter using audiotestsrc as slave
with an input audioadapter using alsa-pcm-sink as slave for easy testing.
2020-02-04 12:00:27 +01:00