mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: fix BIS source presentation delay
The value comes from QoS preset, not configurable otherwise right now. Patch from @michael-kong754
This commit is contained in:
parent
b0b6b1fcc5
commit
984c44b044
1 changed files with 1 additions and 3 deletions
|
|
@ -191,7 +191,6 @@ struct spa_bt_big {
|
|||
struct spa_list link;
|
||||
char broadcast_code[BROADCAST_CODE_LEN];
|
||||
bool encryption;
|
||||
int presentation_delay;
|
||||
struct spa_list bis_list;
|
||||
int big_id;
|
||||
int sync_factor;
|
||||
|
|
@ -5781,7 +5780,6 @@ static void configure_bis(struct spa_bt_monitor *monitor,
|
|||
uint8_t metadata [METADATA_MAX_LEN];
|
||||
uint8_t caps_size, metadata_size = 0;
|
||||
struct bap_codec_qos qos;
|
||||
int presentation_delay;
|
||||
struct spa_bt_metadata *metadata_entry;
|
||||
struct spa_dict settings;
|
||||
struct spa_dict_item setting_items[2];
|
||||
|
|
@ -5863,7 +5861,7 @@ static void configure_bis(struct spa_bt_monitor *monitor,
|
|||
append_basic_variant_dict_entry(&qos_dict, "SDU", DBUS_TYPE_UINT16, "q", &qos.sdu);
|
||||
append_basic_variant_dict_entry(&qos_dict, "Retransmissions", DBUS_TYPE_BYTE, "y", &qos.retransmission);
|
||||
append_basic_variant_dict_entry(&qos_dict, "Latency", DBUS_TYPE_UINT16, "q", &qos.latency);
|
||||
append_basic_variant_dict_entry(&qos_dict, "PresentationDelay", DBUS_TYPE_UINT32, "u", &presentation_delay);
|
||||
append_basic_variant_dict_entry(&qos_dict, "PresentationDelay", DBUS_TYPE_UINT32, "u", &qos.delay);
|
||||
|
||||
dbus_message_iter_close_container(&variant, &qos_dict);
|
||||
dbus_message_iter_close_container(&entry, &variant);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue