7638ca29e8400a19524adb982e9d22c02786de82 |
|
05-Mar-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Dynamic policies: support for device selection Dynamic policy mix: rename "registration" field to device address as this reflects the true use of the field. AudioPolicyManager: dynamic policy registration differs depending on policy routing flags. When register a mix with the RENDER flag, iterate over all outputs' patches to find a matching device and address. Bug 25448664 Change-Id: I71584081e7f1b2b5252fb6c4659fdeb464f7d282
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
8c7cf3b7d0d7bccb9affbc34ae2ab2d6b332f972 |
|
26-Feb-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Send audio patch in recording callback Remove direct access to patch handle in AudioInputDescriptor, replace with set / get functions. Add interface for AudioSession to query configuration from enclosing input descriptor. When input descriptor's patch handle changes during a recording, propagate the change through the recording notification callback. Bug 26798796 Change-Id: Ia1395d44da7ccfe69ca46877638d1eb49b3935ad
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
7281aa9810b33eff47b00104db26c97c77931611 |
|
18-Feb-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Send client / device format in recording callback Bug 26798796 Change-Id: Ib4f64159c8371d87da49a8f0cad9317a87d843c4
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
232f26f8b673973ffa463f80b08b731ffacc8785 |
|
18-Feb-2016 |
Eric Laurent <elaurent@google.com> |
DO NOT MERGE - audio policy: disable concurrent capture This reverts commit 4342335fb84bfa4ec5b99e3ef82f186820c2275f. This reverts commit 56afc7a5cc0f0bfc8021f6413b2e2267050bdc8a. This reverts commit 313d1e7dfb4bf8e0a2f09a9adb287062dd64410c. This reverts commit fb66dd9f95a1168698f072c4e5c2a2cf8c49a80f. Bug: 22702906 Change-Id: I9085918f1f7b12e28430958cceb768bb29c12bdb
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
56afc7a5cc0f0bfc8021f6413b2e2267050bdc8a |
|
03-Feb-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
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
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
fb66dd9f95a1168698f072c4e5c2a2cf8c49a80f |
|
29-Jan-2016 |
Eric Laurent <elaurent@google.com> |
Revert "Revert "audio policy for concurrent capture."" This reverts commit 84332aaa807037baca05340875f2d94fcc519ac4. Bug:26841909
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
84332aaa807037baca05340875f2d94fcc519ac4 |
|
28-Jan-2016 |
Eric Laurent <elaurent@google.com> |
Revert "audio policy for concurrent capture." This reverts commit 4b2fcd8abf90b1bd95539f9f4ef2ac39ce9e2df1. Bug:26841909 Change-Id: Ifc74b195394b9fb3f73d33455ad061bd896d5331
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
4b2fcd8abf90b1bd95539f9f4ef2ac39ce9e2df1 |
|
16-Jan-2016 |
Eric Laurent <elaurent@google.com> |
audio policy for concurrent capture. First implementation of concurrent capture policy: Initially, only capture for HOTWORD or FM TUNER sources or re-route submix is allowed at the same time as any other capture. Several capture clients can share the same input stream. In this case active clients are sorted by audio source priority level and the input path configuration and routing is driven by the highest priority active source. Bug: 22702906 Change-Id: Icbedfe001c6243ecad7a7b57ab78d893b2b97402
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
2f4fe9f7df8f22c6bc8745407d19df73128810ec |
|
05-Dec-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioPolicy: callback for recording configuration change Each AudioSession tracks start / end of recording, and sends a callback to AudioSystem. AudioSystem tracks a single recording callback tracking input source and audio session number. Change-Id: Ic065751d9ba013e03f2a6ad8dde02542e5465ec0
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|
599c758b258cc5da0dba9b530425381facc37d77 |
|
08-Dec-2015 |
Eric Laurent <elaurent@google.com> |
audio policy: audio sessions on input descriptors In preparation for concurrent capture, add support for multiple audio sessions per input stream. Each session keeps its own properties, open and active reference counting. No functional change for now: still one session per input and one active input at a time. Bug: 18815985. Bug: 22702906. Change-Id: I915a65989a7fd0d3cbe2fcf5a0aee2ea0df5f4f5
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioSession.cpp
|