mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-10 08:21:03 -04:00
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:
parent
92f8e16f11
commit
f26eb9501e
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue