| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 16030677
Change-Id: Ida04e04f41983b9126609522dd12064a7bf9645f
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix uninitialized variable that caused ADTS recording to incorrectly
specify LTP object in the header.
Bug: 17895547
Change-Id: I75650f4963f4f371cd191bc635e32c9ab17fa8c9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If ClientProxy was interrupted by AudioTrack::pause() just before futex syscall() in obtainBuffer() was called,
It will not call releaseBuffer to wake up AudioTrackThread.
It puts the AudioTrackThread to sleep and then a deadlock occurs.
In this case, CBLK_INTERRUPT flags can't prevent a deadlock,
so this patch set mFutex to FUTEX_WAKE during interrupt() to avoid deadlock.
A similar problem could occur due to re-route or recovery after mediaserver death.
Bug: 18641665
Change-Id: I66fcae43af9a91eb55f6cdb52c644ee6c0999772
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Legacy DRM uses AwesomePlayer for widevine content.
Bug: 18006370
Change-Id: I1de9e33de51b60352a9c79c2dcedec330160abe4
|
|\ \ \
| | | |
| | | |
| | | | |
lmp-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some flags are only set in configure, and get lost when output
format changes.
Bug: 17383204
Change-Id: I2011bce70920c4ee46fccc378da3b428f3395c11
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
changed to fix pause-seek-getCurrentPosition." into lmp-mr1-dev
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fix pause-seek-getCurrentPosition.
NuPlayerDecoder: Notify resume is done when EOS is reached.
GenericSource: add code to signal pre-roll for seek so that it will seek to the requested position,
not only I-frame. This code is disabled temporarily till we have a full solution to handle both
single seek and continous seek gracefully.
Bug: 18625723
Change-Id: I99a54d4d549e0d805e3abcc227fbf96c16405af0
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
releaseAudioPatch() does not necessarily remove the audio patch
from the list.
Scan the list from the top down to avoid adjusting the index.
Bug: 18621514.
Change-Id: I58787154680f7cb1818509017835b1693d62190f
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- separate secure decoding from widevine
- use non-blocking mode when reading from widevine source
- schedule buffer read when packet source is empty
bug: 18536934
Change-Id: I65a8e5e819975ca6900ed8e887a442940f2d5d38
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Accept any value for sampling rate, format or channel mask
if the list of supported values is empty in the AudioPort.
Bug: 18575607.
Change-Id: I93e1942b89c630e3fee490799a8f8d79f7831ab7
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
lmp-mr1-dev
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If track is restored when it set its volume to a non-unity value (such as mute),
the volume was forced to unity again. Now, the previous volume is restored.
Bug: 18570664
Change-Id: I79f34c6c7d6f535baba813fd3b8ba8e55cac8ad7
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Bug: 18640480
Change-Id: I7b772d10b2bd136c78395fd2816114b27bb48d00
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AF state mismatch while selecting ZSL candidate should not be treated
as a warning. This results into undesriable spam in the logs.
ALso, using ALOGVV is consistent with how AE state mismatch is handled
in ZslProcessor3.cpp
Bug: 18634318
Change-Id: Ia9d7f2bb98f784990b1a6f923983c35f622c3791
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Forcing virtualization mode with AOSP code might erroneously return
a failed code, whilst it was correct. Fixing the condition for
Automatic mode.
bug: 18538537
Change-Id: I5837ff40cfed04c99889813cd56ebe3d90793e74
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Under heavy media load or monkey/stress testing, more than
32 AudioTracks may be created or memory resources may be scarce.
Remove the assertion on failure to create AudioTrack
and signal MEDIA_ERROR.
Bug: 17319843
Change-Id: I5d4e200b5f50d800046851a33e035cdc6ff10075
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 18532335
Change-Id: I9c34401a928dc0ddbd0923aa5f127dc628efbb92
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
though there is non-zero byte at the beginning of the buffer." into lmp-mr1-dev
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
is non-zero byte at the beginning of the buffer.
ESQueue: allow one PES playload contains multiple ADTS AAC frames.
Bug: 18532335
Change-Id: I1f42017cff139d5e932e0aaa3e7d33164d1a48e7
|
|\ \ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Returns INVALID_OPERATION.
Bug: 18605649
Change-Id: I440fb687fbf9249098e049982fa83bcd1515fd80
|
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
Bug: 18615604
Change-Id: I0245556b8164959dd52fe677901cbfc517627cb4
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
into lmp-mr1-dev
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows an invalid ADTS buffer to be abandoned when frame length in
the header exceeds buffer size.
Bug: 18532335
Change-Id: I8057db525d06ff00ca24afd075a7c6c17b87eaa8
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
unexpectedly
https://partner-android-review.git.corp.google.com/#/c/187894/
Change-Id: I3f9175bbc302e382155e568e66b88400ec05ffa5
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
|
|/ /
| |
| |
| |
| | |
Bug: 18532335
Change-Id: I7819d8d359fe75ea4c827138e9aaa2454ccfe3b1
|
| |
| |
| |
| |
| |
| |
| | |
Also add flag to avoid reading on flush.
Bug: 18540219
Change-Id: I2fc351c32c87db9a8c8c2aad12ee2bd56a0370ab
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18541814
Change-Id: Ie4e0976885f26eb253460eab371cb181ea85f2db
|
|\ \ \
| | | |
| | | |
| | | | |
lmp-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
lmp-mr1-dev
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
bug: 18513091
Change-Id: I192625c61834584f711de76db788c2c0332ae774
|
|\ \ \
| | | |
| | | |
| | | | |
output" into lmp-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a digital output (HDMI or S/PDIF) is configured with
a non linear PCM audio format it is likely that the audio HAL
or HW will not be able to mix other sounds with the main
media stream being played.
In this case, do not condider HDMI or S/PDIF as a valid route for
accessibilty strategy so that accessibility prompts are always audible.
Bug: 18067208.
Change-Id: If20603a1dc1dc470f206f841308bed2b87daf21c
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
lmp-mr1-dev
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Bug: 18217633
Change-Id: Ica77acf0a32832d9b04eb657ef2f4f5329f8fbda
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For per-frame error notifications, camera3.h requirements state that all the
buffer handles for a failed frame capture must be returned via
process_capture_result() call(s). Hence, Camera3Device needs to ensure that
the frame entry is not deleted from mInFlightMap until all buffers for that
frame have been returned by HAL.
Bug: 17757940
Change-Id: I2579ca7980d2fd67d53abc530e2706538f7d3d3a
|