mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: flags just have 1 value
This commit is contained in:
parent
2be4c2ba51
commit
818ef4e138
2 changed files with 4 additions and 3 deletions
|
|
@ -1019,8 +1019,9 @@ A choice contains an array of possible values.
|
||||||
child2 and child3, in steps of child4 in the value array.
|
child2 and child3, in steps of child4 in the value array.
|
||||||
- Enum (3) : child1 is a default value, options are any value from
|
- Enum (3) : child1 is a default value, options are any value from
|
||||||
the value array, preferred values come first.
|
the value array, preferred values come first.
|
||||||
- Flags (4) : child1 is a default value, options are any value from
|
- Flags (4) : only child1 is a flag value. When filtering, the flags
|
||||||
the value array, preferred values come first.
|
are AND-ed together.
|
||||||
|
|
||||||
- flags: must be 0
|
- flags: must be 0
|
||||||
|
|
||||||
## Pod (20)
|
## Pod (20)
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ enum spa_choice_type {
|
||||||
SPA_CHOICE_Range, /**< range: default, min, max */
|
SPA_CHOICE_Range, /**< range: default, min, max */
|
||||||
SPA_CHOICE_Step, /**< range with step: default, min, max, step */
|
SPA_CHOICE_Step, /**< range with step: default, min, max, step */
|
||||||
SPA_CHOICE_Enum, /**< list: default, alternative,... */
|
SPA_CHOICE_Enum, /**< list: default, alternative,... */
|
||||||
SPA_CHOICE_Flags, /**< flags: default, possible flags,... */
|
SPA_CHOICE_Flags, /**< flags: first value is flags */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct spa_pod_choice_body {
|
struct spa_pod_choice_body {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue