pipewire/spa/plugins/audioconvert
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
..
audioconvert.c node: improve async handling 2019-02-21 09:40:12 +01:00
benchmark-fmt-ops.c mem: align memory to requested alignment 2019-01-24 18:28:52 +01:00
channelmix-ops-sse.c mem: align memory to requested alignment 2019-01-24 18:28:52 +01:00
channelmix-ops.c device: improve callbacks 2019-02-13 11:13:46 +01:00
channelmix.c node: improve async handling 2019-02-21 09:40:12 +01:00
fmt-ops-sse2.c fmt: remove debug assert 2019-01-25 09:40:14 +01:00
fmt-ops.c spa/audioconvert: don't include xmmintrin.h in the non-sse fmt-ops 2019-02-13 11:22:57 +01:00
fmtconvert.c node: improve async handling 2019-02-21 09:40:12 +01:00
merger.c node: improve async handling 2019-02-21 09:40:12 +01:00
meson.build audioconvert: add unit test for format conversion 2019-01-23 15:59:54 +01:00
plugin.c use SPA_EXPORT to export symbols 2019-02-06 13:24:41 +01:00
resample-peaks-sse.h fix sign confusion 2019-01-07 15:52:42 +01:00
resample-peaks.h fix sign confusion 2019-01-07 15:52:42 +01:00
resample-speex.h resample: add peaks resampler 2018-12-05 15:58:55 +01:00
resample.c node: improve async handling 2019-02-21 09:40:12 +01:00
resample.h resample: add SSE peaks resampler 2018-12-19 16:47:20 +01:00
splitter.c node: improve async handling 2019-02-21 09:40:12 +01:00
test-fmt-ops.c mem: align memory to requested alignment 2019-01-24 18:28:52 +01:00