mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-06 00:06:33 -04:00
spa: alsa: Support volume control commands for external volume control
This commit is contained in:
parent
2470aaa31f
commit
a11bf9f25b
3 changed files with 262 additions and 0 deletions
|
|
@ -310,9 +310,11 @@ uint32_t acp_device_find_best_port_index(struct acp_device *dev, const char *nam
|
|||
int acp_device_set_port(struct acp_device *dev, uint32_t port_index, uint32_t flags);
|
||||
|
||||
int acp_device_set_volume(struct acp_device *dev, const float *volume, uint32_t n_volume);
|
||||
int acp_device_set_volume_updown(struct acp_device *dev, bool up);
|
||||
int acp_device_get_soft_volume(struct acp_device *dev, float *volume, uint32_t n_volume);
|
||||
int acp_device_get_volume(struct acp_device *dev, float *volume, uint32_t n_volume);
|
||||
int acp_device_set_mute(struct acp_device *dev, bool mute);
|
||||
int acp_device_toggle_mute(struct acp_device *dev);
|
||||
int acp_device_get_mute(struct acp_device *dev, bool *mute);
|
||||
int acp_device_get_volume_limit(struct acp_device *dev, float *min, float *max);
|
||||
int acp_device_set_volume_limit(struct acp_device *dev, float min, float max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue