mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
backend-native: report battery status to BlueZ
This commit is contained in:
parent
a1ed8aec68
commit
2683c1ef5e
2 changed files with 239 additions and 3 deletions
|
|
@ -433,6 +433,8 @@ struct spa_bt_device {
|
|||
struct spa_list remote_endpoint_list;
|
||||
struct spa_list transport_list;
|
||||
struct spa_list codec_switch_list;
|
||||
uint8_t battery;
|
||||
int has_battery;
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
bool added;
|
||||
|
|
@ -503,7 +505,6 @@ struct spa_bt_transport {
|
|||
enum spa_bt_transport_state state;
|
||||
const struct a2dp_codec *a2dp_codec;
|
||||
unsigned int codec;
|
||||
uint8_t battery;
|
||||
void *configuration;
|
||||
int configuration_len;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue