Commit graph

13 commits

Author SHA1 Message Date
Wim Taymans
817f8fef07 Makefile.in: fix path to pipewire daemon 2020-01-08 17:02:52 +01:00
Wim Taymans
e29969f937 Use build_root to generate Makefile
Don't hardcode the buildroot but use the value from meson.

Based on patch by Jan Koester <jan.koester@gmx.net>

Fixes #202
2020-01-08 15:41:01 +01:00
Wim Taymans
f41720e7db Add PortConfig parameter
Add a new PortConfig parameter to configure ports of elements that
are marked with the SPA_NODE_FLAG_*_PORT_CONFIG. This is used to
configure the operation of the audioconver/audioadapter nodes and
how it should convert the internal format. We want to use the
Profile parameter only for cases where there is an enumeration of
values, like with device configuration.

Add unit tests for audioconvert and adapter to check if they handle
PortConfig correctly.

Make the media session use the PortConfig to dynamically configure
the device nodes.

Remove audio-dsp, it is not used anymore and can/should be implemented
with a simple audioconvert spa node now and some PortConfig.
2019-08-06 12:45:20 +02:00
Wim Taymans
351fb9ce29 pod: improve parser and builder
Remove the spa_pod_iter helpers
Remove builder/parser vararg recurse option, you have to
manually recurse into structures when needed. This simplifies
things a lot.
Pass spa_pod_frames to builder and parser explicitly, we don't
have to keep an internal stack anymore.
The parser is now almost a mirror image of the builder.
Make the parser safer when iterating over objects, add functions
to check and get pod contents in a safe way.
Make the builder return errno style results on errors
Improve performance of object properties when they are stored and
retrieved in the same order.
Add many more tests for the builder and parser
Add some benchmarks
2019-01-22 17:38:23 +01:00
Wim Taymans
0023e348ac Makefile: add uninstall target 2018-10-31 10:57:26 +00:00
George Kiagiadakis
483607af3a Makefile: add 'make test' target to run the automated unit tests 2018-10-31 10:50:36 +00:00
Nicolas Dufresne
97eec36f8e makefile: Add helper to run in gdb and valgrind
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2018-10-31 07:49:35 +00:00
Wim Taymans
6267e69638 add uninstalled target
Also update submodules
2018-10-16 11:30:38 +02:00
Wim Taymans
14dbc9c687 Makefile.in: use right build command
Use ninja instead of ninja-build, which does not seem to exist on
debian.
2017-09-19 16:04:41 +02:00
Wim Taymans
6af4f08c6e cli: small cleanups
Add make cli to start the cli
Only print changes once
Notify of changed objects
2017-09-18 22:23:18 +02:00
Wim Taymans
7ef1a1d107 Add target to publish API docs 2017-09-05 09:42:02 +02:00
Wim Taymans
d1655196c3 move things around 2017-07-11 16:08:22 +02:00
Wim Taymans
5b2745498e Release 0.1.1
spec: updates
2017-06-26 13:13:21 +02:00