| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I8c459fd5a6530d7fc253f96400208dc6911b68ec
|
|
|
|
| |
Change-Id: I993bbcdb276ea727c5088cff03cedb34e9a91c38
|
|
|
|
|
|
| |
* configurationVersion is not always correct for clips in the wild.
Change-Id: I628a8bcf47f372844f05f912ed66aea6dad0aa86
|
|
|
|
|
|
|
|
| |
* Don't change the ABI. Fun times.
This reverts commit 4440ef8efc77d1bd7838885e83d41e54deb5a3b8.
Change-Id: Ie9e0812f5e4ee700c29b76a413083858ec0255c9
|
|
|
|
|
|
|
|
|
| |
- MixerThread sets OutputFormat to PCM_FLOAT by default
We are having issue with SRS Effects due to this format
- Fix is to select always PCM16 format as Audio HAL supports
only PCM16
Change-Id: I26d23836180fe95b4c32b071593827b6fe4d674e
|
|
|
|
|
|
|
|
|
|
| |
When configureCodec fails we try to fallback to another codec that
supports the mimeType. However, this fallback is only done for
decoders and, if encoders fail, they will always end up sending
a success notification and returning true, causing mediaserver to
crash.
Change-Id: I32bee3167a8b43243cd708258435174f90f21a1b
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Proxy thread to be started , a2dp state has to updated from
the audiopolicy.
Now , added changes to send the BT A2DP status to audio HAL.
- A- Family doesn't support separate output for a2dp , removed the
getA2dpOutput(). getDeviceForStrategy() is selecting the proper
device using mA2dpSuspended flag.
CRs-Fixed: 751090
Change-Id: I599de562a8674ee611e10575fcc85e4715707a63
|
|
|
|
|
|
|
| |
* Handle FFMPEG FLAC codecs correctly, otherwise do the default codec
behavior.
Change-Id: Ib8c1c5037060ff1c5ea0a5317ab190ce2e306c1e
|
|
|
|
|
| |
Change-Id: If037b4eb6bbd864ccab050565899ce508ee90f9e
Signed-off-by: AdrianDC <radian.dc@gmail.com>
|
|
|
|
|
|
|
|
|
| |
CameraHardwareInterfaceFlashControl class calls disconnectCameraDevice
when torch is disabled. This closes connection to the camera module,
but mDevice instance is kept and variable is non-NULL which will
prevent connection next time torch is going to be enabled.
Change-Id: Icb1ffb07f05256afd92821f0f4908cda5332c05b
|
|\
| |
| |
| |
| |
| | |
git://codeaurora.org/platform/frameworks/av into cm-13.0
Change-Id: Ia41df61c3ccfeb809572b63a4b1a8ca6bd85dfb2
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Synchronize public APIs of EffectDescriptorCollection
CRs-Fixed: 920103
Change-Id: I04ccac526c6f99e61e43288776653d6b7ff325c4
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead handle them a bit better. Since the assertions dealt
with in this patchset can only happen if the OMX IL client died
while de-init'ing the component, it is impossible to deal with
all possible cases gracefully. Hence take an aggressive approach
by moving state of the component to OMX_StateInvalid. This looks
okay as per the spec, but might not be the best approach.
Change-Id: I3f23f5e3853523fe1a7fb3aaf38b46595fa91732
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixe race condition in AudioCommandThread::threadLoop() where a
command can be inserted in first position in the queue after the sleep
time has been calculated causing a longer delay than expected.
Also fix a failure to hold a wake lock while commands are still in the queue.
Bug: 22707905.
Change-Id: I813626986677bf00106acb37ee20d3dd75d5cf33
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add the GRALLOC_USAGE_PRIVATE_WFD flag to the consumer usage
flags to allow the display framework to distinguish WFD from
other virtual display connections.
Change-Id: I7cdbac3716fb5c18d1691701accb8e66f388de86
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Add necessary null checks to GraphicBuffer before passing it onto
Metadatabuffer.
Change-Id: I5cf09da4bd316e5c1733023746aa54960a36d8c9
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While setting up the component for flac, current design
is if encoder then don't use QTI flac component otherwise
use QTI flac component, so if QTI flac is not being used
then this might be wrong. So enhance the design to use
QTI flac component only when it is enabled, otherwise use
default flac component
Change-Id: I57454841611885ae7cdf75896f8297ef8132292e
CRs-Fixed: 916650
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Synchronize access to APM when getDevicesForStream is called
on APM.
CRs-Fixed: 913227
Change-Id: I2ba6922341f035375270b02000ef5a7e078f6b5a
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
--Added NULL check for mRemoteCallback
Change-Id: Ib88a128a52e81b8ec1052e3222b6d8b9e494afcc
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Drop frames in NuplayerDecoder if the corresponding
OMX_BUFFERFLAG_DATACORRUPT is set from OMX.
Add a util function to easily switch off this feature.
Do not declare MediaSource explicitly.
Change-Id: I97bd238d52d660e1ab61eac222cdff28334cc5cc
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
connect"
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If, within a binder Looper thread, a Binder object death notifier is
registered, and then a nested Binder transaction is begun, that
transaction may process a death notification callback for the
just-registered object, if it was dead at the time of registration.
This can lead to an unexpected nested call into the service, and cause
deadlock.
To avoid this, move the death notifier registration to the end of
handling the connect transaction.
Also remove one extra bit of disconnect logging.
Bug: 23525545
Change-Id: If01cbaf42704f55134118afefc9a8f7bdb014e09
|
| |\ \ \ \
| | | |/ /
| | |/| /
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use a generic function to get flags while creating
extractor, so that there is no restriction to a
particular usecase.
CRs-Fixed: 911338
Change-Id: I8520d2ea9b25ab564b7eee6610744fcaa364fe87
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
mDataSource can be deleted by client thread while GenericSource
looper is accessing dataSource in sniff functions, which can
lead to race condition. Add local sp<> to hold an additional
reference to dataSource.
Change-Id: I9e51f75f3c2bd703e381230dd93cb4d3f6621dab
CRs-Fixed: 923729
|
| |\ \ \ \
| | |/ / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
DataSource and HTTPSource can be accessed/modified by
GenericSource's looper and Client's thread which can
lead to race conditions when copying the sp<>.
Add a Mutex lock to synchronize such accesses and avoid
race conditions.
CRs-Fixed: 906899
Change-Id: I2fb4b4a7079e638e151f4fe67a780007a4011652
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Return error if the index passed by client is incorrect rather than
returning OK with null buffer.
Also add a null buffer check in MPEG4Writer as it shouldn't rely on
the source returning the correct error code, just as a precaution.
Change-Id: Iaefcd57a545ec3ce4ec0b8d4220bdf41377ff798
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MPEG4Writer makes a copy of encoded buffer to avoid holding on
to the read buffer. This is not needed with MediaCodecSource,
as the encoded-output buffer is already copied to a heap buffer.
This saves a copy and some power.
However, cloning the buffer is still needed for upstream sources
that cannot afford to keep the buffers with writer up until they
are released.
So, pass a hint in buffer's metadata to indicate if it is OK
to delay the release and not copy the buffer
Change-Id: Ib59ac29ebc6ce4afd6fc272688a8260438ab1517
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
-QTI Flac decoder is used only if QTI_FLAC_DECODER flag
is defined.
-Enable QTI_FLAC_DECODER flag if respective feature
flag is enabled.
Change-Id: I192e30af3e53a57f13aa2be5dc92bfbe5f20d096
CRs-Fixed: 927012
|
| |\ \ \ \
| | |_|_|/
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add missing __FUNCTION__ arguments into log statements.
Change-Id: I0256bad626d490fb9360a73c104afaad7a012a97
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conditionally instantiate ListenService from MediaService.
ListenServiceruns as a singleton in its own thread that calls
AudioHAL which in turn accesses Listen Driver. It is the entry
point from Application processes that want so execute Listen
commands and receive Voice detection events. It manages Listen
application resources and global states across all Listen
applications.
ListenService is similar to AudioFlinger. That is why it is
instantiated from MediaServer. Listenservice talks to AudioHAL
to deal with concurrent usage of mic.
Change-Id: I71c346bb16e0ed3a7aae9c908e03c7f1c694fe0a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Fix format specifiers for int64_t
* Fix format specifiers for size_t
Change-Id: I25a775ac3eda092e36fc231ec16698a1c4a66f8b
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Fix format specifiers for int64_t
Change-Id: If3f05d0c8c1471ea0b3a97d90a5a774a5c168915
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I774f75b493c47386ca1eaf004d663432f1041a66
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Send USB connected/disconnected events to Audio HAL
only in case of USB AOA as these are used only in
case of USB AOA
Change-Id: I7db508f6eff5e8601d54f1e1bfa603358f9d6703
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
setPhoneState calls getDeviceForInputSource to check if
voice_tx device is available as part of Primary Audio
Module. getDeviceForInputSource always returns
DEVICE_IN_COMMUNICATION for SOURCE_VOICE_COMMUNICATION
on A Family and this is not added to Available devices
This is leading to creation of txPatch when it is not
needed
Fix is to use AUDIO_SOURCE_VOICE_CALL instead of
AUDIO_SOURCE_VOICE_COMMUNICATION
Change-Id: I9aa7dd2139b8374ec7f06676d06ef5addea4b2a9
|