mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-26 12:28:24 +02:00
proxy: make the FEATURES_MINIMAL and FEATURES_ALL constants part of the enum
This fixes their parsing by g-i, correcting their values in the bindings, which were previously wrong. Fixes #540
This commit is contained in:
parent
b106b774f8
commit
6ed05b3f00
1 changed files with 19 additions and 21 deletions
|
|
@ -31,30 +31,28 @@ typedef enum { /*< flags >*/
|
|||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PORT_CONFIG = (1 << 8),
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_ROUTE = (1 << 9),
|
||||
|
||||
/*!
|
||||
* The minimal feature set for proxies implementing WpPipewireObject.
|
||||
* This is a subset of \em WP_PIPEWIRE_OBJECT_FEATURES_ALL
|
||||
*/
|
||||
WP_PIPEWIRE_OBJECT_FEATURES_MINIMAL =
|
||||
(WP_PROXY_FEATURE_BOUND | WP_PIPEWIRE_OBJECT_FEATURE_INFO),
|
||||
|
||||
/*!
|
||||
* The complete common feature set for proxies implementing
|
||||
* WpPipewireObject. This is a subset of \em WP_OBJECT_FEATURES_ALL
|
||||
*/
|
||||
WP_PIPEWIRE_OBJECT_FEATURES_ALL =
|
||||
(WP_PIPEWIRE_OBJECT_FEATURES_MINIMAL |
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS |
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_FORMAT |
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROFILE |
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PORT_CONFIG |
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_ROUTE),
|
||||
|
||||
WP_PROXY_FEATURE_CUSTOM_START = (1 << 16), /*< skip >*/
|
||||
} WpProxyFeatures;
|
||||
|
||||
/*!
|
||||
* \brief The minimal feature set for proxies implementing WpPipewireObject.
|
||||
* This is a subset of \em WP_PIPEWIRE_OBJECT_FEATURES_ALL
|
||||
* \ingroup wpproxy
|
||||
*/
|
||||
#define WP_PIPEWIRE_OBJECT_FEATURES_MINIMAL \
|
||||
(WP_PROXY_FEATURE_BOUND | WP_PIPEWIRE_OBJECT_FEATURE_INFO)
|
||||
|
||||
/*!
|
||||
* \brief The complete common feature set for proxies implementing
|
||||
* WpPipewireObject. This is a subset of \em WP_OBJECT_FEATURES_ALL
|
||||
* \ingroup wpproxy
|
||||
*/
|
||||
#define WP_PIPEWIRE_OBJECT_FEATURES_ALL \
|
||||
(WP_PIPEWIRE_OBJECT_FEATURES_MINIMAL | \
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS | \
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_FORMAT | \
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROFILE | \
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PORT_CONFIG | \
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_ROUTE)
|
||||
|
||||
/*!
|
||||
* \brief The WpProxy GType
|
||||
* \ingroup wpproxy
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue