module-echo-cancel: playback and source are async

The playback and source streams don't dequeue/queue buffers from
the process function and so need to be marked async.

Fixes #3593
This commit is contained in:
Wim Taymans 2023-10-21 09:27:43 +02:00
parent 0ff4844d87
commit 93d5848031

View file

@ -1002,7 +1002,8 @@ static int setup_streams(struct impl *impl)
PW_DIRECTION_OUTPUT, PW_DIRECTION_OUTPUT,
PW_ID_ANY, PW_ID_ANY,
PW_STREAM_FLAG_MAP_BUFFERS | PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS, PW_STREAM_FLAG_RT_PROCESS |
PW_STREAM_FLAG_ASYNC,
params, n_params)) < 0) { params, n_params)) < 0) {
spa_pod_dynamic_builder_clean(&b); spa_pod_dynamic_builder_clean(&b);
return res; return res;
@ -1036,7 +1037,8 @@ static int setup_streams(struct impl *impl)
PW_ID_ANY, PW_ID_ANY,
PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_MAP_BUFFERS | PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS, PW_STREAM_FLAG_RT_PROCESS |
PW_STREAM_FLAG_ASYNC,
params, n_params)) < 0) { params, n_params)) < 0) {
spa_pod_dynamic_builder_clean(&b); spa_pod_dynamic_builder_clean(&b);
return res; return res;