mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -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
|
|
@ -273,7 +273,9 @@ struct global {
|
|||
uint32_t client_id; /* if of owner client */
|
||||
uint32_t monitor;
|
||||
#define NODE_FLAG_HW_VOLUME (1 << 0)
|
||||
#define NODE_FLAG_DEVICE_VOLUME (1 << 1)
|
||||
#define NODE_FLAG_HW_MUTE (1 << 4)
|
||||
#define NODE_FLAG_DEVICE_MUTE (1 << 5)
|
||||
uint32_t flags;
|
||||
float volume;
|
||||
bool mute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue