| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the value of the multiplier used in calculating
mNormalFrameCount is odd, it is rounded off to a higher even value.
This results in an increase of mNormalFrameCount and thereby
the latency which is not expected.
Do not prefer an even multiplier and let the value remain as is
even if it is odd.
CRs-Fixed: 931454
Change-Id: Ia60d87d01caef6f45998bffeafc3d6a24f7c7fb4
|
|
|
|
|
|
|
| |
- Check Direct PCM usecase with Offload
- do not process s/w effect when direct PCM is enabled
Change-Id: I2eb843b17558e60cf36daff0c5fbdf50dccf99ca
|
|
|
|
| |
Change-Id: If91536d2be0165c90effccdfa2b92722223eb905
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix compilation with debug enabled
* Allow FLAC offload to be enabled independent of QCOM_HARDWARE,
tested with the Nexus 5X and is working!
* Disable the FLACExtractor if offload is enabled since it can
only output decoded PCM. This will force FFMPEG to be used,
which does everything we need for FLAC offload
Change-Id: I7d71c153a6a6ea7df8e32bc73f5cbe9f51cdcf64
|
|
|
|
|
|
|
|
|
| |
Direct output is not selected for voip usecases as
AUDIO_OUTPUT_FLAG_VOIP_RX is not added to
sOutputFlagNameToEnumTable.
Add this flag to output flags list.
Change-Id: Ifccb78a7b8579da0a65eb3ea7347756c664246a8
|
|
|
|
|
|
|
|
|
| |
Legacy ALSA really hates floating point, and it's breaking
mic input when doing things like audio recording.
Use the old conversion routine for legacy ALSA.
Change-Id: I616f4cd42fa0e4d7595dd61ed2d36c4fa7052c53
|
|\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/av into cm-13.0
Android 6.0.1 release 3
Change-Id: I2f2a1fe1b58c828e8341556996211562d6e195ab
|
| |
| |
| |
| |
| |
| |
| | |
IResourceManagerClient.
Bug: 25166048
Change-Id: I35f9917079c4b783a7cf4cef94b3c7112760c0b8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change prevents a crash in the camera service when the camera
HAL notifies the service about the absence of a removable camera and
there happens to be no client connected to the service. It checks
that the pointer returned from clientToDisconnect.get() is non-null
before trying to dereference it (as is done in existing code
immediately below this change).
Bug: 25165323
Change-Id: I8055654bac980542e63ea7f52bf897eaafbc09bc
Signed-off-by: Tom Keel <thomas.keel@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add missing __FUNCTION__ arguments into log statements.
Ack by: Dilip Gopalakrishna
Bug: 25023187
Change-Id: I0256bad626d490fb9360a73c104afaad7a012a97
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--Added NULL check for mRemoteCallback
Ack by: Susmitha Gummalla
Bug: 25023187
Change-Id: Ib88a128a52e81b8ec1052e3222b6d8b9e494afcc
|
| |\
| | |
| | |
| | | |
mnc-dr-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure no active capture takes place while in call and the
capture device is the same as the call TX device.
Bug: 23977713.
Change-Id: Ia379d5e626c150ea49f0cdd581c881dbf0b8399d
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
So HAL can use vendor tags on first get_camera_info call.
Bug: 24913201
Change-Id: I73f17de87e3712a27f9cee366995df27a740f5cb
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When transitioning from speaker phone to normal mode and a USB
headset is connected, we must force a teardown of active input
as the new input device cannot be reached via current input stream.
Bug: 24406915.
Change-Id: I9f7c1d3f3cba285c25a6da1d54a3d15a5c1f378a
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add video recording stop sound to match MediaActionSound.
Bug: 24745252
Change-Id: I84b69757c7e0a98abfaafcce5f41dd45fd41cf74
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
mnc-dr-dev
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
Bug: 24909924
Change-Id: Icb1ffb07f05256afd92821f0f4908cda5332c05b
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 21093153.
Change-Id: I389af11451b01ce49fdb8957e2f322ba1925a62e
(cherry picked from commit da73b6c7474aaa5616f0214e238776f12717f32b)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
static audio tracks use obtainBuffer() to update position in start().
Bug: 22938515
Change-Id: I8ae32f6cce4d122386d2cf8982e158049b04ba9a
|
| |\ \
| | |/
| |/|
| | |
| | | |
* commit '4c6e77ff8e18a1551320a6b42f6a45e19dcce748':
AudioFlinger: Clear record buffers when starting RecordThread
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 24211743
Bug: 24267152
Change-Id: I58c55e56b85067b71e4e300f947b4dfc159637ba
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 23999740
Change-Id: I3165404add455528b22951ba47b682a075b50087
(cherry picked from commit 014e91e471edba3f9b2c71ff6025274716b0f587)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't forbid effects being added for mono channel.
Change-Id: Ib080c6c9ac263239668b639a788c29154726210d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a fast-track using shared buffer is restarted, we need to call
obtainbuffer if frameReady has already become zero, even if track is
still active. This is required to reset mFramesReadySafe. Otherwise
mFramesReadySafe remain at 0 and fastmixer can't consume data from
the track when it is re-used.
Change-Id: I5d6f364f8f31baad3341bd4f51bf8a8b147cd7d7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Audio can be heard when muting volume as the minimum volume
value takes 0.0f instead of VOLUME_MIN_DB (-758).
This patch fixes the minimum volume value which should be
VOLUME_MIN_DB instead of 0.0f.
Change-Id: I4cb8093b6d9f18e5330ba5f770b9133baa77542f
Signed-off-by: Safa Boumaiza <Safax.boumaiza@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Current implementation in AudioFlinger set the effects to state IDLE
when they are created. Later on when the effect is enabled by the
client, the state changes to STARTING.
Then when the audio playback starts, the AudioFlinger thread loop
calls EffectChain::process_l() to perform the effects processing.
However this method will first call process() and then updateState(),
so the firstprocess won't do anything because the effect is in
STARTING state. After the call to updateState, the state is moved
to ACTIVE and then next calls to process_l() will work as expected.
Change-Id: I9dfd3d5a0e53403034eb42f9366e1b3cdc5249c0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Loud clicks/pops are heard when playing to a USB device with
AudioFX enabled. Particularly frequent when the USB device is
capable of high-resolution output.
* Adjust the throttling period when effects are enabled to
prevent this.
Change-Id: I3db220d13c37f4ff5b835c14831fbe6f5a5b062c
|
| | |
| | |
| | |
| | | |
Change-Id: I8c459fd5a6530d7fc253f96400208dc6911b68ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Synchronize access to APM when getDevicesForStream is called
on APM.
CRs-Fixed: 913227
Change-Id: I2ba6922341f035375270b02000ef5a7e078f6b5a
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
--Added NULL check for mRemoteCallback
Change-Id: Ib88a128a52e81b8ec1052e3222b6d8b9e494afcc
|
| |\ \ \ \
| | |/ / /
| |/| | |
| | | | | |
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
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Add missing __FUNCTION__ arguments into log statements.
Change-Id: I0256bad626d490fb9360a73c104afaad7a012a97
|
| | | |
| | | |
| | | |
| | | | |
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
|