mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
stream: only call early process for output streams
Input driver streams don't need their process callback called before starting the graph, they will get their process callback called at the end of the graph cycle. We were doing this for the rt case fine but not for the non-rt case.
This commit is contained in:
parent
0f08f54ef3
commit
6189bf1e73
1 changed files with 1 additions and 1 deletions
|
|
@ -2594,7 +2594,7 @@ int pw_stream_trigger_process(struct pw_stream *stream)
|
|||
if (impl->trigger) {
|
||||
pw_impl_node_trigger(stream->node);
|
||||
} else if (impl->driving) {
|
||||
if (!impl->process_rt)
|
||||
if (impl->direction == SPA_DIRECTION_OUTPUT && !impl->process_rt)
|
||||
call_process(impl);
|
||||
res = pw_loop_invoke(impl->data_loop,
|
||||
do_trigger_driver, 1, NULL, 0, false, impl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue