spa: alsa: Add a mechanism for external volume control

Currently enabled at device creation and delegated to an external entity
via spa_device events.
This commit is contained in:
Julian Bouzas 2026-05-15 10:11:13 -04:00
parent 40fde01372
commit 2470aaa31f
9 changed files with 660 additions and 85 deletions

View file

@ -69,6 +69,8 @@ struct pa_card {
const struct acp_card_events *events;
void *user_data;
bool ext_volume_ctrl;
};
bool pa_alsa_device_init_description(pa_proplist *p, pa_card *card);