modules: pulse-tunnel can use RT_PROCESS

It writes samples to a ringbuffer and will not do any rt-unsafe
methods.
This commit is contained in:
Wim Taymans 2021-06-25 15:51:30 +02:00
parent de72ed5590
commit aa4de60032

View file

@ -331,7 +331,8 @@ static int create_stream(struct impl *impl)
impl->mode == MODE_CAPTURE ? PW_DIRECTION_OUTPUT : PW_DIRECTION_INPUT,
PW_ID_ANY,
PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_MAP_BUFFERS,
PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS,
params, n_params)) < 0)
return res;