pulse: keep track of availability of active port

Also emit a device change event when the availability of the
active port changes.
This commit is contained in:
Wim Taymans 2020-09-09 13:51:42 +02:00
parent 8638fd0411
commit c8700b2e4b
2 changed files with 13 additions and 4 deletions

View file

@ -299,6 +299,7 @@ struct global {
float base_volume;
float volume_step;
uint32_t active_port;
enum spa_param_availability available_port;
uint32_t device_index;
} node_info;
struct {