mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
acp: add volume base and step
Add a READONLY property flag to makr properties READONLY Set the base_volume and volume_step in the acp device Send the base volume and step as REAONLY properties. Use these in pulse layer.
This commit is contained in:
parent
f75dfde89c
commit
e030445e49
8 changed files with 40 additions and 11 deletions
|
|
@ -283,6 +283,8 @@ struct global {
|
|||
float channel_volumes[SPA_AUDIO_MAX_CHANNELS];
|
||||
uint32_t device_id; /* id of device (card) */
|
||||
uint32_t profile_device_id; /* id in profile */
|
||||
float base_volume;
|
||||
float volume_step;
|
||||
} node_info;
|
||||
struct {
|
||||
uint32_t node_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue