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

Skip to content
Commit a1be7275 authored by Robert Wu's avatar Robert Wu
Browse files

Add client-side APIs for getRoutedDevices()

After you open an audio stream, you can call getRoutedDevice() to
get which output device is actually used.

However, if you play an ALARM with a headset attached, audio comes
out of both the speaker and the headset. This is not properly reflected
with our current APIs.

This CL adds the client side APIs for getRoutedDevices().

Bug: 367816690
Test: presubmit
Flag: android.media.audio.routed_device_ids
Change-Id: I23ba7c4a3dcaa9683db638778bdff65fe422f8df
parent 5fe41e4a
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