bluez5: support BAP hardware volume

Support BAP HW volume now that it's implemented in BlueZ, with the
volume range 0-255 per spec.
This commit is contained in:
Pauli Virtanen 2025-01-25 10:04:12 +02:00 committed by Wim Taymans
parent b72eed8f03
commit 34ac0d8256
2 changed files with 12 additions and 3 deletions

View file

@ -596,6 +596,7 @@ int spa_bt_sco_io_write(struct spa_bt_sco_io *io, uint8_t *data, int size);
#define SPA_BT_VOLUME_INVALID -1
#define SPA_BT_VOLUME_HS_MAX 15
#define SPA_BT_VOLUME_A2DP_MAX 127
#define SPA_BT_VOLUME_BAP_MAX 255
enum spa_bt_transport_state {
SPA_BT_TRANSPORT_STATE_ERROR = -1,