| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- Extend onResume in-order to implement the Audio Voice Concurrency
changes.
Change-Id: I2b02f644df23f35b6d37d07a99d74ad56470b142
|
|
|
|
|
|
|
| |
This reverts commit 00208bc4c6d725ea9ce0795a897d42b5a32360c3.
CRs-Fixed: 941002
Change-Id: I22c9954fc3ed3207f218dde0c02f7dddc8751df9
|
|
|
|
|
|
|
| |
This reverts commit 9944bae1fda19634b04cd4e2b755c3d368405a8b.
CRs-Fixed: 941002
Change-Id: Ief7c6a1a8d9fd290da49867b1fef9f6e9e2a51a1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Forward-port the open-source code from L which was moved to closed-source
in M. This is being done out of necessity- the architecture chosen by
Qualcomm is not optimal and doesn't work well with a singular
codebase which attempts to service a large number of devices.
* This patch brings in the code to support PCM offload (AudioFlinger
bypass). This allows for playback of high resolution clips without
decimation stages, and enables reduced power consumption for audio
pipelines which take advantage of the Hexagon DSP (effects).
Change-Id: I0ef15fc3df538ab723f3c12ce0ed71d0e607c99e
|
|\
| |
| |
| | |
git://codeaurora.org/platform/frameworks/av into cm-13.0
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Extend shutdown sequence used for pcm offload to compress
offload as well. The current tear down sequence for compress
offload calls clear on the NuPlayerDecoderPassthrough object directly.
This is not guaranteed to prevent an encoded buffer from getting
queued into the Renderer. Going through a proper flush+shutdown
sequence helps prevent this (rare) scenario.
CRs-Fixed: 914308
Change-Id: Ie2040cbbd42b8c67bb53a7ef8a628faf1ab7acda
|
| |/
| |
| |
| |
| |
| |
| | |
cherry-pick of AOSP commit b75de9d4ba6725104342b5376a1047ff1c9b2765
Bug: 24712426
Change-Id: I58cca0bde708a5c3b073ed77e18b62fe81d6c017
|
| |
| |
| |
| |
| | |
Bug: 24712426
Change-Id: I58cca0bde708a5c3b073ed77e18b62fe81d6c017
|
|/
|
|
|
|
|
| |
Change access modifiers in NuPlayer and add the util
function in AVNuUtils
Change-Id: I365cce317b4478cd1d12e458b5849ea842062a28
|
|
|
|
|
|
|
|
|
|
|
|
| |
On a teardown event, follow proper shutdown sequence
if the decoder instance type is not passthrough.
This is needed to ensure NuPlayerDecoder, MediaCodec do
not enter an invalid state due to forced clear while
handling a teardown event.
CRs-Fixed: 916643
Change-Id: Ied5df07dc8567974ef02e3a0bb415795f31f2ed2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Start the Decoded PCM offload playback on speaker or headset and
connect BT, audio is not played on BT.
-During tear down event on BT connection, instantiation of decoder
is initated before actual shut down of decoder completes.So
decoder is not getting instantiated again after tear down event.
It is a race condition between instantiation of Decoder and
shut down of decoder.
-Defer the instantiation of decoder in intermediate state
CRs-Fixed: 916643, 829392
Change-Id: Ic346cb7bb7b1babe21618daa8f8746c00f4b61b3
|
|
|
|
|
|
| |
Change access modifiers and add overridable methods in HLS stack.
Change-Id: Iae8e77246cc6643735af18617717fba713d0038c
|
|
|
|
|
|
|
|
|
| |
- Extend NuPlayer setDataSource for streaming
- Create ExtendedCachedSource only for MediaPlayer streaming
usecases by passing a flag to DataSource to use extended cache
- Add extension for MediaHTTP
Change-Id: Ic87c3744bf905eb8742863951b809e38d0a60339
|
|
|
|
|
|
|
|
|
|
|
|
| |
-create extended decoder and renderer
-add change to pass bit width and format info to renderer.
-add change for PCM conversions
-add changes for time calucation
Conflicts:
media/libmediaplayerservice/nuplayer/NuPlayer.cpp
Change-Id: I3363140fad441a7746884076c40b46e777f2e06e
|
|
|
|
|
|
|
|
|
|
|
| |
Change access modifiers and qualify methods with virtual, to
allow extensions. Add facility for loading customizations
(Extended classes) dynamically.
Conflicts:
media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp
Change-Id: Icc8965754fb1c73175a13a9ad24c19665ad60988
|
|
|
|
|
|
|
|
| |
Restart from previous seek time on kWhatAudioTearDown if mRenderer
didn't supply a useful positionUs.
Bug: 22662968
Change-Id: Ic21957f676ba25fb92694f71093bed60b630390b
|
|
|
|
|
| |
Bug: 22630317
Change-Id: I0337d74f4ef04bf96f2de83f33d98d0d7da47c12
|
|
|
|
|
| |
Bug: 22460159
Change-Id: I334c6dc5e1163a462155d251eaa985ff5e3858e6
|
|
|
|
|
| |
Bug: 22117876
Change-Id: I0e00ff8f081d80946cbd19028f1f786c1b8268f3
|
|
|
|
|
|
|
|
| |
Account for dropped output-frames (rather than input-frames)
in percentage dropped frames.
Print mime and component name for each active track
Change-Id: I3491d336c696d8ed0fd1503b80afe1df47c787c8
|
|
|
|
|
| |
Bug: 18608164
Change-Id: I83252421278aeeb1c1611138994bfdaf86d7a363
|
|
|
|
| |
Change-Id: I5ee4c3ba968a2ac52266cda0425d1a709e5c0fb2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- pause after the current block when select track
- ignore metadata timestamps as they're too sparse
- use smaller range when searching for next segment to prevent
resumeUntil from downloading too much data
bug: 20500732
Change-Id: Ibda57a39ec86efd96a8dd0db95adeb92d076697a
|
|/
|
|
|
| |
Bug: 20481562
Change-Id: Ifb4b89cce5bc810f3f411c27ba61c996a488a1c0
|
|
|
|
|
|
|
|
| |
Now that Surface and SurfaceTextureClient are the same and Surface,
it does not add value.
Bug: 19489395
Change-Id: I016ecd1cf5cc51ce6244b6fa34ecd75f84e3db01
|
|
|
|
|
|
|
| |
Bug: 18249558
Bug: 19666434
Bug: 20057497
Change-Id: I5868b17423d7c20cfaf4a399f3eb67bfba440605
|
|
|
|
| |
Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
|
|
|
|
| |
Change-Id: I00a8a786b3f4b74742c34770edd94e937abe20a8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows apps to implement MediaDataSource, which is modeled on
stagefright's DataSource, to supply media data to the framework. This
was already implemented for MediaExtractor, but it was renamed from
DataSource.
MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new
overload: #setDataSource(android.media.MediaDataSource)
Only NuPlayer supports this new data source.
The change introduces:
* IDataSource: The binder interface for DataSource.
* JMediaDataSource: The native counterpart to the java interface. It
implements IDataSource.
* CallbackDataSource: A stagefright DataSource that wraps an
IDataSource.
Change-Id: Ib3c944b49cc8a792c8eb9c85e5015c07f298ebc1
|
|
|
|
|
| |
Bug: 19984798
Change-Id: Iff13cf03c4ce3141380f4d7ab4a2b1045c5ce747
|
|
|
|
|
|
| |
Bug: 19196501
Change-Id: I856b1507d5fa2cedfb645706d2435683a7d3e050
|
|\
| |
| |
| |
| | |
* commit '3a7ed550579b5ecd99439c44ce13a48b3f0639ae':
NuPlayer: pause playback when buffering is low
|
| |
| |
| |
| |
| |
| |
| | |
also fix buffering percentage report (should be the buffered position)
bug: 18730095
Change-Id: I11e7ca4ba9e772a1ae76861ca1ff1725b62f65ae
|
|\ \
| |/
| |
| |
| |
| |
| | |
AudioTrack" into lmp-mr1-dev
* commit '4c56f8e0329cbdd0f3406bde96fc6f0bba65664d':
Fix NuPlayer assertion on failure to create AudioTrack
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| | |
output frame" into lmp-mr1-dev
* commit '3253bef38cd6653768e7858f95d8baf371d58bf0':
notify seek complete upon first video output frame
|
| |
| |
| |
| |
| | |
Bug: 18541814
Change-Id: Ie4e0976885f26eb253460eab371cb181ea85f2db
|
|\ \
| |/
| |
| |
| |
| |
| | |
into lmp-mr1-dev
* commit 'e9e6a9306c42e0902d31f32dffc75135ff9dca49':
tunnel NuPlayer source and decoder input
|
| |
| |
| |
| |
| |
| | |
Bug: 18342383
Change-Id: Ieff1cd3bad2b39d46f127ddd5d5139b919992461
|
|\ \
| |/
| |
| |
| |
| |
| | |
for responsiveness" into lmp-mr1-dev
* commit '2f65ada84cced6704e8fcdb03835fe218d917fcb':
NuPlayer: pass media time to selectTrack for responsiveness
|
| |
| |
| |
| | |
Bug: 18020001
Change-Id: Id50f8473992f39d8c0aa86a1fabb2601093d2572
|
|\ \
| |/
|/|
| |
| | |
* commit 'd86450b93ab3960ccd68aed14563aaa76b43ce9b':
Fix struct vs. class mismatches
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix something being declared a struct and forward-declared a class and
vice versa.
gcc doesn't care, clang complains about the mismatch.
Change-Id: I7a7a8e9040e3c86fa1d73eb112631ea140861657
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
| |
| |
| |
| |
| |
| | |
Bug: 18342383
Change-Id: I182928007814c146c01a86196c4fda1d46e74ea4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
from seek.
This will remove the unnecessary flush for seek.
Bug: 17511837
Change-Id: I4b7acfc71a410372f5c630afb94b6a95d09d8974
|
|/
|
|
|
|
|
| |
NuPlayerDriver: allow seekTo called in STOPPED_AND_PREPARED state.
Bug: 18127606
Change-Id: I92ff9f7e0a176c434202762d30966d8c4643d1ef
|
|
|
|
|
| |
Bug: 17675112
Change-Id: I7eb3d02380658f848baedafe2aea287586ccf016
|
|
|
|
|
| |
Bug: 17653702
Change-Id: Ie0b1f92420b071a0cfcd389f5e7917a54d332541
|