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

Commit 8dd599a6 authored by Trevor Knight's avatar Trevor Knight
Browse files

Add speakerChannelMask to AudioDevicePort and use it for new API

This CL adds a speakerChannelMask field to AudioDevicePort and uses it for AudioDeviceInfo.getSpeakerChannelMask(). This field represents the physical output speaker layout of the device, powered by a new AIDL field in AudioPortDeviceExt.aidl

The field is set by convertAudioPortFromNative.

Bug: 337522902
Test: m
Flag: android.media.audio.speaker_layout_api
Change-Id: I5a4a99d27538d192069b98bc0f921b88b0463e05
parent 3a74114a
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