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

Skip to content
Commit 56afc7a5 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Fix connection of OUT_REMOTE_SUBMIX device on APM startInput

Fix a regression in AudioPolicyManager::startInput() where
 the OUT_REMOTE_SUBMIX audio device was never made available
 due to the test on the input descriptor, which was already
 active by the time it is tested, as the activity on the
 session has already been updated.

Add methods to AudioInputDescriptor and AudioSessionCollection
 to query the number of active sessions. Use the new method
 to optimize AudioSessionCollection::hasActiveSession()

Bug 26798796

Change-Id: I2de4e47970505e64c4c78a148a80a9f0ec19e821
parent 2e5408ac
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