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:
Wim Taymans 2020-07-07 13:12:57 +02:00
parent f75dfde89c
commit e030445e49
8 changed files with 40 additions and 11 deletions

View file

@ -169,6 +169,9 @@ struct acp_device {
char **device_strings;
struct acp_format format;
float base_volume;
float volume_step;
struct acp_port **ports;
uint32_t n_ports;
};