diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index eb09cc6ee..3d72431f9 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -1002,13 +1002,18 @@ static void add_controls(struct pw_stream *stream) spa_pod_builder_init(&b, buffer, 4096); + add_param(stream, PARAM_TYPE_INIT, + spa_pod_builder_object(&b, + SPA_TYPE_OBJECT_ParamIO, SPA_PARAM_IO, + SPA_PARAM_IO_id, &SPA_POD_Id(SPA_IO_Buffers), + SPA_PARAM_IO_size, &SPA_POD_Int(sizeof(struct spa_io_buffers)), + 0)); add_param(stream, PARAM_TYPE_INIT, spa_pod_builder_object(&b, SPA_TYPE_OBJECT_ParamIO, SPA_PARAM_IO, SPA_PARAM_IO_id, &SPA_POD_Id(SPA_IO_Notify), SPA_PARAM_IO_size, &SPA_POD_Int(sizeof(struct spa_io_sequence) + 1024), 0)); - add_param(stream, PARAM_TYPE_INIT, spa_pod_builder_object(&b, SPA_TYPE_OBJECT_ParamIO, SPA_PARAM_IO,