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

Skip to content
Commit e3a86d3a authored by Jeremy Wu's avatar Jeremy Wu
Browse files

Floss: pass request status for audio connection

Requests to start the audio are non-blocking and are not guaranteed to
be fulfilled. Currently, Floss exposes |get_x_audio_connected| to allow
the audio stack to query the audio state and decide if it should retry
or give up on the request in case it takes too long.

However, requests could be rejected immediately (e.g., due to Floss
being temporarily busy with other requests), in which case the audio
stack has no way to know of, and could only unavailingly query if the
audio state has changed to |started|.

In this CL, we return whether the request was made/being processed for
those interfaces.

Bug: 259420892
Test: Deploy and verify DBus signature
Tag: #floss

Change-Id: Ib9bb53f6b1a808bcfcaafd61fb550281cb33cb2e
parent dfd36a1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment