docs/dma-buf: Document the correct device ID negotation key

The correct key is PW_CAPABILITY_DEVICE_ID_NEGOTIATION which contains a
number.
This commit is contained in:
Jonas Ådahl 2026-03-09 16:22:42 +01:00 committed by Wim Taymans
parent 92f8e16f11
commit f26eb9501e

View file

@ -349,10 +349,10 @@ rectangles. For example
params[n_params++] = spa_pod_builder_pop(&b, &f); params[n_params++] = spa_pod_builder_pop(&b, &f);
``` ```
After having received the first \ref SPA_PARAM_PeerCapability param, if it contained the \ref After having received the first \ref SPA_PARAM_PeerCapability param, if it contained the
PW_CAPABILITY_DEVICE_ID set to `true`, the full set of formats can be sent using \ref \ref PW_CAPABILITY_DEVICE_ID_NEGOTIATION set to a supported API version number, the full
pw_stream_update_params following by activating the stream using set of formats can be sent using \ref pw_stream_update_params following by activating the
`pw_stream_set_active(stream, true)`. stream usina supported API version numberstream_set_active(stream, true)`.
Note that the first \ref SPA_PARAM_Format received may be the result of the initial format Note that the first \ref SPA_PARAM_Format received may be the result of the initial format
negotian with bare minimum parameters, and will be superseded by the result of the format negotian with bare minimum parameters, and will be superseded by the result of the format