| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ / /
| | |
| | |
| | |
| | | |
Bug: 18615604
Change-Id: I0245556b8164959dd52fe677901cbfc517627cb4
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This allows an invalid ADTS buffer to be abandoned when frame length in
the header exceeds buffer size.
Bug: 18532335
Change-Id: I8057db525d06ff00ca24afd075a7c6c17b87eaa8
|
|/
|
|
|
| |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |_|/
|/| |
| | | |
lmp-mr1-dev
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
- don't crash when count of buffers is incorrect, or when the buffer
size decreases.
This allows configuring SW video encoders for smaller than QCIF size.
Bug: 18513091
Change-Id: Ibfcd6b883a892156e408e94fbc329103b9ac09ac
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug: 18342383
Change-Id: Ieff1cd3bad2b39d46f127ddd5d5139b919992461
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
Also rememeber the pause time in NuPlayerDriver.
Bug: 18436336
Change-Id: If09f680a0d0f9137bd55c5f94201eb3aa783278a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
bug: 18434887
Change-Id: I70dff721710b7299d1ca1f8520278f82d355141d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
StaticAudioTrackServerProxy::framesReady() previously returned
only the contiguous frames, update to return the total
available frames. This resolves short-count looping in
SoundPool for FastTracks.
Also (1) Removes the racy condition of reading two variables
and (2) Fixes buffer->mNonContig to return the correct value
and (3) Restores behavior that loop count of 1 goes back to
loopStart once during playback.
Bug: 11830751
Bug: 12070295
Bug: 17456842
Change-Id: I64906e6036bb00a1d7375b03efe6deb69d6478ca
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
Bug: 18277034
Change-Id: Ia8c35791eea88545a873cad339eb6b5fc25d1d97
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Do not hold gLockAPS when calling
AudioPolicyService::registerClient() in get_audio_policy_service().
registerClient() will need to acquire the AudioPolicyService mutex and
if at the same time a method called from AudioPolicyService
(with mutex held) calls back into AudioSystem and get_audio_policy_service()
a cross deadlock occurs.
Same preventive fix for get_audio_flinger().
Use a separate mutex for notification client list in AudioPolicyService.
This prevents deadlocking if registerClient() is called as a consequence of
AudioFlinger calling back into AudioPolicyManager while executing a method
with AudioPolicyService locked
Bug: 18403952.
Bug: 18450065.
Change-Id: Ia832e41aede8bc6c843fc615508fbdd74e0863b5
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 17383204
Change-Id: I7209305b4ff3c2386019d7a09d6a0536e9f21522
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use MediaFormat.setInteger("auto-frc", 1) to turn this feature on.
If supported, this feature will show up in codec.getOutputFormat().getInteger("auto-frc")
Otherwise, this key will not be present.
Bug: 17383204
Change-Id: I03549b3ede4de156e9e2d81b3883010360bb42ae
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
teardown." into lmp-mr1-dev
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also always recheck if a new stream can do offload.
Bug: 18154425
Change-Id: I121877834bd963eeeba91a2b951fd30d5dc36a8b
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix cross deadlock with AudioFlinger by adding
a dedicated mutex to protect access to cached output list
and parameters.
Bug: 18410728.
Change-Id: Ia31283b1972d8865a46e84e63695173c187eb781
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
change" into lmp-mr1-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug:17488643
Change-Id: I4f5de42f86d6c616a67dc803f35c026b35347983
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some apps think it's cool to use ringtones as notification sounds, but
ringtones often loop, which is not appropriate for notifications.
Bug: 15929273
Change-Id: I77c4277801cb2561743f8c676ef76ab4d1668b08
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
lmp-mr1-dev
|
| |/ / /
| | | |
| | | |
| | | | |
Bug: 18020001
Change-Id: Id50f8473992f39d8c0aa86a1fabb2601093d2572
|