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

Skip to content
Commit ba60668f authored by Vlad Popa's avatar Vlad Popa
Browse files

CTA2075: Refactored the LCC API

Avoiding setting the AudioTrack. The LCC is now created by passing the
AudioAttributes and sessionId of the tracks that will receive loudness
annotated pcm values.

The new API makes it easier to send out the initial update for a media
codec by calculating the standard routing for the passed
AudioAttributes even though no AudioTrack is registered.

Test: adb shell device_config put media_audio android.media.audio.loudness_configurator_api true
Test: atest LoundessCodecHelperTest
Test: atest LoudnessCodecControllerTest
Bug: 298463873
Bug: 312529024
Bug: 314961545

Change-Id: Ic437bb6114aa3aa14debf5b443afdd0b9638ff8f
parent 28774a4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment