mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pod: document that the choice array might have excess elements
The choice array might have excess elements when the type has been changed, for example by fixation. This is not a problem and the excess elements should simply be ignored.
This commit is contained in:
parent
a3582f0e0f
commit
c3b550478a
1 changed files with 2 additions and 1 deletions
|
|
@ -144,7 +144,8 @@ struct spa_pod_choice_body {
|
||||||
uint32_t type; /**< type of choice, one of enum spa_choice_type */
|
uint32_t type; /**< type of choice, one of enum spa_choice_type */
|
||||||
uint32_t flags; /**< extra flags */
|
uint32_t flags; /**< extra flags */
|
||||||
struct spa_pod child;
|
struct spa_pod child;
|
||||||
/* array with elements of child.size follows */
|
/* array with elements of child.size follows. Note that there might be more
|
||||||
|
* elements than required by \a type, which should be ignored. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct spa_pod_choice {
|
struct spa_pod_choice {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue