fix(linux/xdgportal): flag stream as realtime (#4684)
This commit is contained in:
@@ -724,7 +724,8 @@ namespace portal {
|
|||||||
n_params++;
|
n_params++;
|
||||||
}
|
}
|
||||||
|
|
||||||
pw_stream_connect(stream_data.stream, PW_DIRECTION_INPUT, node, (enum pw_stream_flags)(PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_MAP_BUFFERS), params.data(), n_params);
|
int flags = PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_MAP_BUFFERS | PW_STREAM_FLAG_RT_PROCESS;
|
||||||
|
pw_stream_connect(stream_data.stream, PW_DIRECTION_INPUT, node, (enum pw_stream_flags) flags, params.data(), n_params);
|
||||||
}
|
}
|
||||||
pw_thread_loop_unlock(loop);
|
pw_thread_loop_unlock(loop);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user