Multimedia processing graphs
Find a file
Wim Taymans 7b12212eeb node: improve async handling
Remove the done and error callbacks. The error callback is in an
error message. The done callback is replace with spa_pending.

Make enum_params take a callback and data for the results. This allows
us to push the results one after another to the app and avoids ownership
issues of the passed data. We can then extend this to handle the async
case by doing a _wait call with a spa_pending+callback+data that will
be called when the _enum_params returns and async result.
Add a sync method.

All methods can now return SPA_RESULT_IS_ASYNC return values and you
can use spa_node_wait() to register a callback when they complete
with optional extra parameters. This makes it easier to sync and
handle the reply.

Make helper methods to simulate the sync enum_params behaviour for
sync nodes.

Let the transport generate the sequence number for pw_resource_sync()
and pw_proxy_sync(). That way we don't need to keep track of numbers
ourselves and we can match the reply to the request easily.
2019-02-21 09:40:12 +01:00
doc update docs 2017-09-05 13:35:25 +02:00
man Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
pipewire-alsa@ddd753cfc5 use SPA_EXPORT to export symbols 2019-02-06 13:24:41 +01:00
pipewire-jack@65f9c46525 node: improve async handling 2019-02-21 09:40:12 +01:00
pipewire-pulseaudio@71e5c13191 node: improve async handling 2019-02-21 09:40:12 +01:00
po Update POTFILES.in 2017-09-19 17:42:12 +02:00
spa node: improve async handling 2019-02-21 09:40:12 +01:00
src node: improve async handling 2019-02-21 09:40:12 +01:00
.editorconfig add .editorconfig files 2019-02-13 11:19:21 +01:00
.gitignore gitignore: Add vim files 2018-10-31 07:54:22 +00:00
.gitmodules update url 2018-10-28 10:34:08 +00:00
.travis.yml ci: implement a sensible travis + docker setup for automated builds 2018-10-31 15:13:13 +00:00
_config.yml Set theme jekyll-theme-slate 2017-09-04 19:55:46 +02:00
autogen.sh Quote "$@" in autogen.sh 2019-02-13 11:24:38 +01:00
config.h.meson add systemd socket activation 2018-10-18 12:36:10 +02:00
COPYING Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
LICENSE Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
Makefile.in pod: improve parser and builder 2019-01-22 17:38:23 +01:00
meson.build meson: find dependencies only when necessary 2019-02-13 11:22:22 +01:00
meson_options.txt meson: enable more options by default 2018-10-10 17:16:01 +02:00
NEWS Add some NEWS 2018-02-27 14:00:19 +01:00
PROTOCOL Initial commit 2015-04-16 16:58:33 +02:00
pw-uninstalled.sh uninstalled: update uninstalled 2018-10-10 18:04:28 +02:00
README Relicense as MIT/X11 2018-11-05 17:48:52 +01:00

PipeWire
--------

PipeWire is a server and user space API to deal with multimedia
pipelines. This includes:

  - Making available sources of video (such as from a capture devices or
       application provided streams) and multiplexing this with
       clients.
  - Accessing sources of video for consumption.
  - Generating graphs for audio and video processing.

Nodes in the graph can be implemented as separate processes,
communicating with sockets and exchanging multimedia content using fd
passing.

Building
--------

Pipewire uses the Meson and Ninja build system to compile. If you're not
familiar with these tools, the included "autogen.sh" script will
automatically run the correct meson/ninja commands, and output a Makefile.
It follows that there are two methods to build Pipewire, however both rely
on Meson and Ninja to actually perform the compilation:

$ ./autogen.sh
$ make

or the Meson/Ninja native method:

$ meson build
$ cd build
$ ninja

You can see the available meson options in meson_options.txt file.