Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b96ac915 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Rongxuan Liu
Browse files

broadcaster: Use specified presentation delay

Recommended by BAP 1.0, presentation delay is 40 ms for both: Low
Latency, High Reliability mode.

Tag: #Bug
Flag: EXEMPT lea broadcast only change feature disabled by system prop
Test: atest bluetooth_test_broadcaster
Bug: 315239407
Change-Id: I7a76105632dd0282326f9dd6deafaa1d853cb06f
parent 854656cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ class LeAudioBroadcasterImpl : public LeAudioBroadcaster, public BigCallbacks {
    BasicAudioAnnouncementData announcement;

    /* Prepare the announcement */
    announcement.presentation_delay = 0x004E20; /* TODO: Use the proper value */
    announcement.presentation_delay = 40000; /* us */

    auto const& codec_id = codec_config.GetLeAudioCodecId();