bluez5: Implement routes

Implement routes on the device. This makes it possible for the
session manager to restore the device volumes.
Use validate_config to get the negotiated channels for the route
volumes.
This commit is contained in:
Wim Taymans 2021-01-07 18:10:22 +01:00
parent 5bb7a0f573
commit e91fbd2721
4 changed files with 473 additions and 48 deletions

View file

@ -292,6 +292,9 @@ struct spa_bt_transport {
void *configuration;
int configuration_len;
uint32_t n_channels;
uint32_t channels[64];
int acquire_refcount;
int fd;
uint16_t read_mtu;