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
Loading
Please register or sign in to comment