mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pod: add HARDWARE flag to spa_pod_prop
Add HARDWARE flag to mark a property that does some hardware control. Mark the device volume/mute property as HARDWARE or not. Use the HARDWARE property in pulse to set the right flags.
This commit is contained in:
parent
8e6b276d51
commit
cf8db93cd4
5 changed files with 25 additions and 11 deletions
|
|
@ -194,6 +194,7 @@ struct spa_pod_fd {
|
|||
struct spa_pod_prop {
|
||||
uint32_t key; /**< key of property, list of valid keys depends on the
|
||||
* object type */
|
||||
#define SPA_POD_PROP_FLAG_HARDWARE (1u<<0) /**< property for some sort of hardware parameter */
|
||||
uint32_t flags; /**< flags for property */
|
||||
struct spa_pod value;
|
||||
/* value follows */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue