diff options
| author | 2024-11-07 23:46:22 +0000 | |
|---|---|---|
| committer | 2024-11-13 18:39:20 +0000 | |
| commit | a1be72756c4dbb7eb5c1e480a869ccb1518d9139 (patch) | |
| tree | 2102d971ab695ad4004f4b7501a415859bc48802 /libs/input/PointerController.cpp | |
| parent | 5fe41e4aa1d192a89c5129621269c32fec638e9f (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions