OSDN Git Service
Robert Shih [Wed, 19 Mar 2014 02:19:55 +0000 (02:19 +0000)]
am
43ca783e: httplive: block-by-block fetch, decrypt, and parse ts files.
* commit '
43ca783effd99bba0e6e2dd6fe177a8888578ef8':
httplive: block-by-block fetch, decrypt, and parse ts files.
Robert Shih [Thu, 27 Feb 2014 20:33:24 +0000 (12:33 -0800)]
httplive: block-by-block fetch, decrypt, and parse ts files.
Bug:
12060952
Change-Id: I695345081fe23961b9d0ef6db264885f914703ec
Igor Murashkin [Mon, 17 Mar 2014 22:56:00 +0000 (22:56 +0000)]
am
bd3e2e03: camera2: Fix segfault when using null availability listener
* commit '
bd3e2e03f3ab686c52982a9e50cae853128172cf':
camera2: Fix segfault when using null availability listener
Igor Murashkin [Mon, 17 Mar 2014 20:01:41 +0000 (13:01 -0700)]
camera2: Fix segfault when using null availability listener
ICameraService::addListener / removeListener will now return BAD_VALUE
if a null listener is used.
Bug:
12891434
Change-Id: I9764110094d8fd42e22fcc8df3ef0e73c1b070e7
Marco Nelissen [Fri, 14 Mar 2014 22:55:52 +0000 (22:55 +0000)]
am
75dcf510: Merge "Verify certificates" into klp-dev
* commit '
75dcf5101c90e31bbac95694d835b0e8f57ba720':
Verify certificates
Marco Nelissen [Fri, 14 Mar 2014 22:27:17 +0000 (22:27 +0000)]
Merge "Verify certificates" into klp-dev
Lajos Molnar [Fri, 14 Mar 2014 04:10:37 +0000 (04:10 +0000)]
am
70cc5bdc: Merge changes Ic46e3069,Idc92716b into klp-dev
* commit '
70cc5bdc0fca3f67f3602f04152c29323cad99df':
LiveSession: fix incorrect stream key (subtitle"s")
M3UParser: trim spaces when parsing comma separated codecs.
Lajos Molnar [Fri, 14 Mar 2014 04:10:37 +0000 (04:10 +0000)]
am
67a10c52: Merge "httplive: clear access units before returning from seekTo." into klp-dev
* commit '
67a10c522898d8223f5a2d389a846b7e2327148a':
httplive: clear access units before returning from seekTo.
Chong Zhang [Thu, 13 Mar 2014 23:53:41 +0000 (23:53 +0000)]
am
cf49a51f: fix codec buffer leak in error handling when timestamp goes backward
* commit '
cf49a51ff59c3cd228d178d23252ac0d39d5a893':
fix codec buffer leak in error handling when timestamp goes backward
Marco Nelissen [Thu, 13 Mar 2014 21:18:25 +0000 (14:18 -0700)]
Verify certificates
b/
13418320
Change-Id: I3052dd5f9ec057e700784cd713f6a7dab9ecfe7b
Chong Zhang [Thu, 13 Mar 2014 19:33:54 +0000 (19:33 +0000)]
am
c69bc40a: Merge "Cap pts gap between adjacent frames to specified value" into klp-dev
* commit '
c69bc40a347c411751cb082b3eb4a82d976a68ec':
Cap pts gap between adjacent frames to specified value
Chong Zhang [Thu, 13 Mar 2014 19:33:54 +0000 (19:33 +0000)]
am
1c608ab3: save mGraphicBuffer pointer even when we\'re suspended
* commit '
1c608ab33acab82d4a87f1abedcc99a623d1b53a':
save mGraphicBuffer pointer even when we're suspended
Lajos Molnar [Wed, 12 Mar 2014 20:58:37 +0000 (20:58 +0000)]
Merge changes Ic46e3069,Idc92716b into klp-dev
* changes:
LiveSession: fix incorrect stream key (subtitle"s")
M3UParser: trim spaces when parsing comma separated codecs.
Lajos Molnar [Wed, 12 Mar 2014 20:58:14 +0000 (20:58 +0000)]
Merge "httplive: clear access units before returning from seekTo." into klp-dev
Chong Zhang [Fri, 14 Feb 2014 23:26:00 +0000 (15:26 -0800)]
fix codec buffer leak in error handling when timestamp goes backward
don't touch codec buffer if we decided to drop a frame with bad pts
Bug:
11971963
Change-Id: I9b4c56210f64258f1be257b14184381a1133e0d6
(cherry picked from commit
b63d2433350d56bda9f3477549086c90bb6d535e)
Chong Zhang [Tue, 11 Mar 2014 22:09:39 +0000 (22:09 +0000)]
Merge "Cap pts gap between adjacent frames to specified value" into klp-dev
Robert Shih [Tue, 11 Mar 2014 00:27:15 +0000 (17:27 -0700)]
LiveSession: fix incorrect stream key (subtitle"s")
Bug:
13402087
Change-Id: Ic46e3069c6e41f90ead47cae84cbe0123d11002a
Robert Shih [Tue, 11 Mar 2014 00:05:01 +0000 (17:05 -0700)]
M3UParser: trim spaces when parsing comma separated codecs.
Bug:
13402087
Change-Id: Idc92716bfefd6d1b0cb371d0d97d990d53288090
Robert Shih [Mon, 3 Mar 2014 23:08:27 +0000 (15:08 -0800)]
httplive: clear access units before returning from seekTo.
Bug:
12060952
Change-Id: I6a69a718c082501003ee9b78a948a2f8bbfbb14e
Chong Zhang [Sat, 11 Jan 2014 01:36:57 +0000 (17:36 -0800)]
Cap pts gap between adjacent frames to specified value
- In the scenario of cast mirroring, encoding could be suspended
for prolonged periods. Limiting the pts gap to workaround the
problem where encoder's rate control logic produces huge frames
after a long period of suspension.
- Repeat last frame a couple more times to get better quality
on static scenes.
- Fix the timestamp on repeat frames (it was not set)
Bug:
11971963
Change-Id: I1d68ab3d269874bf3921aa429a985c5f63e428c7
(cherry picked from commit
94ee4b708acfa941581160b267afb79192b1d816)
Chong Zhang [Sat, 18 Jan 2014 00:29:59 +0000 (16:29 -0800)]
save mGraphicBuffer pointer even when we're suspended
Bug:
12609966
Change-Id: Ifd41fd973876da69039113fcaeacdccf39472b37
(cherry picked from commit
49270665e7a20cd120724fc388da8b166ff0b4f1)
Zhijun He [Tue, 11 Mar 2014 19:46:25 +0000 (19:46 +0000)]
am
bc69c8ba: DO NOT MERGE: Camera: delete preview callback when preview size is changed
* commit '
bc69c8ba9a8fc881603669205a56d0ca1b572a95':
DO NOT MERGE: Camera: delete preview callback when preview size is changed
Zhijun He [Tue, 21 Jan 2014 20:15:56 +0000 (12:15 -0800)]
DO NOT MERGE: Camera: delete preview callback when preview size is changed
Preview callback stream is left configured even the preview size is changed.
This makes the callback stream unnecessarily configured even in recording mode,
which could cause distorted preview for some devices.
Bug:
12210027
Bug:
12591410
Change-Id: If50cddfe5562e91aec1feb1760eccb82ddb21730
Eric Laurent [Sat, 8 Mar 2014 02:00:05 +0000 (02:00 +0000)]
am
6db20dcb: Merge "AudioTrack: When paused, return cached playback position" into klp-dev
* commit '
6db20dcb54dad932a3ea2e3a5dca41fce5802eb4':
AudioTrack: When paused, return cached playback position
Eric Laurent [Sat, 8 Mar 2014 00:29:56 +0000 (00:29 +0000)]
Merge "AudioTrack: When paused, return cached playback position" into klp-dev
Glenn Kasten [Fri, 7 Mar 2014 21:14:51 +0000 (21:14 +0000)]
am
2f55c2c0: Merge "Simplify AudioTrack stream end and fix race" into klp-dev
* commit '
2f55c2c03b17795e94b325d402ac5b409e3ba0e8':
Simplify AudioTrack stream end and fix race
Marco Nelissen [Fri, 7 Mar 2014 21:14:51 +0000 (21:14 +0000)]
am
5874615f: Allow for larger codec private data
* commit '
5874615f26a6ba9cda8ba359e5035b21f6e3818b':
Allow for larger codec private data
Glenn Kasten [Fri, 7 Mar 2014 20:22:38 +0000 (20:22 +0000)]
Merge "Simplify AudioTrack stream end and fix race" into klp-dev
Glenn Kasten [Fri, 20 Sep 2013 16:28:56 +0000 (09:28 -0700)]
Simplify AudioTrack stream end and fix race
Bug:
10994052
Change-Id: Ib2e38e7a600bcffef8cbc68c1722e40fbbc7ea67
Marco Nelissen [Mon, 3 Feb 2014 22:33:16 +0000 (14:33 -0800)]
Allow for larger codec private data
This change adds support for multibyte sizes in the ESDS. Previously the
Matroska extractor only supported single byte sizes, so codec private data
had to be less than 108 bytes, and would crash if it was bigger.
b/
12584090
Change-Id: I9edfc2f687187d1e98bcfd2fe56576312435df3e
Marco Nelissen [Fri, 7 Mar 2014 18:28:40 +0000 (18:28 +0000)]
am
5bc83fc3: Merge "Fix SIGABRT when playing mp4 file" into klp-dev
* commit '
5bc83fc352e5682ecafe61d77062c26ac8db4229':
Fix SIGABRT when playing mp4 file
Marco Nelissen [Fri, 7 Mar 2014 18:22:53 +0000 (18:22 +0000)]
Merge "Fix SIGABRT when playing mp4 file" into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:42:14 +0000 (02:42 +0000)]
am
49ea1337: Merge changes I787e1c05,I72d3a5e1,I0a5cc65f,I75fc2a25,I2c2be08d, ... into klp-dev
* commit '
49ea13379fb15ddb73183ebafa3a377342ef932f':
LiveSession: Use the actual, possibly redirected url as base in the M3U
M3UParser: Skip query strings when looking for the last slash in a URL
ChromiumHTTPDataSource: Keep track of the redirected URL
Initial HLS seamless switch implementation.
NuPlayer side support for seamless format switch.
LiveSession refactor
PlaylistFetcher: Add support for block-by-block decryption.
LiveSession: Add support for block-by-block fetchFile.
Lajos Molnar [Fri, 7 Mar 2014 02:42:13 +0000 (02:42 +0000)]
am
e0c3058a: Merge "AnotherPacketSource support to get latest buffered MetaData." into klp-dev
* commit '
e0c3058a1d0953f4c85bfc964926cf5babb7dbac':
AnotherPacketSource support to get latest buffered MetaData.
Lajos Molnar [Fri, 7 Mar 2014 02:38:23 +0000 (02:38 +0000)]
am
2613347d: Merge "Added support to query ACodec whether adaptive playback is enabled." into klp-dev
* commit '
2613347d74c3f35bc6fda5df1c29c1119c22d432':
Added support to query ACodec whether adaptive playback is enabled.
Lajos Molnar [Fri, 7 Mar 2014 02:38:22 +0000 (02:38 +0000)]
am
909498b7: Merge "stagefright: use CODECS field in EXT-X_STREAM-INF as fallback" into klp-dev
* commit '
909498b72d740e3151561fd4435ad0a329ec9c6e':
stagefright: use CODECS field in EXT-X_STREAM-INF as fallback
Lajos Molnar [Fri, 7 Mar 2014 02:38:22 +0000 (02:38 +0000)]
am
2338782d: Merge "Fixed misplaced bracket for switch-case block." into klp-dev
* commit '
2338782d18d9bcc8197c63dbf205332a2a737440':
Fixed misplaced bracket for switch-case block.
Lajos Molnar [Fri, 7 Mar 2014 02:38:21 +0000 (02:38 +0000)]
am
ad21a81a: Merge "stagefright: Fix issue with tracking media format in packet source" into klp-dev
* commit '
ad21a81af3e7d6b58002c9dce9c3278b6323e4a9':
stagefright: Fix issue with tracking media format in packet source
Lajos Molnar [Fri, 7 Mar 2014 02:38:20 +0000 (02:38 +0000)]
am
b74b2098: Merge "stagefright: Fix bugs in playlist fetcher logic" into klp-dev
* commit '
b74b209862cbcbab6053cf4a43bbc16940aaafd2':
stagefright: Fix bugs in playlist fetcher logic
Lajos Molnar [Fri, 7 Mar 2014 02:35:50 +0000 (02:35 +0000)]
Merge changes I787e1c05,I72d3a5e1,I0a5cc65f,I75fc2a25,I2c2be08d, ... into klp-dev
* changes:
LiveSession: Use the actual, possibly redirected url as base in the M3U
M3UParser: Skip query strings when looking for the last slash in a URL
ChromiumHTTPDataSource: Keep track of the redirected URL
Initial HLS seamless switch implementation.
NuPlayer side support for seamless format switch.
LiveSession refactor
PlaylistFetcher: Add support for block-by-block decryption.
LiveSession: Add support for block-by-block fetchFile.
Lajos Molnar [Fri, 7 Mar 2014 02:33:32 +0000 (02:33 +0000)]
Merge "AnotherPacketSource support to get latest buffered MetaData." into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:33:08 +0000 (02:33 +0000)]
Merge "Added support to query ACodec whether adaptive playback is enabled." into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:32:34 +0000 (02:32 +0000)]
Merge "stagefright: use CODECS field in EXT-X_STREAM-INF as fallback" into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:32:25 +0000 (02:32 +0000)]
Merge "Fixed misplaced bracket for switch-case block." into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:32:09 +0000 (02:32 +0000)]
Merge "stagefright: Fix issue with tracking media format in packet source" into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:31:50 +0000 (02:31 +0000)]
Merge "stagefright: Fix bugs in playlist fetcher logic" into klp-dev
Martin Storsjo [Fri, 22 Nov 2013 15:57:31 +0000 (17:57 +0200)]
LiveSession: Use the actual, possibly redirected url as base in the M3U
This fixes playback of HLS streams where the M3U playlists use
relative paths and the main playlist is opened via a redirect.
Bug:
13174301
Change-Id: I787e1c050daddc566be4c8e3f84803d3f91eec46
Martin Storsjo [Fri, 22 Nov 2013 15:05:05 +0000 (17:05 +0200)]
M3UParser: Skip query strings when looking for the last slash in a URL
Bug:
13174301
Change-Id: I72d3a5e11fef9bbd75b291bc490c9cab1dce58da
Eino-Ville Talvala [Fri, 7 Mar 2014 02:00:59 +0000 (02:00 +0000)]
am
a11111f9: Merge changes Id28b35fd,Ie4e64977,I2950f31e into klp-dev
* commit '
a11111f9135c98cf4247bbd1a61d7df3053e549e':
DO NOT MERGE: Camera: fix focusArea wrong indexing issue
DO NOT MERGE: camera2: Fix race with stream deletion during disconnect.
DO NOT MERGE: camera2/3: Add protection for still capture path
Haynes Mathew George [Wed, 8 Jan 2014 21:59:53 +0000 (13:59 -0800)]
AudioTrack: When paused, return cached playback position
An offload output can be re-used between two audio tracks having
the same configuration. A timestamp query for a paused track
while the other is running would return an incorrect time.
To fix this, cache the playback position on a pause() and return
this time when requested until the track is resumed.
Bug:
12826612.
Change-Id: Ia42b8b8fd2ba8993dfcc9abca72da48d71d78d74
Marco Nelissen [Mon, 25 Nov 2013 16:39:56 +0000 (08:39 -0800)]
Fix SIGABRT when playing mp4 file
If the track duration was shorter than the segment duration, the calculated
encoder padding would be negative, resulting in a crash.
b/
11823061
https://code.google.com/p/android/issues/detail?id=62610
Change-Id: I3989ad88caea38d212b61355c15aec13382c6116
Eino-Ville Talvala [Fri, 7 Mar 2014 01:40:59 +0000 (01:40 +0000)]
Merge changes Id28b35fd,Ie4e64977,I2950f31e into klp-dev
* changes:
DO NOT MERGE: Camera: fix focusArea wrong indexing issue
DO NOT MERGE: camera2: Fix race with stream deletion during disconnect.
DO NOT MERGE: camera2/3: Add protection for still capture path
Eric Laurent [Fri, 7 Mar 2014 01:35:41 +0000 (01:35 +0000)]
am
ed4d8b28: Merge "stagefright: do not offload LD-AAC decoding" into klp-dev
* commit '
ed4d8b28b8ee5a3e4ebc8f73bf4dc86c75a74258':
stagefright: do not offload LD-AAC decoding
Eric Laurent [Fri, 7 Mar 2014 01:09:33 +0000 (01:09 +0000)]
Merge "stagefright: do not offload LD-AAC decoding" into klp-dev
Martin Storsjo [Fri, 22 Nov 2013 16:11:58 +0000 (18:11 +0200)]
ChromiumHTTPDataSource: Keep track of the redirected URL
This makes the code actually match an existing comment in
DrmInitialization, which claimed that mURI was the redirected
URL and not the original one.
Bug:
13174301
Change-Id: I0a5cc65f520f1482ff91320ae78af84a8a681ee3
Robert Shih [Thu, 20 Feb 2014 21:07:26 +0000 (13:07 -0800)]
Initial HLS seamless switch implementation.
Bug:
11854054
Change-Id: I75fc2a258111295039ac13cc37e407df25891dd2
Robert Shih [Fri, 24 Jan 2014 00:18:22 +0000 (16:18 -0800)]
NuPlayer side support for seamless format switch.
Avoid reinstantiating decoder if seamless format switch is supported.
Bug:
11854054
Change-Id: I2c2be08d6da90cc835ec747d04a76db2313dfc7c
Robert Shih [Fri, 14 Feb 2014 20:21:50 +0000 (12:21 -0800)]
LiveSession refactor
Bug:
11854054
Change-Id: Ia91dce109835e042f72934376d4838b4cc72cb10
Robert Shih [Thu, 6 Feb 2014 22:25:25 +0000 (14:25 -0800)]
PlaylistFetcher: Add support for block-by-block decryption.
Bug:
11854054
Change-Id: Ifd3f3369275889e716b360087b5b60d01635b578
Robert Shih [Thu, 6 Feb 2014 22:01:30 +0000 (14:01 -0800)]
LiveSession: Add support for block-by-block fetchFile.
Bug:
11854054
Change-Id: I4025ba7fab8fab2e0c720f73894e908fd98a43d8
Robert Shih [Thu, 23 Jan 2014 22:25:32 +0000 (14:25 -0800)]
AnotherPacketSource support to get latest buffered MetaData.
Bug:
11854054
Change-Id: Ib3b6e0984036082bf3c4eb7901a2b29be52fdd29
Robert Shih [Thu, 23 Jan 2014 23:26:43 +0000 (15:26 -0800)]
Added support to query ACodec whether adaptive playback is enabled.
Bug:
11854054
Change-Id: I6b0308aa8550c643706959277e46dad586c37297
Robert Shih [Thu, 23 Jan 2014 23:00:53 +0000 (15:00 -0800)]
stagefright: use CODECS field in EXT-X_STREAM-INF as fallback
Use the CODECS field in EXT-X-STREAM-INF as a viable fallback for identifying
available streams in a variant playlist.
Bug:
11854054
Change-Id: I5011809dc7c56220b023eb1a16f2d6a392ddd6f1
Robert Shih [Thu, 23 Jan 2014 22:16:32 +0000 (14:16 -0800)]
Fixed misplaced bracket for switch-case block.
Bug:
11854054
Change-Id: I66b410e1e19601ad65d8357bda4c0c58e2dc15dc
Lajos Molnar [Tue, 17 Dec 2013 22:10:46 +0000 (14:10 -0800)]
stagefright: Fix issue with tracking media format in packet source
Media format in AnotherPacketSource is now tracked across discontinuities.
This fixes a bug where format was set on queueAccessUnit and cleared on
dequeueAccessUnit, thereby allowing it to remain cleared.
Change-Id: I20975a630443f4a223a2b4344e8244f34b9560b9
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug:
12060952
Lajos Molnar [Mon, 16 Dec 2013 18:16:32 +0000 (10:16 -0800)]
stagefright: Fix bugs in playlist fetcher logic
1. Improve start time: start playback as soon as the target duration
or 10s was buffered.
2. Select playlist monitor time based on target duration to avoid
continuously missing the boat.
3. If "we miss the boat" we still must request a safe sequence
number (last - 3)
Change-Id: Ie99c360ac67b152ad9af19e9c6e520016f67e4e3
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug:
12060952
Eric Laurent [Thu, 6 Mar 2014 21:58:27 +0000 (21:58 +0000)]
am
880413f7: Merge "stagefright: fix offloading HE-AAC sampling rate." into klp-dev
* commit '
880413f7923ec77467243e15dc34d4af4f8064f9':
stagefright: fix offloading HE-AAC sampling rate.
Eric Laurent [Thu, 6 Mar 2014 19:21:49 +0000 (19:21 +0000)]
Merge "stagefright: fix offloading HE-AAC sampling rate." into klp-dev
Eric Laurent [Fri, 6 Dec 2013 19:51:42 +0000 (11:51 -0800)]
stagefright: do not offload LD-AAC decoding
For now, do not offload LD and ELD AAC decoding because there
is no way to know if it is supported by the audio DSP implementation.
The longer term fix will be to have mapMimeToAudioFormat() use the
audio object type in track metadata to refine the AAC format and the
audio HAL list supported AAC profiles.
Bug:
11697128.
Change-Id: Iaa88ecf3f4ae42ad48c1b42a9b007dd80eb88147
Chong Zhang [Thu, 6 Mar 2014 18:44:46 +0000 (18:44 +0000)]
am
3b7ddf83: set AAC MPEG version to MPEG-2
* commit '
3b7ddf83db2d11c08116a6476c0f11e71bd72ba4':
set AAC MPEG version to MPEG-2
Chong Zhang [Fri, 7 Feb 2014 20:05:34 +0000 (12:05 -0800)]
set AAC MPEG version to MPEG-2
wifi display play spec only allows MPEG-2 AAC.
Bug:
12747927
Change-Id: Ic96d27ce57f5c8e7da55e43b38f629b5c7333817
Eric Laurent [Fri, 6 Dec 2013 19:16:54 +0000 (11:16 -0800)]
stagefright: fix offloading HE-AAC sampling rate.
Fix HE AAC SBR sampling rate reading for explicit
signaling.
Bug:
11697128.
Change-Id: Ifec0ab9d48d9293f6774ec1efd9da9445994cb7c
Glenn Kasten [Wed, 5 Mar 2014 23:51:03 +0000 (23:51 +0000)]
am
9e64cd42: am
d812fc01: Increase kFastTrackMultiplier from 1 to 2
* commit '
9e64cd42032665c90c52804c1042b3671621cda5':
Increase kFastTrackMultiplier from 1 to 2
Eric Laurent [Wed, 5 Mar 2014 23:51:02 +0000 (23:51 +0000)]
am
25a86930: am
88876fb4: AudioTrack: fix obtainBuffer timeout calculation
* commit '
25a86930ac0ccf4750ad2fb0c2f5a4a122d24ecf':
AudioTrack: fix obtainBuffer timeout calculation
Haynes Mathew George [Wed, 5 Mar 2014 23:51:01 +0000 (23:51 +0000)]
am
994d9bad: am
145b727b: libstagefright: Delay release of wakelock in TimedEventQueue
* commit '
994d9bad4c545cc8861e971f9dbcb4c061ee19ed':
libstagefright: Delay release of wakelock in TimedEventQueue
Eric Laurent [Wed, 5 Mar 2014 23:51:01 +0000 (23:51 +0000)]
am
4f4c9a22: am
281dd4e1: audioflinger: fix static track end detection
* commit '
4f4c9a22f4676c65bcae77f0805dcd699b3ba475':
audioflinger: fix static track end detection
Gaurav Kumar [Wed, 5 Mar 2014 23:50:55 +0000 (23:50 +0000)]
am
c7753b12: am
abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp
* commit '
c7753b12a9c8c1cba69ba75bccc0083c37bc67f1':
AudioMixer: Remove tracks from enabledTracks after reseting outTemp
Eric Laurent [Wed, 5 Mar 2014 23:50:49 +0000 (23:50 +0000)]
am
ec94f7a6: am
d0115d8c: update offloaded audio track sampling rate
* commit '
ec94f7a6eba6f55175c39c3abcd64046ecd413ad':
update offloaded audio track sampling rate
Glenn Kasten [Wed, 5 Mar 2014 23:47:20 +0000 (23:47 +0000)]
am
d812fc01: Increase kFastTrackMultiplier from 1 to 2
* commit '
d812fc012298470a1b8120e6d60a24b0b1d48047':
Increase kFastTrackMultiplier from 1 to 2
Eric Laurent [Wed, 5 Mar 2014 23:47:20 +0000 (23:47 +0000)]
am
88876fb4: AudioTrack: fix obtainBuffer timeout calculation
* commit '
88876fb4eb8365343f2a9ca0e8f53148ca38b845':
AudioTrack: fix obtainBuffer timeout calculation
Haynes Mathew George [Wed, 5 Mar 2014 23:47:18 +0000 (23:47 +0000)]
am
145b727b: libstagefright: Delay release of wakelock in TimedEventQueue
* commit '
145b727b4cce8b1b8d161612f30d12bbdfc8d134':
libstagefright: Delay release of wakelock in TimedEventQueue
Eric Laurent [Wed, 5 Mar 2014 23:47:17 +0000 (23:47 +0000)]
am
281dd4e1: audioflinger: fix static track end detection
* commit '
281dd4e13309973dbb85bce531f884237e0d8fb0':
audioflinger: fix static track end detection
Gaurav Kumar [Wed, 5 Mar 2014 23:47:17 +0000 (23:47 +0000)]
am
abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp
* commit '
abab1c33caf0982c11713e6d64d60105dcbc8ab7':
AudioMixer: Remove tracks from enabledTracks after reseting outTemp
Eric Laurent [Wed, 5 Mar 2014 23:47:16 +0000 (23:47 +0000)]
am
d0115d8c: update offloaded audio track sampling rate
* commit '
d0115d8c4db2f337030dea706bc0a434c4a03ed6':
update offloaded audio track sampling rate
Zhijun He [Wed, 29 Jan 2014 16:52:01 +0000 (08:52 -0800)]
DO NOT MERGE: Camera: fix focusArea wrong indexing issue
Bug:
12304559
Change-Id: Id28b35fdd9697c1ec3365f617996801965de8bd0
Eric Laurent [Wed, 5 Mar 2014 22:44:59 +0000 (22:44 +0000)]
am
7028a2c8: am
7e92abea: audioflinger: fix offload write buffer offset
* commit '
7028a2c8106ee5a22db88da5dad581820ee07254':
audioflinger: fix offload write buffer offset
Eric Laurent [Wed, 5 Mar 2014 22:41:53 +0000 (22:41 +0000)]
am
7e92abea: audioflinger: fix offload write buffer offset
* commit '
7e92abeafb184e8a34213d7149592e95a72601b0':
audioflinger: fix offload write buffer offset
Ruben Brunk [Thu, 5 Dec 2013 19:00:37 +0000 (11:00 -0800)]
DO NOT MERGE: camera2: Fix race with stream deletion during disconnect.
Bug:
11856804
- Shutdown order in Camera2Client allows a stream to be
deleted before the corresponding processing thread has
quit. This can result in updates being called on the
processor thread without a valid stream.
Change-Id: Ie4e649771f4321498659211f2a37ed89a6d956c4
Zhijun He [Tue, 26 Nov 2013 23:11:05 +0000 (15:11 -0800)]
DO NOT MERGE: camera2/3: Add protection for still capture path
Jpeg stream in JpegProcessor could be deleted while process new capture is
ongoing, which unsafe to access a dead consumer endpoint.
Bug:
9316454
Change-Id: I2950f31ea28d0ba01f08502e2e3ba452bf8bb818
Glenn Kasten [Tue, 3 Dec 2013 17:06:43 +0000 (09:06 -0800)]
Increase kFastTrackMultiplier from 1 to 2
Bug:
11967381
Change-Id: Iedec06280aa745d9df5d661f4916940cede9c191
Eric Laurent [Tue, 28 Jan 2014 02:13:39 +0000 (18:13 -0800)]
AudioTrack: fix obtainBuffer timeout calculation
AudioTrack::obtainBuffer() passes a pointer to a timeout
variable that has gone out of scope when calling
ClientProxy::obtainBuffer().
Same fix for AudioRecord.
Bug:
11968591.
Change-Id: I5b3d0d86ed2bd8c0412eb2432b1ab519d70efce9
Haynes Mathew George [Fri, 6 Dec 2013 19:31:57 +0000 (11:31 -0800)]
libstagefright: Delay release of wakelock in TimedEventQueue
Delay release of wakelock in the TimedEventQueue to
after an event has been processed.
This ensures AP shutdown does not happen while an event
is ready but hasn't been processed yet.
Bug:
11976087.
Change-Id: I9bce83b9ff0f2b4d174a53c95e5b0f135b5ccc70
Eric Laurent [Sat, 21 Dec 2013 01:36:01 +0000 (17:36 -0800)]
audioflinger: fix static track end detection
If a static track is not a fast track,
prepareTracks_l() must rely on framesReady() to
detect end of buffer and remove the track from the active
track list.
Failing to do so results in the track staying active but
not processed by the mixer because in underrun. This leaves the
mix buffer content uninitialized and causes the effect process
function to accumulate its output onto undefined data.
Bug:
12013676.
Change-Id: I4b0819a9d93141ac3307b8786fc6a451dd585220
Gaurav Kumar [Mon, 6 Jan 2014 05:27:18 +0000 (10:57 +0530)]
AudioMixer: Remove tracks from enabledTracks after reseting outTemp
If any track goes through AudioMixer::process__genericNoResampling, and
its getnextbuffer returns NULL, Then that track is removed by AudioMixer
from enabledTracks.
Thus if all tracks getnextbuffer return NULL, Then this function doesn't
reset outTemp and last buffer in AudioFlinger's mMixBuffer will be
repeated and noise is observed.
Remove tracks from enabledTracks after reseting outTemp to zero, so that
process__genericNoResampling will reset outTemp and noise won't appear.
Bug:
12450065
Change-Id: I28996d425838728955f01eb1a00acf6e6dc2dea1
Signed-off-by: Gaurav Kumar <gaurav.kumar@broadcom.com>
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
Eric Laurent [Sat, 27 Jul 2013 00:16:50 +0000 (17:16 -0700)]
update offloaded audio track sampling rate
AudioPlayer must read the sampling rate from offloaded audio sinks
whenever a new time position is computed as the decoder can update
the sampling rate on the fly.
Bug:
12823955.
Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88
Eric Laurent [Fri, 22 Nov 2013 17:29:56 +0000 (09:29 -0800)]
audioflinger: fix offload write buffer offset
Fix current audio HAL write buffer offset calculation
which assumes that the frame size is a multiple of 2.
'
Bug:
12823725.
Change-Id: I0195ed5cfef225a6f114e7dd405a02680bb7254e
jpadmana [Wed, 5 Mar 2014 19:26:49 +0000 (19:26 +0000)]
am
6b260425: am
85b3013e: fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds
* commit '
6b2604259c12ee28b49f26ab2adac96eefe30934':
fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds
Haynes Mathew George [Wed, 5 Mar 2014 19:26:48 +0000 (19:26 +0000)]
am
fc04776a: am
50c3157c: audioflinger: check for condition before waiting
* commit '
fc04776adc5572fcc323b1dca66dee27a537c619':
audioflinger: check for condition before waiting
Haynes Mathew George [Wed, 5 Mar 2014 19:26:47 +0000 (19:26 +0000)]
am
7c206e5b: am
e0cd1051: audioflinger: update track ready condition
* commit '
7c206e5bd24b5ae4565d0e60b637458a1054dfcf':
audioflinger: update track ready condition
Haynes Mathew George [Wed, 5 Mar 2014 19:26:47 +0000 (19:26 +0000)]
am
21e81bca: am
e010f65e: audioflinger: Fix for a deadlock in track creation
* commit '
21e81bca4d1e6f7d1ccac61b65da7c7a4a121064':
audioflinger: Fix for a deadlock in track creation