| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
lmp-mr1-dev
* commit 'ba20a08670dfb3bb0ab58b0e1e48fe1178c7cfcb':
DO NOT MERGE - audio flinger: fix fuzz test crash
|
| |\
| | |
| | |
| | | |
Change-Id: I9b2b1ff690d35e0da644bdb52c8c42a72e5fd4f6
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
lmp-dev
* commit 'bdb5e49787dcb56fec68a2410a0985bfe388cd14':
DO NOT MERGE - audio flinger: fix fuzz test crash
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clear output stream pointer in duplicating thread
when the main output to which it is attached is closed.
Also do not forward master mute and volume commands to
duplicating threads as this is not applicable.
Also fix logic in AudioFlinger::primaryPlaybackThread_l()
that could accidentally return a duplicating thread.
This never happens because the primary thread is always
first in the list.
Bug: 20731946.
Change-Id: Ic8869699836920351b23d09544c50a258d3fb585
(cherry picked from commit f6870aefc5e31d4220f3778c4e79ff34a61f48ad)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18001784.
Bug: 18002005.
Change-Id: I8efa674dceff5a6e10251b1c7a55e9bb2d532395
(cherry picked from commit dea1541fc0042abf05674b19c2f94ca086945dfd)
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
* commit '995599cbd6ada739c257716a6d8b90eee6d61473':
audioflinger: fix duplicating thread output buffers clear
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also clear mix buffer in DuplicatingThread::threadLoop_mix()
instead of just sink buffer when output threads are not
ready.
Bug: 18262127.
Change-Id: I4c22bbeaccdcc8d7c10c5882dde3439eb73d6ede
(cherry picked from commit 02b5708776ba2a9b4ff8c09008483aef7dbe38c7)
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'e849af8737d9302a7b24fa2f0083cde01c9cd4fc':
Cherry-pick two BufferItem changes
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
libcameraservice: Stop using IGBC::BufferItem
(cherry picked from commit 027c772ed30ddd32808df669e37a53e9b97b1f99)
libstagefright: Stop using IGBC::BufferItem
(cherry picked from commit 983e2be81f9ea767ae4d8b19669c1c080ecf58d4)
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | |
| | | |
| | | | |
DeviceVector::getDevicesFromType()
* commit '81e776d00ddf3bfa6c5cf3368418c21bef66262e':
DO NOT MERGE - audio policy: fix DeviceVector::getDevicesFromType()
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix device type comparison in DeviceVector::getDevicesFromType():
AUDIO_DEVICE_BIT_IN bit must be excluded from type comparison
and used as an orthogonal match criterium.
Manual cherry-pick from master 4c91f90
Bug: 19957479
Change-Id: Ica9f440384bcb85e669864bd29504a4fda862ce7
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '5d46bd54a279f24d0476b83947ce29e786b5c72c':
audiopolicy: send device connect notification to HALs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Device disconnect notifications are sent from audiopolicy to
the HALs. Send connect notifications as well.
Bug: 19249796.
Bug: 17785277.
Change-Id: Ia823ed154d6a0c7ceb84b0a94f0c3b78392faaf6
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
selection" into lmp-mr1-dev
* commit '14a849c267bdcf564c30f9f2ebf0d619b36f500a':
audio policy: add fallback for output selection
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When getOutputForDevice() finds a matching direct output profile
but fails to open it, try to fallback to downmix on mixer output
when format is PCM and sampling rate allows it.
Bug: 19197137.
Change-Id: I197b9b202504265b6928e69740875cb7aba5c2c5
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
declared devices" into lmp-mr1-dev
* commit '6f4428de2b4ab10393bbac2441586ac514c8cf53':
audio policy: match attached device to declared devices
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make sure that when a new audio device is connected,
and a specific profile for this device is listed in
audio_policy.conf, this particular profile is used instead
of a default generic profile.
Bug: 19188567.
Change-Id: I5f576fcd697adc041b2cfbd2bac7a51bcc2143b9
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'f1121d963b51c798ab28c85eeff1eedc9bb2c186':
Fix FLAG_BEACON regression
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix regression where FLAG_BEACON is not honored anymore in terms
of routing and muting behavior
When converting from AudioAttributes to stream types, also look
at FLAG_BEACON for mapping to STREAM_TTS
Bug 19185342
Change-Id: I5871c1b94480ae3da544aef99ea9ab4dff97443d
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
initialization" into lmp-mr1-dev
* commit '8c403b2265fdef64ac4ba903e6261edd22d81909':
Audio policy: fix device gain initialization
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix initilization of default gain configuration for
audio devices loaded from audio_policy.conf.
Initialization cannot be done in constructor as the possible
gain configurations are not loaded yet.
Bug: 19120566.
Change-Id: I78f057ecfa1a121365ac3d8f317912a6f1647627
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'a789e51942c7572e0c9f54326d6d9d0ff65d6941':
Camera: make sure jpeg buffer size isn't too small
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Assuming the jpeg header can take up to 256KB, make sure we always
allocate enough size for the image data.
Bug: 18962703
Change-Id: I08eb3d198d12f71f3ab7266324e80fe7410bdc89
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'bf2751a5ea6a306c2ba51a0658ec10aa889a81fa':
fix audio patch leak.
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Always wait for status when executing a create audio patch
command in audio policy service command thread.
The returned patch handle must be passed back to audio policy manager
so that the patch can be modified later.
Failing to do so causes a leak of patch descriptors in audio flinger.
Bug: 19032387.
Change-Id: I5462d1437fac244d9c5e38f2c7b8e1a4c01d2b75
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
parser" into lmp-mr1-dev
* commit '65cb339de0f628c82bdd5c68d868b6f3dc83cf04':
fix leak in audio policy effect config parser
|
| |\ \ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Free temporary effect descriptors created in
loadAudioEffectConfig().
Bug 19021726.
Change-Id: Icd44216e25df3fe683a01763d7e8a7b84f367a1a
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
earphone while BT earphone is connected" into lmp-mr1-dev
* commit 'eed5e4bd2b25da3e1965f4ab360f3cea1ccbcc2c':
[FM]There is no sound output from BT earphone while BT earphone is connected
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18847131
Review: https://partner-android-review.git.corp.google.com/#/c/193318
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
Change-Id: I79703ba4ceb67ca3b95fbc71444dd3b116ba4131
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
lmp-mr1-dev
* commit '78c02ddb6bf0d676160244a62c11dceb68301b73':
make libserviceutility a shared lib
audio policy: fix remote mic capture
audio policy: suppport for dynamic source
Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions
Fix race condition in signaling completion for decode.
AnotherPacketSource: need reset some members before returning from queueDiscontinuity().
Fix looping sound playback
AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
so that we have only one getpid_cached in mediaserver process
bug: 18919657
Change-Id: Iff3cd932c9110e874b3885f79705f49bf3e3f1fc
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
AudioTrack underruns" into lmp-mr1-dev
* commit '6ab33981d45cd69e683a143fec6530e66bd3e371':
audioflinger: pause HW A/V sync output when AudioTrack underruns
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into lmp-mr1-dev
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Do not standby, starve or feed 0s to the audio HAL on direct
output using HW A/V sync mode.
Bug: 17883772.
Change-Id: I11e6c97ec24360d75f9b602814d40a54b60cb7a7
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
lmp-mr1-dev
* commit 'fb5d35c00d1c4d672d245b6820551808617eba46':
fix record from default input source
|
| |\ \ \ \ \ |
|
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Commit caf7f48a0e broke capture from default
input source on some devices: the input source is now specified as part of
the audio attributes and the default source was not remapped to mic source.
Bug: 18736417.
Change-Id: I3f5da33cdb56f959aaef68ed1952342babc63aa0
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Before the audio patch is created, audio patch with same handle is
removed from vector for patches. At this time, Patch allocated in the
heap is not freed. This causes memory leaks in the mediaserver.
Bug: 18904322.
Change-Id: Id0d28c36a7e7fbf473753bf4ead7518f28c1b998
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
available.
* commit '01310cd7adad778f8a6d0e4bc73dae068638abf2':
close remote submix's output when device is not available.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- change output close logic to find the device from IOProfile rather than
AudioPatch as AudioPatch handle can be cleared before disconnect.
- Otherwise, remote submix can be stuck as output is never closed and does not
work any more as subsequent open fails as output is already taken.
bug: 18733215
Change-Id: Iddb481c91e81070e6be18996a4c8837dabd7ebdb
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '76758100c85622c178355959e454651310ea0011':
fix memory leak in PatchPanel
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '43637c2e0313ed9fea4e4aceb14c166349327aea':
fix memory leak in PatchPanel
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Before the audio patch is created, audio patch with same handle is
removed from vector for patches. At this time, Patch allocated in the
heap is not freed. This causes memory leaks in the mediaserver.
Change-Id: Id0d28c36a7e7fbf473753bf4ead7518f28c1b998
|