enum spa_choice_type {
SPA_CHOICE_None, /**< no choice, first value is current */
SPA_CHOICE_Range, /**< range: default, min, max */
SPA_CHOICE_Step, /**< range with step: default, min, max, step */
SPA_CHOICE_Enum, /**< list: default, alternative,... */
SPA_CHOICE_Flags, /**< flags: default, possible flags,... */
};
struct spa_pod_choice_body {
uint32_t type; /**< type of choice, one of enum spa_choice_type */
uint32_t flags; /**< extra flags */ struct spa_pod child; /* 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_object_body {
uint32_t type; /**< one of enum spa_type */
uint32_t id; /**< id of the object, depends on the object type */ /* contents follow, series of spa_pod_prop */
};
/* props can be inside an object */ struct spa_pod_prop {
uint32_t key; /**< key of property, list of valid keys depends on the
* object type */ #define SPA_POD_PROP_FLAG_READONLY (1u<<0) /**< is read-only */ #define SPA_POD_PROP_FLAG_HARDWARE (1u<<1) /**< some sort of hardware parameter */ #define SPA_POD_PROP_FLAG_HINT_DICT (1u<<2) /**< contains a dictionary struct as * (Struct( * Int : n_items, * (String : key,
* String : value)*)) */ #define SPA_POD_PROP_FLAG_MANDATORY (1u<<3) /**< is mandatory */ #define SPA_POD_PROP_FLAG_DONT_FIXATE (1u<<4) /**< choices need no fixation */
uint32_t flags; /**< flags for property */ struct spa_pod value; /* value follows */
};
/* controls can be inside a sequence and mark timed values */ struct spa_pod_control {
uint32_t offset; /**< media offset */
uint32_t type; /**< type of control, enum spa_control_type */ struct spa_pod value; /**< control value, depends on type */ /* value contents follow */
};
struct spa_pod_sequence_body {
uint32_t unit;
uint32_t pad; /* series of struct spa_pod_control follows */
};
/** a sequence of timed controls */ struct spa_pod_sequence { struct spa_pod pod; struct spa_pod_sequence_body body;
};
/** * \}
*/
#ifdef __cplusplus
} /* extern "C" */ #endif
#endif/* SPA_POD_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.