c447ded04f11169e9b96b31cd196b2c4ffa9f31c |
|
06-Jan-2015 |
Eric Laurent <elaurent@google.com> |
fix record from default input source Commit caf7f48a0e broke capture from default input source on some devices: the input source is now specified as part of the audio attributes and the default source was not remapped to mic source. Bug: 18736417. Change-Id: I3f5da33cdb56f959aaef68ed1952342babc63aa0
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
baac183f3808d7b68f184647a97bd381620415fe |
|
02-Dec-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: binder calls for dynamic audio policy mixes Add binder calls to register and unregister dynamic mixes to AudioPolicyManager. Bug: 16009464. Change-Id: I4ef38166d0cfc88c984970969380d0cd6eb083ac
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
caf7f48a0ef558689d39aafd187c1571ff4128b4 |
|
26-Nov-2014 |
Eric Laurent <elaurent@google.com> |
AudioRecord: use audio attributes instead of audio source. Added AudioRecord constructor with audio attributes. Replaced AudioPolicymanager::getInput() by getInputForAttr(). No new functionality for now. Also: - Fixed warnings in AudioPolicyManager - Allocate audio session ID before calling getOutputForAttr() in AudioTrack. Bug: 16006090. Change-Id: I15df21e4411db688e3096dd801cf579d76d81711
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
e83b55dc29ca16092ba02f36f55fa6e0e37fd78c |
|
14-Nov-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: new getOutputForAttr() prototype. Update getOutputForAttr() prototype and group all logic dealing with audio attributes to stream type conversion in audio policy manager. getOutputForAttr(): - specifies the audio session (for future use) - returns a status code - receives either stream type (for legacy) or audio attributes - returns an updated streamtype Remove logic dealing with legacy stream types to attributes conversion from AudioTrack. Use correct type for audio sessions in other APIs (startOutput() ...). releaseOutput() specifies the audio session (for future use). Bug: 18067208. Change-Id: I1bfbe9626c04c7955d77f8a70aecfad2cb204817
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
223fd5c9738e9665e495904d37d4632414b68c1e |
|
11-Nov-2014 |
Eric Laurent <elaurent@google.com> |
audio: new routing strategies and stream types Added new routing strategies and stream type for internal use by audio policy manager and audio flinger: - One for accessibility to allow different routing than media - One for re-routing (remote submix) in preparation of dynamic policies - Added stream type for "internal" audio flinger tracks used for audio patches and duplication. Bug: 18067208. Change-Id: I88f884b552e51e4a49c29125e5a1204cf58ff434
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
b1322c78b035c9f47ebe57a39799d7a0e13bf57f |
|
30-Oct-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: fix commit dea1541f Fix return types in early returns added by commit dea1541f in AudioPolicy binder call methods. Also fix former similar mistakes found nearby. Bug: 18001784. Bug: 18002005. Change-Id: I088c6029ca04e2c2c2f78e560c9cb6b9576dd88f
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
dea1541fc0042abf05674b19c2f94ca086945dfd |
|
28-Oct-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: validate stream type received from binder calls. Bug: 18001784. Bug: 18002005. Change-Id: I8efa674dceff5a6e10251b1c7a55e9bb2d532395
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
f53eaf49df1e1e1c01708919e9e0a046543de9b6 |
|
09-Oct-2014 |
Hochi Huang <hochi.huang@mediatek.com> |
fix FM no sound issue Review: https://partner-android-review.git.corp.google.com/#/c/184276 Signed-off-by: Carson Liao <carson.liao@mediatek.com> Change-Id: I0847c8a6e6d054a9258b52402c914105d902c573
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
f380677f21240ffb78bcdf7c804fe0a7807fb08d |
|
07-Oct-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: fix build with USE_LEGACY_AUDIO_POLICY Bug: 17894512. Change-Id: I6431c0b03ba02cf561413c34848a334caa0261fa
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
8b1e80bf1e9f214feea219cfe981ba533b806003 |
|
07-Oct-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: fix lockup during mediaserver restart When pre or post processing effects are applied by audio policy service automatically there is a potential lockup if the first call into AudioPolicyService is made while creating one of those effects. This is because effects are created with AudioPolicyService mutex held and effect creation calls into methods (e.g registerClient()) which also acquire the mutex. The fix consists in adding a new mutex to AudioPolicyEffects class and not hold the AudioPolicyService mutex when calling methods in of class. Bug: 17830596. Change-Id: Ie61c3671d3147f46e99ba208f39c1a3bf180779f
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
bb6c9a05840d924b502ce0f1868fca4881ada1ed |
|
25-Sep-2014 |
Eric Laurent <elaurent@google.com> |
audio: fix stream type for accessibility usage Make sure that accessibility prompts are heard when a ringtone is active by forcing stream type to AUDIO_STREAM_RING when phone state is AUDIO_MODE_RINGTONE. Bug: 17558149. Change-Id: Ia3bead8052fca5cbf282c267f7b9b06014fef628
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
df3dc7e2fe6c639529b70e3f3a7d2bf0f4c6e871 |
|
28-Jul-2014 |
Eric Laurent <elaurent@google.com> |
Add sound trigger control by audio policy Audio policy: - Added active capture indication to sound trigger service: recognition stops if concurrent capture is not supported. - Added generation of reserved I/O handle and session ID for utterance capture. Sound trigger service - Added sound model update callback handling. - Added service state callback - Simplified callback shared memory allocation. Bug: 12378680. Change-Id: Ib0292c2733e6df90fdae480633dd9953d0016ef1
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
4dc680607181e6a76f4e91a39366c4f5dfb7b03e |
|
29-Jul-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: pass session ID to capture activity methods Indicate the audio session ID when calling getInput(), startInput(), stopInput(), releaseInput(). Bug: 12378680. Change-Id: I763793752f93e2f4e1445a5ab217c895af011038
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
a7e04803ffa0d8d4cc51a122f68bf5038422aabb |
|
21-Jul-2014 |
Glenn Kasten <gkasten@google.com> |
Remove execute bit Change-Id: I1cf0c0d9375779b3074af12f4cbf9c1ec07bf4ff
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
b3b1660ecb67f61f9da54efced8677fa3a6f4863 |
|
16-Jul-2014 |
Glenn Kasten <gkasten@google.com> |
Add audio_input_flags_t to IAudioPolicyService::getInput Change-Id: I9f37be05f8dc7b85a8827a94e76ca0f45453e170
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
7c5b60ae8b8793b2d601ecf459807c974120331b |
|
15-Jul-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: build with USE_LEGACY_AUDIO_POLICY Change-Id: I9def12ea689b00c0295c670c07373dacfb186799
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
ba2b43990a7b4f0f2c425cf6cdfc63376a45772c |
|
11-Jun-2014 |
bryant_liu <bryant_liu@htc.com> |
frameworks: av: services: audiopolicy: Added AudioPolicyEffects Manage pre- and postprocessing effects defined in audio_effects.conf Change-Id: Idea1478e3d434f8ff66907adb3c77663db78d583
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
8670c31fddbeadcf9627aa970c69a823f13939ff |
|
01-Apr-2014 |
Eric Laurent <elaurent@google.com> |
IAudioPolicyService interface extension for patch panel Change-Id: I0a62e5416edc41c3a0e816275085ab18a23066f1
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|
dce54a1492c410ad0d93253b341fb33305337505 |
|
10-Mar-2014 |
Eric Laurent <elaurent@google.com> |
audio policy: add option to use new policy manager Add build option USE_LEGACY_AUDIO_POLICY to use either new audio policy manager in local AudioPolicyManager.cpp or the legacy AudioPolicyManagerBase.cpp via the policy HAL. New features will be implemented only by the new audio policy manager. Platform customiization will be by config file or new policy HAL. AudioPolicyClientImplLegacy.cpp copied from AudioPolicyClientImpl.cpp AudioPolicyInterfaceImplLegacy.cpp copied from AudioPolicyInterfaceImpl.cpp New implementations of AudioPolicyInterface and AudioPolicyClient talking directly to AudioPolicyManager. Change-Id: I7a320883a1de13de2c9295343e996addf2f3c154
/frameworks/av/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
|