OSDN Git Service

android-x86/frameworks-av.git
12 years agoam c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache...
Andreas Huber [Thu, 17 Nov 2011 17:07:36 +0000 (09:07 -0800)]
am c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

* commit 'c1b1709b2faa985fb9c2b273ca2191b5bfba5fdd':
  Make sure not to cancel pending seek/EOS notifications on a cache underrun...

12 years agoMerge "Make sure not to cancel pending seek/EOS notifications on a cache underrun...
Andreas Huber [Thu, 17 Nov 2011 17:05:17 +0000 (09:05 -0800)]
Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

12 years agoMake sure not to cancel pending seek/EOS notifications on a cache underrun...
Andreas Huber [Wed, 16 Nov 2011 18:46:05 +0000 (10:46 -0800)]
Make sure not to cancel pending seek/EOS notifications on a cache underrun...

or they are lost for good.

Change-Id: I2f9f53efb05db4077961137c9dc8c27edac4ec62
related-to-bug: 5544907

12 years agoam 816e68e2: No-op merge from ics-mr0
The Android Open Source Project [Wed, 16 Nov 2011 17:48:16 +0000 (09:48 -0800)]
am 816e68e2: No-op merge from ics-mr0

* commit '816e68e2fddd56c34f864dc5647801117a51720b':

12 years agoNo-op merge from ics-mr0
The Android Open Source Project [Wed, 16 Nov 2011 17:27:57 +0000 (09:27 -0800)]
No-op merge from ics-mr0

Change-Id: I6be81522ac3e6d4d8fab545abde4d81e5bb2a2c6

12 years agoReconcile with ics-factoryrom-2-release
The Android Open Source Project [Wed, 16 Nov 2011 16:55:42 +0000 (08:55 -0800)]
Reconcile with ics-factoryrom-2-release

Change-Id: Idf18e15df810885a373fb4057f0db064771afc8e

12 years agoam 481ffa50: Merge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV...
Hong Teng [Tue, 15 Nov 2011 17:45:29 +0000 (09:45 -0800)]
am 481ffa50: Merge "Fix for issue  5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1

* commit '481ffa505bb1d8f5089ea98e3b5960d409b6819c':
  Fix for issue  5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.

12 years agoMerge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_p...
Hong Teng [Tue, 15 Nov 2011 17:42:37 +0000 (09:42 -0800)]
Merge "Fix for issue  5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1

12 years agoFix for issue 5309336
Hong Teng [Thu, 10 Nov 2011 22:54:26 +0000 (14:54 -0800)]
Fix for issue  5309336
-add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.

Change-Id: I41ffbc192fcce4c7635e5b0a1f2835852e5ee509

12 years agoam 030bb998: Merge "audioflinger: fix noise when skipping to next song" into ics-mr1
Eric Laurent [Mon, 14 Nov 2011 16:39:33 +0000 (08:39 -0800)]
am 030bb998: Merge "audioflinger: fix noise when skipping to next song" into ics-mr1

* commit '030bb99814157b6424c0bf290bd2ede217b5ba77':
  audioflinger: fix noise when skipping to next song

12 years agoMerge "audioflinger: fix noise when skipping to next song" into ics-mr1
Eric Laurent [Mon, 14 Nov 2011 16:38:05 +0000 (08:38 -0800)]
Merge "audioflinger: fix noise when skipping to next song" into ics-mr1

12 years agoaudioflinger: fix noise when skipping to next song
Eric Laurent [Fri, 11 Nov 2011 23:42:52 +0000 (15:42 -0800)]
audioflinger: fix noise when skipping to next song

When audio effects are enabled, a noise can be heard at the
beginning of the new song when skipping to next song in music app.

This is because some effects (especially virtualizer) have a tail.
This tail was not played when previous song was stopped because effects were
not processed when no tracks were present on a given session. This is to
reduce CPU load when effects are enabled but no audio is playing.
The tail was then rendered when the new song was started.

Added a delay before stopping effect process after all tracks have been removed from a session.

Issue 5584880.

Change-Id: I815e0f7441f9302e8dfe413dc269a94e4cc6fd95

12 years agoam 23217182: Merge "Didn\'t mean to check this in..." into ics-mr1
Andreas Huber [Fri, 11 Nov 2011 19:48:16 +0000 (11:48 -0800)]
am 23217182: Merge "Didn\'t mean to check this in..." into ics-mr1

* commit '23217182743521063655c6fb1b1580d3558cfbe7':
  Didn't mean to check this in...

12 years agoam 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1
Eric Laurent [Fri, 11 Nov 2011 19:48:05 +0000 (11:48 -0800)]
am 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1

* commit '1f8c621279ddb163ee3d63bf32d79955679db0c5':
  visualizer: reset buffer if playback is idle

12 years agoam cd556b82: Merge "Instead of asserting, signal a runtime error if the session doesn...
Andreas Huber [Fri, 11 Nov 2011 19:48:00 +0000 (11:48 -0800)]
am cd556b82: Merge "Instead of asserting, signal a runtime error if the session doesn\'t contain" into ics-mr1

* commit 'cd556b82fd12dceb49e9d6543f80212721b220ec':
  Instead of asserting, signal a runtime error if the session doesn't contain

12 years agoam 5d42075e: Merge "DO NOT MERGE: Instead of asserting, remove active streams if...
Andreas Huber [Fri, 11 Nov 2011 19:47:58 +0000 (11:47 -0800)]
am 5d42075e: Merge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets" into ics-mr1

* commit '5d42075e450a49af2bb37ca3a9610921df7607f2':
  DO NOT MERGE: Instead of asserting, remove active streams if their sockets

12 years agoam d9f25bc9: Merge "Disconnect on socket error on the RTSP control connection." into...
Andreas Huber [Fri, 11 Nov 2011 19:47:57 +0000 (11:47 -0800)]
am d9f25bc9: Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1

* commit 'd9f25bc941746f268ab978e6b2af7b7c4ec2ea89':
  Disconnect on socket error on the RTSP control connection.

12 years agoMerge "Didn't mean to check this in..." into ics-mr1
Andreas Huber [Fri, 11 Nov 2011 18:46:02 +0000 (10:46 -0800)]
Merge "Didn't mean to check this in..." into ics-mr1

12 years agoDidn't mean to check this in...
Andreas Huber [Fri, 11 Nov 2011 18:17:00 +0000 (10:17 -0800)]
Didn't mean to check this in...

Change-Id: Ie5a1902ff2613cd349ca5724f63a3fe3306640c7

12 years agoMerge "visualizer: reset buffer if playback is idle" into ics-mr1
Eric Laurent [Fri, 11 Nov 2011 16:17:22 +0000 (08:17 -0800)]
Merge "visualizer: reset buffer if playback is idle" into ics-mr1

12 years agoMerge "Instead of asserting, signal a runtime error if the session doesn't contain...
Andreas Huber [Fri, 11 Nov 2011 15:39:25 +0000 (07:39 -0800)]
Merge "Instead of asserting, signal a runtime error if the session doesn't contain" into ics-mr1

12 years agoMerge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets...
Andreas Huber [Fri, 11 Nov 2011 15:39:18 +0000 (07:39 -0800)]
Merge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets" into ics-mr1

12 years agoMerge "Disconnect on socket error on the RTSP control connection." into ics-mr1
Andreas Huber [Fri, 11 Nov 2011 15:39:11 +0000 (07:39 -0800)]
Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1

12 years agoam 08e42967: Merge "Add support for retrieving location information in mp4/3gpp files...
James Dong [Fri, 11 Nov 2011 15:28:32 +0000 (15:28 +0000)]
am 08e42967: Merge "Add support for retrieving location information in mp4/3gpp files" into ics-mr1

* commit '08e42967b9e459b7beb22e859f1f1eba0546741b':
  Add support for retrieving location information in mp4/3gpp files

12 years agoDisconnect on socket error on the RTSP control connection.
Andreas Huber [Thu, 10 Nov 2011 22:48:20 +0000 (14:48 -0800)]
Disconnect on socket error on the RTSP control connection.

Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b

12 years agoDO NOT MERGE: Instead of asserting, remove active streams if their sockets
Andreas Huber [Wed, 9 Nov 2011 22:26:43 +0000 (14:26 -0800)]
DO NOT MERGE: Instead of asserting, remove active streams if their sockets

return failure

Change-Id: Icb47adfd2fbe0398c473ba66e068186311c9cc79
related-to-bug: 5593654

12 years agoInstead of asserting, signal a runtime error if the session doesn't contain
Andreas Huber [Thu, 10 Nov 2011 20:40:30 +0000 (12:40 -0800)]
Instead of asserting, signal a runtime error if the session doesn't contain

any playable tracks at all.

Change-Id: Ibbbe2fdcd53b7e020da80c84c8229856107a87e6

12 years agoAdd support for retrieving location information in mp4/3gpp files
James Dong [Wed, 9 Nov 2011 08:48:56 +0000 (00:48 -0800)]
Add support for retrieving location information in mp4/3gpp files

Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687
related-to-bug: 5560253

12 years agovisualizer: reset buffer if playback is idle
Eric Laurent [Thu, 10 Nov 2011 18:02:18 +0000 (10:02 -0800)]
visualizer: reset buffer if playback is idle

Visualizer capture buffer must be reset if audio framework has stopped
calling process for a given period of time to get read of residual
data from previous captures.

Issue 5571920.

Change-Id: I6e73f971bb812cdbb2979a3b5e763abab07634eb

12 years agoam 2375d163: Merge "Send RTSP control connection keep-alive requests" into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:51:59 +0000 (16:51 +0000)]
am 2375d163: Merge "Send RTSP control connection keep-alive requests" into ics-mr1

* commit '2375d16378e6f8b7694c5a2cd9e0622e382e6049':
  Send RTSP control connection keep-alive requests

12 years agoam b42aea5b: Merge "Don\'t believe the PV decoder\'s lies..." into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:51:58 +0000 (16:51 +0000)]
am b42aea5b: Merge "Don\'t believe the PV decoder\'s lies..." into ics-mr1

* commit 'b42aea5b4c7cc7b2766f80f5ceda94b324d776e5':
  Don't believe the PV decoder's lies...

12 years agoam 7c063cf9: Merge "There\'s no point in trying to continue to decode after an error...
Andreas Huber [Thu, 10 Nov 2011 16:48:53 +0000 (16:48 +0000)]
am 7c063cf9: Merge "There\'s no point in trying to continue to decode after an error was signalled." into ics-mr1

* commit '7c063cf9679a2ecdda5e1639cfdca3e1084019f9':
  There's no point in trying to continue to decode after an error was signalled.

12 years agoMerge "Send RTSP control connection keep-alive requests" into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:48:44 +0000 (08:48 -0800)]
Merge "Send RTSP control connection keep-alive requests" into ics-mr1

12 years agoMerge "Don't believe the PV decoder's lies..." into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:48:34 +0000 (08:48 -0800)]
Merge "Don't believe the PV decoder's lies..." into ics-mr1

12 years agoMerge "There's no point in trying to continue to decode after an error was signalled...
Andreas Huber [Thu, 10 Nov 2011 16:47:25 +0000 (08:47 -0800)]
Merge "There's no point in trying to continue to decode after an error was signalled." into ics-mr1

12 years agoThere's no point in trying to continue to decode after an error was signalled.
Andreas Huber [Wed, 9 Nov 2011 18:26:06 +0000 (10:26 -0800)]
There's no point in trying to continue to decode after an error was signalled.

Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24
related-to-bug: 5588658

12 years agoDon't believe the PV decoder's lies...
Andreas Huber [Wed, 9 Nov 2011 18:03:07 +0000 (10:03 -0800)]
Don't believe the PV decoder's lies...

Change-Id: I97391235255afb8a4890a4ff52d4e8e9ca954f27

12 years agoam f2c2b1c4: am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before...
Glenn Kasten [Wed, 9 Nov 2011 16:44:51 +0000 (16:44 +0000)]
am f2c2b1c4: am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit 'f2c2b1c484b7b175c88c33efbbcb74d93f7eb0a2':

12 years agoam 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0
Glenn Kasten [Wed, 9 Nov 2011 16:41:19 +0000 (16:41 +0000)]
am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit '19998120f53caceb620f138c6eea182f1e693660':
  Bug 5478024 drop after decode if can't drop before

12 years agoam 2b7f91b9: Merge "Fix regression for SoundPool playback" into ics-mr1
Eric Laurent [Wed, 9 Nov 2011 16:29:04 +0000 (16:29 +0000)]
am 2b7f91b9: Merge "Fix regression for SoundPool playback" into ics-mr1

* commit '2b7f91b932be0aa9ce6fa3acda9ff439e94643fc':
  Fix regression for SoundPool playback

12 years agoam 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0
Glenn Kasten [Wed, 9 Nov 2011 14:35:18 +0000 (14:35 +0000)]
am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit '19998120f53caceb620f138c6eea182f1e693660':
  Bug 5478024 drop after decode if can't drop before

12 years agoFix regression for SoundPool playback
Eric Laurent [Wed, 9 Nov 2011 02:10:16 +0000 (18:10 -0800)]
Fix regression for SoundPool playback

Commit 19ddf0eb introduced a problem with applications (like SoundPool)
relying on an underrun condition to detect end of playback instead of
stopping the track when all data is written.
AudioFlinger would keep waiting for new data in case of partial buffer
filling and never reach the underrun condition.

Added a mechanism to wait no more than once if not enough frames are present
in the track buffer.

Issue 5585490.

Change-Id: I131e605ff6070831a01ddf734e68459e3bf2354b

12 years agoSend RTSP control connection keep-alive requests
Andreas Huber [Tue, 8 Nov 2011 23:31:23 +0000 (15:31 -0800)]
Send RTSP control connection keep-alive requests

default to 60 secs unless overridden by server's session-id response.

Change-Id: I7c3aff5b787dbb57cc0dccf9db3c75e5cf7e778c
related-to-bug: 5562303

12 years agoMerge "Remove surface legacy APIs and code." into ics-mr1
Andreas Huber [Tue, 8 Nov 2011 16:48:31 +0000 (08:48 -0800)]
Merge "Remove surface legacy APIs and code." into ics-mr1

12 years agoMerge "AudioFlinger: mix track only when really ready" into ics-mr1
Eric Laurent [Tue, 8 Nov 2011 16:32:57 +0000 (08:32 -0800)]
Merge "AudioFlinger: mix track only when really ready" into ics-mr1

12 years agoMerge "Fix a hang issue where the first frame can be dropped for timelapse video...
James Dong [Tue, 8 Nov 2011 06:57:02 +0000 (22:57 -0800)]
Merge "Fix a hang issue where the first frame can be dropped for timelapse video recording." into ics-mr1

12 years agoReconcile with ics-mr0-release ics-factoryrom-2-release
The Android Open Source Project [Mon, 7 Nov 2011 16:22:56 +0000 (08:22 -0800)]
Reconcile with ics-mr0-release ics-factoryrom-2-release

Change-Id: I9de1253d253c7d106862534570cad0c89d2fdaf2

12 years agoBug 5478024 drop after decode if can't drop before
Glenn Kasten [Sat, 5 Nov 2011 01:05:35 +0000 (18:05 -0700)]
Bug 5478024 drop after decode if can't drop before

Change-Id: Iaa64553be1a710da5d42be4e3a1e1d6dc873e371

12 years agoDO NOT MERGE Poll input data with a small timeout and don't consume a full core.
Andreas Huber [Thu, 3 Nov 2011 18:00:21 +0000 (11:00 -0700)]
DO NOT MERGE Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263

12 years agoMerge "Fix device management in lvm effect bundle wrapper." into ics-mr1
Eric Laurent [Fri, 4 Nov 2011 15:29:30 +0000 (08:29 -0700)]
Merge "Fix device management in lvm effect bundle wrapper." into ics-mr1

12 years agoMerge "Fix problem in lvm effect bundle wrapper." into ics-mr1
Eric Laurent [Fri, 4 Nov 2011 15:27:45 +0000 (08:27 -0700)]
Merge "Fix problem in lvm effect bundle wrapper." into ics-mr1

12 years agoReconcile with ics-mr0-release ics-factoryrom-2-release
The Android Open Source Project [Fri, 4 Nov 2011 14:56:42 +0000 (07:56 -0700)]
Reconcile with ics-mr0-release ics-factoryrom-2-release

Change-Id: I81cf3b3994cb9a1c18fca3ce0049e09402543086

12 years agoam 32b5a7ee: (-s ours) Merge "DO NOT MERGE Poll input data with a small timeout and...
Dave Burke [Fri, 4 Nov 2011 11:59:27 +0000 (11:59 +0000)]
am 32b5a7ee: (-s ours) Merge "DO NOT MERGE Poll input data with a small timeout and don\'t consume a full core." into ics-mr0

* commit '32b5a7eeaf758fad0c24131603cdd54cd2883a58':
  DO NOT MERGE Poll input data with a small timeout and don't consume a full core.

12 years agoDO NOT MERGE Poll input data with a small timeout and don't consume a full core.
Andreas Huber [Thu, 3 Nov 2011 18:00:21 +0000 (11:00 -0700)]
DO NOT MERGE Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263

12 years agoAudioFlinger: mix track only when really ready
Eric Laurent [Thu, 3 Nov 2011 19:16:05 +0000 (12:16 -0700)]
AudioFlinger: mix track only when really ready

The addition of low power audio playback mode made that audio buffer consumption
by audio HAL can now happen in bursts. This makes that requesting audio data
from an AudioTrack for mixing can happen at much shorter intervals than before.
This revealed an existing problem where AudioFlinger would consider a track ready
for mixing although not enough frames were ready to completely fill one output buffer,
thus creating short periods of silence.

The fix consists in waiting for enough frames to be ready in AudioTrack buffer before
declaring a track ready for mixing. This minimum is not applied when the track is stopped
to allow the buffer to be emptied completely.

Change-Id: I6d04f9b65db5af85b0b53f0a5674be7ec02f9e9f

12 years agoPoll input data with a small timeout and don't consume a full core.
Andreas Huber [Thu, 3 Nov 2011 18:00:21 +0000 (11:00 -0700)]
Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263

12 years agoRevert "Merge "Update camera continuous autofocus javadoc." into ics-mr0"
The Android Automerger [Thu, 3 Nov 2011 03:59:04 +0000 (20:59 -0700)]
Revert "Merge "Update camera continuous autofocus javadoc." into ics-mr0"

This reverts commit 4b6353ea0265bfed52d0637abd1b17596ce25ff0, reversing
changes made to af675222f6340a8a9edbe9e8635014a18521e5e0.

12 years agomerge in ics-factoryrom-2-release history after reset to ics-mr0
The Android Automerger [Thu, 3 Nov 2011 03:53:06 +0000 (20:53 -0700)]
merge in ics-factoryrom-2-release history after reset to ics-mr0

12 years agoReconcile with ics-mr0-release ics-factoryrom-2-release
The Android Open Source Project [Wed, 2 Nov 2011 17:52:48 +0000 (10:52 -0700)]
Reconcile with ics-mr0-release ics-factoryrom-2-release

Change-Id: I493695d0ea182f32bbfe0e148e192ad1f60ff001

12 years agoRevert "Merge "Update camera continuous autofocus javadoc." into ics-mr0"
The Android Automerger [Wed, 2 Nov 2011 17:14:18 +0000 (10:14 -0700)]
Revert "Merge "Update camera continuous autofocus javadoc." into ics-mr0"

This reverts commit 4b6353ea0265bfed52d0637abd1b17596ce25ff0, reversing
changes made to af675222f6340a8a9edbe9e8635014a18521e5e0.

12 years agoFix problem in lvm effect bundle wrapper.
Eric Laurent [Tue, 1 Nov 2011 00:36:03 +0000 (17:36 -0700)]
Fix problem in lvm effect bundle wrapper.

When an effect is disabled, the process function should either
copy or accumulate the content of the input buffer to the output buffer
depending on the behavior requested by the framework.
Current implementation is copying the input buffer unconditionally.

Related to issue 5433942.

Change-Id: Ic488ca97eadcc4c763de570d7e6c6f5b7a979415

12 years agoFix device management in lvm effect bundle wrapper.
Eric Laurent [Tue, 1 Nov 2011 01:48:15 +0000 (18:48 -0700)]
Fix device management in lvm effect bundle wrapper.

The virtualizer and bass boost effects should be disabled when
not playing throught headsets or headphones.

There is a bug in current wrapper implementation that makes that those
effects are not disabled if the effect is enabled by the user after
the headset has been removed (current logic only works if the device selection
occurs while the effect is enabled).

Change-Id: I7c66b15a0339d95fb9ed13c8320d66379725d3b6

12 years agoam 4b6353ea: Merge "Update camera continuous autofocus javadoc." into ics-mr0
Chih-Chung Chang [Tue, 1 Nov 2011 04:05:45 +0000 (04:05 +0000)]
am 4b6353ea: Merge "Update camera continuous autofocus javadoc." into ics-mr0

* commit '4b6353ea0265bfed52d0637abd1b17596ce25ff0':
  Update camera continuous autofocus javadoc.

12 years agoMerge "Update camera continuous autofocus javadoc." into ics-mr0
Chih-Chung Chang [Tue, 1 Nov 2011 04:04:01 +0000 (21:04 -0700)]
Merge "Update camera continuous autofocus javadoc." into ics-mr0

12 years agoRemove surface legacy APIs and code.
Andreas Huber [Tue, 25 Oct 2011 20:45:00 +0000 (13:45 -0700)]
Remove surface legacy APIs and code.

All surfaces are now supported through surface textures.

Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6

12 years agoMerge "Properly report that we're no longer playing after receiving event" into ics-mr1
Andreas Huber [Fri, 28 Oct 2011 16:13:54 +0000 (09:13 -0700)]
Merge "Properly report that we're no longer playing after receiving event" into ics-mr1

12 years agoam 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0
Jamie Gennis [Fri, 28 Oct 2011 02:14:01 +0000 (02:14 +0000)]
am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0

* commit '08479ceeba56c460fb52f60a24df27776f1936c3':
  Stagefright: ANW::connect in MediaPlayerService

12 years agoMerge "Report call status from AudioSource::start() to file writer" into ics-mr1
James Dong [Thu, 27 Oct 2011 22:24:28 +0000 (15:24 -0700)]
Merge "Report call status from AudioSource::start() to file writer" into ics-mr1

12 years agoUpdate camera continuous autofocus javadoc.
Wu-cheng Li [Thu, 27 Oct 2011 10:07:01 +0000 (18:07 +0800)]
Update camera continuous autofocus javadoc.

Suppose applications call autoFocus in CAF picture mode. If
CAF is in the middle of scanning, the picture is very likely to
be blurry. Change focus callback to return when the scanning
finishes.

bug:5514415
Change-Id: Ibcb8f92a5263d7dbd7cce54df3617fb21c6255d4

12 years agoMerge "Fix a reference to a stale pointer in AwesomePlayer." into ics-mr1
Andreas Huber [Thu, 27 Oct 2011 16:07:23 +0000 (09:07 -0700)]
Merge "Fix a reference to a stale pointer in AwesomePlayer." into ics-mr1

12 years agoFix a hang issue where the first frame can be dropped for timelapse video recording.
James Dong [Thu, 27 Oct 2011 06:47:55 +0000 (23:47 -0700)]
Fix a hang issue where the first frame can be dropped for timelapse video recording.

Change-Id: I04754f1005a983953a80a659ff13f8762d0e120c
related-to-bug: 5523502

12 years agoReport call status from AudioSource::start() to file writer
James Dong [Thu, 27 Oct 2011 06:32:13 +0000 (23:32 -0700)]
Report call status from AudioSource::start() to file writer

Change-Id: I5109dc87a92170dede4eaa58b039efe6d8b7c330
related-to-bug: 5514288

12 years agoStagefright: ANW::connect in MediaPlayerService
Jamie Gennis [Thu, 27 Oct 2011 01:36:31 +0000 (18:36 -0700)]
Stagefright: ANW::connect in MediaPlayerService

This change moves the ANativeWindow connect and disconnect logic from
MediaPlayer to MediaPlayerService::Client.

Bug: 5502654
Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d

12 years agoProperly report that we're no longer playing after receiving event
Andreas Huber [Wed, 26 Oct 2011 22:23:31 +0000 (15:23 -0700)]
Properly report that we're no longer playing after receiving event

MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR.

Change-Id: I03eeba751d3728adb33d9c66de4c7444a91696f3

12 years agoam b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ics-mr0
Jamie Gennis [Wed, 26 Oct 2011 20:34:38 +0000 (20:34 +0000)]
am b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ics-mr0

* commit 'b7b4eaaa05284634d50d581d924a250f1194f66d':
  Stagefright: push blank buffers when tearing down

12 years agoFix a reference to a stale pointer in AwesomePlayer.
Andreas Huber [Wed, 26 Oct 2011 18:22:40 +0000 (11:22 -0700)]
Fix a reference to a stale pointer in AwesomePlayer.

The pointer returned by MetaData::findCString may become stale if the metadata
object is modified. Make a copy of the returned mime type in order to prevent
MediaPlayer::dump log corruption.

Change-Id: I9077aee36c4316d83b37fb909bf91e6b3f75d5d2

12 years agoStagefright: push blank buffers when tearing down
Jamie Gennis [Tue, 25 Oct 2011 21:50:16 +0000 (14:50 -0700)]
Stagefright: push blank buffers when tearing down

This change makes OMXCodec push RGB 565 buffers filled with black to an
ANativeWindow when tearing down after decoding to protected gralloc
buffers.  This allows the OMX tear down to zero out any protected
buffers that were used without the possibility that the buffer is still
being used by SurfaceFlinger or HWComposer.

Bug: 5483222
Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560

12 years agoam 23d64420: Merge "Stagefright: idle OMX after ANW errors" into ics-mr0
Dave Burke [Thu, 20 Oct 2011 05:38:45 +0000 (22:38 -0700)]
am 23d64420: Merge "Stagefright: idle OMX after ANW errors" into ics-mr0

* commit '23d644202a44383bf008ff86f6faa3ea7e447290':
  Stagefright: idle OMX after ANW errors

12 years agoMerge "Stagefright: idle OMX after ANW errors" into ics-mr0
Dave Burke [Thu, 20 Oct 2011 05:37:18 +0000 (22:37 -0700)]
Merge "Stagefright: idle OMX after ANW errors" into ics-mr0

12 years agoStagefright: idle OMX after ANW errors
Jamie Gennis [Thu, 20 Oct 2011 04:14:13 +0000 (21:14 -0700)]
Stagefright: idle OMX after ANW errors

This change fixes an issue in Stagefright where the state of an OMXCodec
object can get out of sync with the state of the OMX component.  In
particular, if one of the ANativeWindow functions failed and put the
OMXCodec into the ERROR state, this would cause Stagefright to skip
doing the Executing -> Idle transition.  Without this transition the
freeBuffersOnPort call would never be made, and the MediaBuffers would
end up being leaked (which would also leak the Gralloc buffers they
reference).

Bug: 5333695
Change-Id: I85ea0cf92d18e7ef6d35c7d1e2a7b4e2c9745d34

12 years agoam f806871f: Fix 5487571: Make sure shutter sound is played when it\'s enforced
Chih-Chung Chang [Thu, 20 Oct 2011 03:09:13 +0000 (20:09 -0700)]
am f806871f: Fix 5487571: Make sure shutter sound is played when it\'s enforced

* commit 'f806871f3016a8184de4c9dcfbe0b9069dc0d72c':
  Fix 5487571: Make sure shutter sound is played when it's enforced

12 years agoFix 5487571: Make sure shutter sound is played when it's enforced
Chih-Chung Chang [Thu, 20 Oct 2011 02:47:26 +0000 (10:47 +0800)]
Fix 5487571: Make sure shutter sound is played when it's enforced

Change-Id: I0c7adf452217b8308243836b40b1fba8f2029240

12 years agoam b3cdadb6: Merge "Check whether media recorder client exists before dumping." into...
James Dong [Thu, 20 Oct 2011 00:57:58 +0000 (17:57 -0700)]
am b3cdadb6: Merge "Check whether media recorder client exists before dumping." into ics-mr0

* commit 'b3cdadb639027f62c7c1637ca962a70d2d1f3b4d':
  Check whether media recorder client exists before dumping.

12 years agoMerge "Check whether media recorder client exists before dumping." into ics-mr0
James Dong [Thu, 20 Oct 2011 00:55:45 +0000 (17:55 -0700)]
Merge "Check whether media recorder client exists before dumping." into ics-mr0

12 years agoam 3c86134a: Merge "Fix issue 381905: BassBoostTest CTS tests fail..." into ics-mr0
Eric Laurent [Wed, 19 Oct 2011 21:02:10 +0000 (14:02 -0700)]
am 3c86134a: Merge "Fix issue 381905: BassBoostTest CTS tests fail..." into ics-mr0

* commit '3c86134a50618605c86eb9f5f120dbf97826e3e1':
  Fix issue 381905: BassBoostTest CTS tests fail...

12 years agoFix issue 381905: BassBoostTest CTS tests fail...
Eric Laurent [Wed, 19 Oct 2011 18:44:54 +0000 (11:44 -0700)]
Fix issue 381905: BassBoostTest CTS tests fail...

When AudioEffectTest is executed, an Equalizer is created
and enabled on a MediaPlayer session. Effects on the output
mix are therefore suspended.
Then the MediaPlayer is released with the effect still enabled.
In this case, Audioflinger::purgeStaleEffects_l() fails to restore
the suspended effects when the effect attached to the released audio session
is removed.
When subsequent tests are executed on output mix effects, these effects cannot be
enabled as they are still suspended.

Fixed purgeStaleEffects_l() to restore suspended effects if the effect removed is enabled.

Also fixed EffectHandle::disconnect() to only restore suspended effects if the disconnected
handle actually has control over the effect.

Change-Id: I67232e7c34680b0cc01abfd57d5d510a524e5d4f

12 years agoCheck whether media recorder client exists before dumping.
James Dong [Wed, 19 Oct 2011 05:29:20 +0000 (22:29 -0700)]
Check whether media recorder client exists before dumping.

Change-Id: I1f3a644a958975e4cf6c02099c53e30cc4d2fd82
related-to-bug: 5477177

12 years agoam 5264f600: Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter...
James Dong [Wed, 19 Oct 2011 05:17:34 +0000 (22:17 -0700)]
am 5264f600: Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0

* commit '5264f6003bbcb8ca70df034379154914260cc322':
  Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format.

12 years agoMerge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid...
James Dong [Wed, 19 Oct 2011 05:16:08 +0000 (22:16 -0700)]
Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0

12 years agoam ecfdd7ff: Merge "Limit AudioFlinger log." into ics-mr0
Eric Laurent [Wed, 19 Oct 2011 02:31:12 +0000 (19:31 -0700)]
am ecfdd7ff: Merge "Limit AudioFlinger log." into ics-mr0

* commit 'ecfdd7ff468bfc861e84fe18992e26b89cc63126':
  Limit AudioFlinger log.

12 years agoBail out after kMaxColorFormatSupported calls to OMX_GetParameter().
James Dong [Tue, 18 Oct 2011 23:21:52 +0000 (16:21 -0700)]
Bail out after kMaxColorFormatSupported calls to OMX_GetParameter().
Avoid infinite loop in querying omx component about the supported color format.

Change-Id: I4997efd36462c792a6d8b5e04c79a80966a559fe
related-to-bug: 5466057

12 years agoLimit AudioFlinger log.
Eric Laurent [Tue, 18 Oct 2011 22:42:27 +0000 (15:42 -0700)]
Limit AudioFlinger log.

AudioFlinger logs a warning when a write to the audio HAL
takes too long to return. The threshold for this warning is
a rule of thumb based on the assumption that the audio HAL will consume
buffers at a regular pace.
The introduction of low power audio mode with larger buffers and writes
occuring in bursts makes that this threshold is often exceeded resulting
in excessive and misleading warnings.

The threshold is raised to remove unwanted warnings but we should reconsider
the usefulness of this warning altogether.

Change-Id: I5ef6898ea28d879cede3e47da542a64092a3cca4

12 years agoam a84e37f3: Merge "Fix 5468644: Use the proper audio stream type to play sound....
Chih-Chung Chang [Tue, 18 Oct 2011 02:42:14 +0000 (19:42 -0700)]
am a84e37f3: Merge "Fix 5468644: Use the proper audio stream type to play sound." into ics-mr0

* commit 'a84e37f37c7cd21fe498a923c181d3896e055d56':
  Fix 5468644: Use the proper audio stream type to play sound.

12 years agoMerge "Fix 5468644: Use the proper audio stream type to play sound." into ics-mr0
Chih-Chung Chang [Tue, 18 Oct 2011 02:40:12 +0000 (19:40 -0700)]
Merge "Fix 5468644: Use the proper audio stream type to play sound." into ics-mr0

12 years agoam 6f13adb2: Merge "Don\'t hold onto the lock while reconnecting to the server" into...
Dave Burke [Tue, 18 Oct 2011 01:36:48 +0000 (18:36 -0700)]
am 6f13adb2: Merge "Don\'t hold onto the lock while reconnecting to the server" into ics-mr0

* commit '6f13adb22afcb47a1cd45a90eaa3c154522089d4':
  Don't hold onto the lock while reconnecting to the server

12 years agoMerge "Don't hold onto the lock while reconnecting to the server" into ics-mr0
Dave Burke [Tue, 18 Oct 2011 01:35:11 +0000 (18:35 -0700)]
Merge "Don't hold onto the lock while reconnecting to the server" into ics-mr0

12 years agoDon't hold onto the lock while reconnecting to the server
Andreas Huber [Mon, 17 Oct 2011 22:49:01 +0000 (15:49 -0700)]
Don't hold onto the lock while reconnecting to the server

to avoid stalling the readers.

Change-Id: I73b646587c8a654a73ff7d800c0f17bd78001855

12 years agoFix 5468644: Use the proper audio stream type to play sound.
Chih-Chung Chang [Mon, 17 Oct 2011 11:03:12 +0000 (19:03 +0800)]
Fix 5468644: Use the proper audio stream type to play sound.

Change-Id: I80dd37da277b1810959a2dbdd852078b26f70cf5

12 years agoNuPlayer is now taking on the task of streaming over RTSP.
Andreas Huber [Tue, 11 Oct 2011 22:24:07 +0000 (15:24 -0700)]
NuPlayer is now taking on the task of streaming over RTSP.

Change-Id: Ie204db8810807f1e7981959e34dc0149e5d9563a

12 years agoMerge "Support for an MPEG2 Program Stream extractor."
Andreas Huber [Thu, 13 Oct 2011 17:03:26 +0000 (10:03 -0700)]
Merge "Support for an MPEG2 Program Stream extractor."