| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
AudioSystem::getOutputSamplingRateForAttr()" into lmp-mr1-dev automerge: 0e8a328
* commit '9ac0177da562b8f4d2ac6f001a16658a76e6aad8':
remove AudioSystem::getOutputSamplingRateForAttr()
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
lmp-mr1-dev
automerge: 0e8a328
* commit '0e8a3284c6828e561f58e66a014c3b7ee37325cf':
remove AudioSystem::getOutputSamplingRateForAttr()
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is safer to query the output sampling rate once the output
have been acquired by calling getOutputForAttr().
Bug: 16009464.
Change-Id: Ib561facd19fba5359a6b837d75f1a1cd2dc51b29
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
support" into lmp-mr1-dev
* commit '102b17b8276f1f364f214f5d943d887f61f71765':
stagefright: add runtime debug support
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
into lmp-mr1-dev
* commit '41907c44a597ceb258495715d3dd391fef2907e3':
stagefright: add runtime debug support
|
| | |\ \ |
|
| | | |/
| | | |
| | | |
| | | |
| | | | |
Bug: 18285408
Change-Id: I56346f4652b2c5f7ef5fa3003fd8676051339384
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
async mode for recording" into lmp-mr1-dev
* commit 'b6c785eeeb8e265a64bc0210bcfbc6332d0291dd':
Stagefright: use MediaCodec in async mode for recording
audio policy: move intializations to onFirstRef()
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
for recording" into lmp-mr1-dev
* commit '08961d0b57f33e0486db2ff135f0f7fa4b1a8c58':
Stagefright: use MediaCodec in async mode for recording
audio policy: move intializations to onFirstRef()
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Async mode reduces the number of messages posted between
MediaCodec and MediaCodecSource. This reduces thread
wakeups and helps reduce CPU utilization.
Bug: 18246026
Change-Id: I4b0837f309fdd12e323c1dfa72525f5a31971a03
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
mediaserver death" into lmp-mr1-dev automerge: e662cd5
* commit '5239bad27472b9ae42be924a98850683e5e70476':
Improve AudioTrack recovery from mediaserver death
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
lmp-mr1-dev automerge: e662cd5
* commit 'b177468bb1647c79ba48cd0a172cf3306b31ad69':
Improve AudioTrack recovery from mediaserver death
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1. Fix race condition in handling of binder death notifications.
AudioSystem has a mixture of APIs for both ordinary app clients,
and the AudioFlinger and AudioPolicy services within mediaserver.
Due to this mix of uses, it is possible for there to be "surprising"
sequences of calls on the call stack.
Previously, we used a single mutex for all global variables, but
this caused a deadlock. To avoid the deadlock, we unlocked the mutex
during the critical sequence of calls. But this was a a
crucial place where it should have stayed locked;
see Change-Id I315c1c5066f62b05e1c13b04fae1272b5fbce977
Now we use separate mutexes for the AudioFlinger, AudioPolicy, and audio port
related global variables. This allows us to correctly hold each mutex
throughout the atomic region, even when AudioFlinger calls AudioPolicy
via AudioSystem, or vice-versa.
2. AudioSystem::clearAudioConfigCache now clears the IAudioFlinger reference.
3. Make AudioSystem::get_audio_policy_service more like get_audio_flinger.
Bug: 18242291
Change-Id: I9761443d8337df5bf66d4ca2316a9fd0bd11be94
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
onFrameAvailable" into lmp-mr1-dev
* commit 'f8d051fee37b1a0734e4142072d3053fed8df161':
Add a BufferItem parameter to onFrameAvailable
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
onFrameAvailable" into lmp-mr1-dev
* commit '034d674721029e3b7e34fe30ee31814c521b62bf':
Add a BufferItem parameter to onFrameAvailable
|
| | |\ \ \ |
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
lmp-mr1-dev automerge: c339a92
* commit 'caf27abc62e15abc628c04183d3188728fe98990':
AudioSystem: remove obsolete method.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
automerge: c339a92
* commit '7e88fac080e3bb1cdc95667f82727ea6c19fb173':
AudioSystem: remove obsolete method.
|
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Bug: 18067208.
Change-Id: I9bbf9088485f5162c765ca504d9b784b956234c6
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
plugin on format change" into lmp-mr1-dev
* commit '6e0da0226503ddea118d43962a76fa2fa56bad1e':
Pass resolution to Crypto plugin on format change
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
change" into lmp-mr1-dev
* commit 'e0e8223c10e051b73fdcbed4fc67a69df2655c56':
Pass resolution to Crypto plugin on format change
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I56cd557ce3525fe625db8c312d2557d3c8b51101
related-to-bug: 16034599
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
methods" into lmp-mr1-dev
* commit 'a4dd2e19f917f25b3eee36f499b126dc115e5446':
Add missing secure stop methods
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
lmp-mr1-dev
* commit '7ed62fb4a7401adc3e8b4e082bcfa21de443ebbe':
Add missing secure stop methods
|
| | |\ \ \
| | | |/ / |
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
b/18053197
b/18076411
Change-Id: I923dc893d48c70bf17980007b32f0ac5dfd22896
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
in queryDefaultPreProcessing
* commit '5fa013ea79066ec47589f38f94f557d021bd56eb':
IAudioPolicyService: bound array size in queryDefaultPreProcessing
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
queryDefaultPreProcessing
* commit '7e31774e7195bc0479e1a09b2ef8a114e893598f':
IAudioPolicyService: bound array size in queryDefaultPreProcessing
|
| | |/
| | |
| | |
| | |
| | | |
Bug: 18226810.
Change-Id: Ib8e2bfe835a8681aac50bf23161db14e50c9a124
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
automerge: df2592b automerge: ff41266
* commit 'eb9ee3c08f3e397a726395f8658a087fb659e780':
do not hold mNotifyLock when calling MediaPlayer::notify
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
automerge: ff41266
* commit 'ff412661240d6ad34800512cb60841f8b0700107':
do not hold mNotifyLock when calling MediaPlayer::notify
|
| | |
| | |
| | |
| | |
| | | |
Bug:18120688
Change-Id: Ia66dcfc3fd2d67d1ceba9808d21e0120cc8691d6
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
"stagefright: try to free codec instance if MediaCodec.release hangs" into lmp-dev
* commit '11f437a6665167d8aee6db59df6e4753aa190bf7':
stagefright: try to free codec instance if MediaCodec.release hangs
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
to free codec instance if MediaCodec.release hangs" into lmp-dev
* commit 'edcff417bbb2e76245b559e7c9a8b98c2a60e102':
stagefright: try to free codec instance if MediaCodec.release hangs
|
| | |\
| | | |
| | | |
| | | | |
into lmp-dev
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18033275
Change-Id: If86cd26566d7b75941976f37829bbec619800778
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
"Stagefright: MediaCodec: shutdown allocated codec on error" into lmp-dev
* commit 'ccaf667eb6e96a28caedb0d4f776b1ff9c4aed10':
Stagefright: MediaCodec: shutdown allocated codec on error
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
MediaCodec: shutdown allocated codec on error" into lmp-dev
* commit 'ffe398116e5049e80ac818dbc621f06fe0196038':
Stagefright: MediaCodec: shutdown allocated codec on error
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If MediaCodec sees a fatal error and transitions to
UNINITIALIZED state, The codec may still be alive (with an
exception of 'mediaserver-died' error).
Handle Shutdown of the codec during release().
Bug: 17784012
Bug: 18033275
Change-Id: I891e036499d9b440a57f77fb735a5ba4da9a6e43
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
class layout for 64/32 bit" into lmp-dev
* commit '3d54bda88e5c0e251c93367c81a316859cc17c1e':
Fix VideoFrame class layout for 64/32 bit
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
for 64/32 bit" into lmp-dev
* commit 'bd15f216197c1866f0a20d7a4af3eabb9edf6261':
Fix VideoFrame class layout for 64/32 bit
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This structure is passed between 64 and 32 bit processes via shared
memory, so ensure it's the same size, and that the members we care
about are in the same place.
Bug: 17569156
Change-Id: Id776bc825af1fbf43a6dd3407cca064f6d932902
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
uuids need to be unique, and things don't work properly when they're
not.
Also fix/enhance/extend the dumpEffectDescriptor() method, and
include a list of effects in audioflinger dumpsys.
Change-Id: I3dfbc5ed0f7272c7809e337f2929212ece047ee4
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
output buffers for tunneled playback" into lmp-dev
* commit '9d06b8026d551c24527d6f72f134046d94068c46':
stagefright: do not allocate output buffers for tunneled playback
|