mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-12 05:34:05 -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
d42646e91f
commit
99079dd955
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);
|
||||
```
|
||||
|
||||
After having received the first \ref SPA_PARAM_PeerCapability param, if it contained the \ref
|
||||
PW_CAPABILITY_DEVICE_ID set to `true`, the full set of formats can be sent using \ref
|
||||
pw_stream_update_params following by activating the stream using
|
||||
`pw_stream_set_active(stream, true)`.
|
||||
After having received the first \ref SPA_PARAM_PeerCapability param, if it contained the
|
||||
\ref PW_CAPABILITY_DEVICE_ID_NEGOTIATION set to a supported API version number, the full
|
||||
set of formats can be sent using \ref pw_stream_update_params following by activating the
|
||||
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
|
||||
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