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

Skip to content
Commit 100f0121 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

APM: Improve surround formats management, include MSD

This is what this change does:

1) Renames APM::mSurroundFormats into mManualSurroundFormats
   and avoids modifying it in modifySurroundFormats, because
   multiple surround-capable devices are possible.
   modifySurroundFormats logic is also a bit simplified.

2) Changes the way APM::getSurroundFormats reports enabled
   formats, after the change  1).

3) Includes MSD module into consideration as a surround-capable
   device.

4) Changes APM::dump to only show mManualSurroundFormats
   when surround sound is enforced into manual management.

5) Adds Dolby AC-4 to the list of surround formats.

6) Declares surround formats on the devicePort of MSD.

Bug: 117602867
Test: Surround Sound settings with MSD module
Change-Id: I5cdd3c012a3febcf7170cc5fa7378224b3ef9e4f
parent 04228920
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