OSDN Git Service

android-x86/frameworks-av.git
10 years agoam 1ce7c34e: Camera1: Set preview to be asynchronous, and remove dead code
Eino-Ville Talvala [Thu, 22 Aug 2013 03:11:21 +0000 (20:11 -0700)]
am 1ce7c34e: Camera1: Set preview to be asynchronous, and remove dead code

* commit '1ce7c34e67c2cf58dd88c31f36f4bd62e375f7f0':
  Camera1: Set preview to be asynchronous, and remove dead code

10 years agoCamera1: Set preview to be asynchronous, and remove dead code
Eino-Ville Talvala [Wed, 21 Aug 2013 20:57:21 +0000 (13:57 -0700)]
Camera1: Set preview to be asynchronous, and remove dead code

- Use the controlledByApp flag to make sure application-bound
  preview buffer queue is asynchronous as before
- Remove setPreviewDisplay in service, since it is no longer in
  the binder interface
- Rename setPreviewTexture to setPreviewTarget, to make it clear it's
  the only game in town now. Rename only on the binder level and service
  for now.

Bug: 10312644
Change-Id: Icd33a462022f9729a63dc65c69b755cb7969857e

10 years agoam 99ad37a4: Merge "AudioSystem: new audioflinger restart detection" into klp-dev
Eric Laurent [Tue, 20 Aug 2013 01:16:49 +0000 (18:16 -0700)]
am 99ad37a4: Merge "AudioSystem: new audioflinger restart detection" into klp-dev

* commit '99ad37a47628b1ea1f8981bf974de38a49c653a0':
  AudioSystem: new audioflinger restart detection

10 years agoMerge "AudioSystem: new audioflinger restart detection" into klp-dev
Eric Laurent [Tue, 20 Aug 2013 01:10:47 +0000 (01:10 +0000)]
Merge "AudioSystem: new audioflinger restart detection" into klp-dev

10 years agoAudioSystem: new audioflinger restart detection
Eric Laurent [Thu, 18 Jul 2013 21:38:44 +0000 (14:38 -0700)]
AudioSystem: new audioflinger restart detection

Add a specific method to AudioSystem for AudioService to poll
for AudioFlinger service restart instead of relying on current
callback mechanism which is flaky.

Bug: 9693068.
Change-Id: Ie88bc9d25033503bc5cd2fa9d8c754d0f8045b8f

10 years agoam c8b226f4: Merge "Enforce permission for recording from remote submix." into klp-dev
Jeff Brown [Tue, 20 Aug 2013 00:01:29 +0000 (17:01 -0700)]
am c8b226f4: Merge "Enforce permission for recording from remote submix." into klp-dev

* commit 'c8b226f4f5a0740f473d4d14e050a34a329517e7':
  Enforce permission for recording from remote submix.

10 years agoMerge "Enforce permission for recording from remote submix." into klp-dev
Jeff Brown [Mon, 19 Aug 2013 23:56:41 +0000 (23:56 +0000)]
Merge "Enforce permission for recording from remote submix." into klp-dev

10 years agoam cf2a123e: am 29d06015: am 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am...
Jeff Tinker [Mon, 19 Aug 2013 21:51:49 +0000 (14:51 -0700)]
am cf2a123e: am 29d06015: am 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit 'cf2a123e7ad39700c6e5318006f9acccf69511fa':
  Remove obsolete drm manager code

10 years agoam 29d06015: am 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am...
Jeff Tinker [Mon, 19 Aug 2013 21:48:11 +0000 (14:48 -0700)]
am 29d06015: am 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '29d060155e2c3e838fcadf303fcf2d1ecfb78710':
  Remove obsolete drm manager code

10 years agoam 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am...
Jeff Tinker [Mon, 19 Aug 2013 21:45:56 +0000 (14:45 -0700)]
am 6e3ee310: am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '6e3ee310d90e30c928c9e29a4a07de4bcbf2855e':
  Remove obsolete drm manager code

10 years agoam 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am...
Jeff Tinker [Mon, 19 Aug 2013 21:39:15 +0000 (14:39 -0700)]
am 31d49615: am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '31d49615007372621ac3fba55e9e3aab48c873f9':
  Remove obsolete drm manager code

10 years agoam 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove...
Jeff Tinker [Mon, 19 Aug 2013 21:36:05 +0000 (14:36 -0700)]
am 27b876d4: am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '27b876d4cf78b262854b9f2aec26467f9323d3ad':
  Remove obsolete drm manager code

10 years agoam 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete...
Jeff Tinker [Mon, 19 Aug 2013 21:32:42 +0000 (14:32 -0700)]
am 9bc40a2c: am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '9bc40a2cfdd307074ef5c23ad444fc8a782bab84':
  Remove obsolete drm manager code

10 years agoam 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:31:11 +0000 (14:31 -0700)]
am 98603acb: am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '98603acbce87c3a451c8e4c26625048363c3f7f7':
  Remove obsolete drm manager code

10 years agoam 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:27:45 +0000 (14:27 -0700)]
am 36337f8f: am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '36337f8f1c4d7384cb1528205582148c85c69f4d':
  Remove obsolete drm manager code

10 years agoam 7d72965f: am 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:24:50 +0000 (14:24 -0700)]
am 7d72965f: am 60476336: Remove obsolete drm manager code

* commit '7d72965ff6a4bf9f91213fbdafcd12cfad8334e5':
  Remove obsolete drm manager code

10 years agoam 60476336: Remove obsolete drm manager code
Jeff Tinker [Mon, 19 Aug 2013 21:21:48 +0000 (14:21 -0700)]
am 60476336: Remove obsolete drm manager code

* commit '6047633622328711cc6b23667c8d6381bae179bf':
  Remove obsolete drm manager code

10 years agoam 7fb86565: Remove call to enable/disable remote submix from test program.
Jeff Brown [Mon, 19 Aug 2013 20:41:41 +0000 (13:41 -0700)]
am 7fb86565: Remove call to enable/disable remote submix from test program.

* commit '7fb865653293e665f48b31e791ca124e98c7d257':
  Remove call to enable/disable remote submix from test program.

10 years agoam ff58698e: am f36ae7ca: Merge "Added support for 3GPP meta data atoms"
Marco Nelissen [Mon, 19 Aug 2013 20:07:07 +0000 (13:07 -0700)]
am ff58698e: am f36ae7ca: Merge "Added support for 3GPP meta data atoms"

* commit 'ff58698ec7e0f32bf9f3e1758173fe170e17270c':
  Added support for 3GPP meta data atoms

10 years agoam f36ae7ca: Merge "Added support for 3GPP meta data atoms"
Marco Nelissen [Mon, 19 Aug 2013 20:04:50 +0000 (13:04 -0700)]
am f36ae7ca: Merge "Added support for 3GPP meta data atoms"

* commit 'f36ae7ca47dff5a5266f633bb36bf92308eec3f8':
  Added support for 3GPP meta data atoms

10 years agoMerge "Added support for 3GPP meta data atoms"
Marco Nelissen [Mon, 19 Aug 2013 20:02:37 +0000 (20:02 +0000)]
Merge "Added support for 3GPP meta data atoms"

10 years agoEnforce permission for recording from remote submix.
Jeff Brown [Sat, 17 Aug 2013 03:19:26 +0000 (20:19 -0700)]
Enforce permission for recording from remote submix.

Bug: 10265163
Change-Id: I2395036bac6e10baeaf6ea4bc3093bd9dd98742d

10 years agoRemove call to enable/disable remote submix from test program.
Jeff Brown [Fri, 16 Aug 2013 01:06:37 +0000 (18:06 -0700)]
Remove call to enable/disable remote submix from test program.

The submix will be controlled automatically from now on based on
whether there is an active audio recorder.

Bug: 10265163
Change-Id: Iea8164182daa037066f60974b54597d20db4903b

10 years agoam e9f3a314: Merge "Refactor CameraService to handle errors properly." into klp-dev
Ruben Brunk [Sat, 17 Aug 2013 00:33:52 +0000 (17:33 -0700)]
am e9f3a314: Merge "Refactor CameraService to handle errors properly." into klp-dev

* commit 'e9f3a3141c2eaafa3a5a3417d1e5682a909c5b31':
  Refactor CameraService to handle errors properly.

10 years agoMerge "Refactor CameraService to handle errors properly." into klp-dev
Ruben Brunk [Sat, 17 Aug 2013 00:29:13 +0000 (00:29 +0000)]
Merge "Refactor CameraService to handle errors properly." into klp-dev

10 years agoRefactor CameraService to handle errors properly.
Ruben Brunk [Thu, 8 Aug 2013 20:07:18 +0000 (13:07 -0700)]
Refactor CameraService to handle errors properly.

Bug: 10361136

-Connect calls now return status_t error flags.

Change-Id: Idca453b111e5df31327f6c99ebe853bb2e332b95

10 years agoam 1cb4e166: Merge "Add MEDIA_STARTED/PAUSED/STOPPED events to media players" into...
Lajos Molnar [Fri, 16 Aug 2013 19:35:41 +0000 (12:35 -0700)]
am 1cb4e166: Merge "Add MEDIA_STARTED/PAUSED/STOPPED events to media players" into klp-dev

* commit '1cb4e1661e4144cb188c2c79b89804fcb902fd19':
  Add MEDIA_STARTED/PAUSED/STOPPED events to media players

10 years agoMerge "Add MEDIA_STARTED/PAUSED/STOPPED events to media players" into klp-dev
Lajos Molnar [Fri, 16 Aug 2013 19:32:29 +0000 (19:32 +0000)]
Merge "Add MEDIA_STARTED/PAUSED/STOPPED events to media players" into klp-dev

10 years agoRemove obsolete drm manager code
Jeff Tinker [Mon, 22 Jul 2013 22:54:42 +0000 (15:54 -0700)]
Remove obsolete drm manager code

bug: 9545965
Change-Id: Ia6e09efa826b1349d027045e782980daeb7d7596
(cherry picked from commit f355f18aa2cc1706761e373fe19298a9ccc9c75a)

10 years agoAdd MEDIA_STARTED/PAUSED/STOPPED events to media players
Lajos Molnar [Thu, 15 Aug 2013 01:30:38 +0000 (18:30 -0700)]
Add MEDIA_STARTED/PAUSED/STOPPED events to media players

This is needed for the MediaTimeProvider java interface, so it does not
continually poll for current media time.

Note: NuPlayer and AwesomePlayer do not correctly handle stop (pause
instead), so for those we will signal PAUSED.

Signed-off-by: Lajos Molnar <lajos@google.com>
Change-Id: I3c61e1bda475f131323f475c18a42e3ec66c9ae1
Bug: 10326117

10 years agoam 75c16dde: Merge "You can now opt-in to having the video decoder push blank buffers...
Andreas Huber [Thu, 15 Aug 2013 16:15:19 +0000 (09:15 -0700)]
am 75c16dde: Merge "You can now opt-in to having the video decoder push blank buffers to the" into klp-dev

* commit '75c16dde986e16ac5fd4d34b06b0cc6a90679866':
  You can now opt-in to having the video decoder push blank buffers to the

10 years agoMerge "You can now opt-in to having the video decoder push blank buffers to the"...
Andreas Huber [Thu, 15 Aug 2013 16:12:08 +0000 (16:12 +0000)]
Merge "You can now opt-in to having the video decoder push blank buffers to the" into klp-dev

10 years agoam c85a986a: Fix build.
Ying Wang [Thu, 15 Aug 2013 03:42:35 +0000 (20:42 -0700)]
am c85a986a: Fix build.

* commit 'c85a986af84962515c10499faab3dc8f9a0948d4':
  Fix build.

10 years agoFix build.
Ying Wang [Thu, 15 Aug 2013 03:39:49 +0000 (20:39 -0700)]
Fix build.

Change-Id: If87636a654c8cfb2449e246df213fb24b08b4ad3

10 years agoam c13a958f: Merge "fix build. optional tests broke" into klp-dev
Mathias Agopian [Thu, 15 Aug 2013 00:14:19 +0000 (17:14 -0700)]
am c13a958f: Merge "fix build. optional tests broke" into klp-dev

* commit 'c13a958fba83dae63a8cf23b76b36a8fc8580aef':
  fix build. optional tests broke

10 years agoMerge "fix build. optional tests broke" into klp-dev
Mathias Agopian [Thu, 15 Aug 2013 00:09:17 +0000 (00:09 +0000)]
Merge "fix build. optional tests broke" into klp-dev

10 years agofix build. optional tests broke
Mathias Agopian [Thu, 15 Aug 2013 00:08:40 +0000 (17:08 -0700)]
fix build. optional tests broke

Change-Id: Ifb38fb2a7bd9c3d6305726f8e6d661be05cdcf7e

10 years agoam 99a2297e: Merge "Another error check" into klp-dev
Andy McFadden [Wed, 14 Aug 2013 23:29:46 +0000 (16:29 -0700)]
am 99a2297e: Merge "Another error check" into klp-dev

* commit '99a2297e4f9746cd5efc3aa3731d17052f32e058':
  Another error check

10 years agoam 69b5e38c: Merge "Use destroyDisplay()" into klp-dev
Andy McFadden [Wed, 14 Aug 2013 23:26:29 +0000 (16:26 -0700)]
am 69b5e38c: Merge "Use destroyDisplay()" into klp-dev

* commit '69b5e38ca1af5696da1c00627d2e64f7db00d2e1':
  Use destroyDisplay()

10 years agoMerge "Another error check" into klp-dev
Andy McFadden [Wed, 14 Aug 2013 23:25:59 +0000 (23:25 +0000)]
Merge "Another error check" into klp-dev

10 years agoMerge "Use destroyDisplay()" into klp-dev
Andy McFadden [Wed, 14 Aug 2013 23:23:15 +0000 (23:23 +0000)]
Merge "Use destroyDisplay()" into klp-dev

10 years agoAnother error check
Andy McFadden [Wed, 14 Aug 2013 22:08:29 +0000 (15:08 -0700)]
Another error check

Change-Id: I01ed5c0c7dcb520732d2856859bced31df5fbbb5

10 years agoReconcile with klp-release - do not merge
The Android Open Source Project [Wed, 14 Aug 2013 19:58:24 +0000 (12:58 -0700)]
Reconcile with klp-release - do not merge

Change-Id: I4bdda8ab19e05b9e74dba9094cb6f36af09d58d2

10 years agoUse destroyDisplay()
Andy McFadden [Wed, 14 Aug 2013 18:23:06 +0000 (11:23 -0700)]
Use destroyDisplay()

Use the new SurfaceComposerClient::destroyDisplay call to shut the
virtual display down.

Change-Id: I0225a44594abf427d386456622b23b01fdd1690f

10 years agoYou can now opt-in to having the video decoder push blank buffers to the
Andreas Huber [Wed, 14 Aug 2013 17:28:14 +0000 (10:28 -0700)]
You can now opt-in to having the video decoder push blank buffers to the

surface on the transition from executing->idle by specifying the key
"push-blank-buffers-on-shutdown" with a value of 1 in the call to configure.

Change-Id: I1155fccf89f18e717728c985e590651597595515

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Wed, 14 Aug 2013 13:06:00 +0000 (06:06 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam 7f76a81b: Merge "Check adaptive playback support via CodecCapabilities" into klp-dev
Lajos Molnar [Wed, 14 Aug 2013 01:30:44 +0000 (18:30 -0700)]
am 7f76a81b: Merge "Check adaptive playback support via CodecCapabilities" into klp-dev

* commit '7f76a81b18ade3158ae27015637074ce08e837b2':
  Check adaptive playback support via CodecCapabilities

10 years agoMerge "Check adaptive playback support via CodecCapabilities" into klp-dev
Lajos Molnar [Wed, 14 Aug 2013 01:27:14 +0000 (01:27 +0000)]
Merge "Check adaptive playback support via CodecCapabilities" into klp-dev

10 years agoCheck adaptive playback support via CodecCapabilities
Lajos Molnar [Tue, 6 Aug 2013 22:02:22 +0000 (15:02 -0700)]
Check adaptive playback support via CodecCapabilities

Added flags field to CodecCapabilities, so that applications
can query whether codecs support various features.  For now
added one video-decoder feature:

kFlagSupportsAdaptivePlayback

Media playback applications can query it to see if a codec
supports seamless resolution changes, such as by supporting
dynamic output buffers.

Signed-off-by: Lajos Molnar <lajos@google.com>
Change-Id: I09da46e8ab6b8645fa2749e33128e49eda2e865b
Related-to-bug: 7093648

10 years agoam cd06d357: Merge "Optionally repeat the previously submitted frame to the encoder...
Andreas Huber [Tue, 13 Aug 2013 17:17:33 +0000 (10:17 -0700)]
am cd06d357: Merge "Optionally repeat the previously submitted frame to the encoder" into klp-dev

* commit 'cd06d357ed4fcde991aa55dc97317d97cb287332':
  Optionally repeat the previously submitted frame to the encoder

10 years agoMerge "Optionally repeat the previously submitted frame to the encoder" into klp-dev
Andreas Huber [Tue, 13 Aug 2013 17:13:24 +0000 (17:13 +0000)]
Merge "Optionally repeat the previously submitted frame to the encoder" into klp-dev

10 years agoOptionally repeat the previously submitted frame to the encoder
Andreas Huber [Wed, 31 Jul 2013 20:50:42 +0000 (13:50 -0700)]
Optionally repeat the previously submitted frame to the encoder

if no new frame has been delivered by surface flinger within the timeout
interval.

Change-Id: I282f1b726dfe5646b178d7858d6f5d4f5a264fde

10 years agoam 1e0b0808: Merge "Restore stagefright command line tool." into klp-dev
Andreas Huber [Tue, 13 Aug 2013 17:07:30 +0000 (10:07 -0700)]
am 1e0b0808: Merge "Restore stagefright command line tool." into klp-dev

* commit '1e0b080825a169c6ac655f11a798ff177575608c':
  Restore stagefright command line tool.

10 years agoMerge "Restore stagefright command line tool." into klp-dev
Andreas Huber [Tue, 13 Aug 2013 17:03:29 +0000 (17:03 +0000)]
Merge "Restore stagefright command line tool." into klp-dev

10 years agoam 46052913: Better error message
Andy McFadden [Tue, 13 Aug 2013 17:00:49 +0000 (10:00 -0700)]
am 46052913: Better error message

* commit '46052913f307b1561f1661bb776fa29c0775758c':
  Better error message

10 years agoBetter error message
Andy McFadden [Tue, 13 Aug 2013 16:56:19 +0000 (09:56 -0700)]
Better error message

Attempt to create the output file before handing it to MediaMuxer,
which doesn't report file-open failures in a useful way.

Change-Id: Ie24ff577dd50e185b4eb72575684d23a46f38d3d

10 years agoRestore stagefright command line tool.
Andreas Huber [Tue, 13 Aug 2013 15:55:47 +0000 (08:55 -0700)]
Restore stagefright command line tool.

Change-Id: Ia17f48522f601d6a057ef3e1e8cd01f80a5c9951

10 years agoAdded support for 3GPP meta data atoms
Oscar Rydhé [Fri, 14 Dec 2012 12:52:07 +0000 (13:52 +0100)]
Added support for 3GPP meta data atoms

3GPP metadata is not supported, only iTunes Metadata
Format is supported.

Change-Id: I78b41c88788d5a43800c936e0ac0f98424515c62

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Tue, 13 Aug 2013 13:02:10 +0000 (06:02 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam fe9611bd: Merge "Fix potential leak of audio input handle." into klp-dev
Jeff Brown [Tue, 13 Aug 2013 01:11:25 +0000 (18:11 -0700)]
am fe9611bd: Merge "Fix potential leak of audio input handle." into klp-dev

* commit 'fe9611bd65a8d968d6512f6a83078ac064ec8e6e':
  Fix potential leak of audio input handle.

10 years agoMerge "Fix potential leak of audio input handle." into klp-dev
Jeff Brown [Mon, 12 Aug 2013 23:59:55 +0000 (23:59 +0000)]
Merge "Fix potential leak of audio input handle." into klp-dev

10 years agoam b8689b31: Support for "request-sync" parameter in ACodec
Andreas Huber [Mon, 12 Aug 2013 18:01:38 +0000 (11:01 -0700)]
am b8689b31: Support for "request-sync" parameter in ACodec

* commit 'b8689b31813f55cbc1bf8e9ca0d46a9ee113e38a':
  Support for "request-sync" parameter in ACodec

10 years agoSupport for "request-sync" parameter in ACodec
Andreas Huber [Mon, 12 Aug 2013 17:08:23 +0000 (10:08 -0700)]
Support for "request-sync" parameter in ACodec

Also returns errors to caller instead of asserting...

Change-Id: Id3018655a2b3da4289167fba16af907350a511ae

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Mon, 12 Aug 2013 13:01:48 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoFix potential leak of audio input handle.
Jeff Brown [Sat, 10 Aug 2013 01:32:30 +0000 (18:32 -0700)]
Fix potential leak of audio input handle.

The audio input handle is ultimately owned by the audio recorder
object but it could be dropped on the floor if an error occurred
before that object was fully initialized.

Rearranged some of the argument validation and merged getInput_l
with openRecord_l to simplify the code and prevent such a leak
from occurring.

Bug: 10265163
Change-Id: I124dce344b1d11c2dd66ca5e2c9aec0c52c230e2

10 years agoam 7473e356: (-s ours) am 943917c4: (-s ours) Merge "Fix SoundPool.play() looping...
Glenn Kasten [Fri, 9 Aug 2013 23:45:49 +0000 (16:45 -0700)]
am 7473e356: (-s ours) am 943917c4: (-s ours) Merge "Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE"

* commit '7473e356f5b7de6b67aef3b34faa6ddb1c054060':
  Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE

10 years agoam 943917c4: (-s ours) Merge "Fix SoundPool.play() looping regression in 4.3 DO NOT...
Glenn Kasten [Fri, 9 Aug 2013 23:40:22 +0000 (16:40 -0700)]
am 943917c4: (-s ours) Merge "Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE"

* commit '943917c41f447fdceab6ce75e00c05551072000b':
  Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE

10 years agoMerge "Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE"
Glenn Kasten [Fri, 9 Aug 2013 23:14:43 +0000 (23:14 +0000)]
Merge "Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE"

10 years agoFix SoundPool.play() looping regression in 4.3 DO NOT MERGE
Glenn Kasten [Fri, 9 Aug 2013 21:32:40 +0000 (14:32 -0700)]
Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE

The change I7370d6e59a7ef26dfb284a8b058d5ab2e0a42ccf caused a regression
in SoundPool looping when using SoundPool's streaming implementation.
This reverts a portion of that change.

Bug: https://code.google.com/p/android/issues/detail?id=58113
Bug: 10171337
Change-Id: I8af0dc8683a7c7f225c80f0eb4d39770667b52e5

10 years agoFix regression for AudioRecord streaming callback mode
Glenn Kasten [Thu, 8 Aug 2013 22:20:53 +0000 (15:20 -0700)]
Fix regression for AudioRecord streaming callback mode

The notification period (frequency of client wakeups) was broken in
streaming callback mode.  Fast tracks were OK, but non-fast tracks with
normal latency weren't getting woken up at all.

Bug: 10222943
Change-Id: Ife9a2f57fa73c6eb921f1c5ba62de0bfcc20557b

10 years agoMerge "Fix regression for AudioRecord streaming callback mode" into klp-dev
Glenn Kasten [Thu, 8 Aug 2013 23:39:34 +0000 (23:39 +0000)]
Merge "Fix regression for AudioRecord streaming callback mode" into klp-dev

10 years agoam bcd86896: am d0f5664a: Merge "Handle undefined NAL type for h264 streaming"
Andreas Huber [Thu, 8 Aug 2013 23:21:42 +0000 (16:21 -0700)]
am bcd86896: am d0f5664a: Merge "Handle undefined NAL type for h264 streaming"

* commit 'bcd86896e486e303d285e13477e0623b2a920e78':
  Handle undefined NAL type for h264 streaming

10 years agoFix regression for AudioRecord streaming callback mode
Glenn Kasten [Thu, 8 Aug 2013 22:20:53 +0000 (15:20 -0700)]
Fix regression for AudioRecord streaming callback mode

The notification period (frequency of client wakeups) was broken in
streaming callback mode.  Fast tracks were OK, but non-fast tracks with
normal latency weren't getting woken up at all.

Bug: 10222943
Change-Id: Ife9a2f57fa73c6eb921f1c5ba62de0bfcc20557b

10 years agoam d0f5664a: Merge "Handle undefined NAL type for h264 streaming"
Andreas Huber [Thu, 8 Aug 2013 15:56:37 +0000 (08:56 -0700)]
am d0f5664a: Merge "Handle undefined NAL type for h264 streaming"

* commit 'd0f5664abb5a8d94ae13f63a5f3491b47383ee2f':
  Handle undefined NAL type for h264 streaming

10 years agoMerge "Handle undefined NAL type for h264 streaming"
Andreas Huber [Thu, 8 Aug 2013 15:52:47 +0000 (15:52 +0000)]
Merge "Handle undefined NAL type for h264 streaming"

10 years agoMerge "Cleanup comments for the new control block implementation"
Glenn Kasten [Wed, 7 Aug 2013 17:19:36 +0000 (17:19 +0000)]
Merge "Cleanup comments for the new control block implementation"

10 years agoMerge "Adds a drm resource busy error, removes some deprecated errors"
Jeff Tinker [Wed, 7 Aug 2013 01:44:37 +0000 (01:44 +0000)]
Merge "Adds a drm resource busy error, removes some deprecated errors"

10 years agoMerge "IOMX: add updateGraphicBufferInMeta method for metadata mode"
Lajos Molnar [Tue, 6 Aug 2013 23:55:31 +0000 (23:55 +0000)]
Merge "IOMX: add updateGraphicBufferInMeta method for metadata mode"

10 years agoMerge "fix build"
Mathias Agopian [Tue, 6 Aug 2013 23:06:09 +0000 (23:06 +0000)]
Merge "fix build"

10 years agofix build
Mathias Agopian [Tue, 6 Aug 2013 23:05:27 +0000 (16:05 -0700)]
fix build

Change-Id: I859bd75eb796b0cb8da30ad947776d3e38f3873f

10 years agoFix build. last attempt.
Ying Wang [Tue, 6 Aug 2013 22:54:17 +0000 (15:54 -0700)]
Fix build. last attempt.

Change-Id: Ib955134f90b78cfc0d31272021ad5907a41df708

10 years agoIOMX: add updateGraphicBufferInMeta method for metadata mode
Lajos Molnar [Mon, 22 Jul 2013 19:57:43 +0000 (12:57 -0700)]
IOMX: add updateGraphicBufferInMeta method for metadata mode

This is used to set the handle in the metadata buffer that is
valid in the mediaserver process, as well as to keep a reference
for the graphic buffers in BufferMeta.

Change-Id: I46bb68d8bed894f357eeeb25368360d11b276634
Signed-off-by: Lajos Molnar <lajos@google.com>
10 years agoseparte producer and consumer interfaces
Mathias Agopian [Fri, 2 Aug 2013 08:50:59 +0000 (01:50 -0700)]
separte producer and consumer interfaces

Bug: 9265647
Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c

10 years agoMerge "AudioRecord notification frames"
Glenn Kasten [Tue, 6 Aug 2013 17:32:40 +0000 (17:32 +0000)]
Merge "AudioRecord notification frames"

10 years agoMerge "AudioRecord::openRecord_l use flags"
Glenn Kasten [Tue, 6 Aug 2013 16:49:16 +0000 (16:49 +0000)]
Merge "AudioRecord::openRecord_l use flags"

10 years agoMerge "Reject unprepared MediaPlayers"
Marco Nelissen [Tue, 6 Aug 2013 16:15:35 +0000 (16:15 +0000)]
Merge "Reject unprepared MediaPlayers"

10 years agoMerge "AudioRecord::openRecord_l now take flags"
Glenn Kasten [Tue, 6 Aug 2013 16:14:01 +0000 (16:14 +0000)]
Merge "AudioRecord::openRecord_l now take flags"

10 years agoMerge "RecordThread::createRecordTrack_l use flags for fast tracks"
Glenn Kasten [Tue, 6 Aug 2013 14:22:28 +0000 (14:22 +0000)]
Merge "RecordThread::createRecordTrack_l use flags for fast tracks"

10 years agoMerge "RecordTrack::createRecordTrack_l flags are in/out"
Glenn Kasten [Mon, 5 Aug 2013 23:13:13 +0000 (23:13 +0000)]
Merge "RecordTrack::createRecordTrack_l flags are in/out"

10 years agoMerge "IAudioFlinger::openRecord track_flags_t flags is in/out"
Glenn Kasten [Mon, 5 Aug 2013 22:59:42 +0000 (22:59 +0000)]
Merge "IAudioFlinger::openRecord track_flags_t flags is in/out"

10 years agoMerge "AudioRecord::set and constructor now take flags"
Glenn Kasten [Mon, 5 Aug 2013 21:56:17 +0000 (21:56 +0000)]
Merge "AudioRecord::set and constructor now take flags"

10 years agoMerge "Make AudioRecord and AudioTrack comments more similar"
Glenn Kasten [Mon, 5 Aug 2013 21:50:15 +0000 (21:50 +0000)]
Merge "Make AudioRecord and AudioTrack comments more similar"

10 years agoMerge "Camera3: Provide consumer usage flags to HAL for each stream"
Eino-Ville Talvala [Mon, 5 Aug 2013 21:46:04 +0000 (21:46 +0000)]
Merge "Camera3: Provide consumer usage flags to HAL for each stream"

10 years agoCamera3: Provide consumer usage flags to HAL for each stream
Eino-Ville Talvala [Tue, 30 Jul 2013 21:36:03 +0000 (14:36 -0700)]
Camera3: Provide consumer usage flags to HAL for each stream

At stream configure time, pass on the stream's consumer usage flags
to the HAL, to speed up final hardware configuration.

Bug: 9592202
Change-Id: Ie467be053be36a09e482f5f05cad65df42d66476

10 years agoMerge "AudioRecord callback thread waits for priority boost"
Glenn Kasten [Mon, 5 Aug 2013 19:47:51 +0000 (19:47 +0000)]
Merge "AudioRecord callback thread waits for priority boost"

10 years agoReject unprepared MediaPlayers
Marco Nelissen [Mon, 5 Aug 2013 19:22:43 +0000 (12:22 -0700)]
Reject unprepared MediaPlayers

Don't allow a MediaPlayer that has been reset() or release()d to be
used as the argument to setNextMediaPlayer.

Change-Id: I47da1460ec3742f5b2bd7b79e7998b290032d5a1

10 years agoMerge "Remove default parameters for AudioTrack"
Glenn Kasten [Mon, 5 Aug 2013 14:56:23 +0000 (14:56 +0000)]
Merge "Remove default parameters for AudioTrack"

10 years agoMerge "AudioRecord has no default sample rate"
Glenn Kasten [Mon, 5 Aug 2013 14:41:30 +0000 (14:41 +0000)]
Merge "AudioRecord has no default sample rate"

10 years agoMerge "Recording of non-linear formats is not supported"
Glenn Kasten [Mon, 5 Aug 2013 14:22:12 +0000 (14:22 +0000)]
Merge "Recording of non-linear formats is not supported"

11 years agoAdds a drm resource busy error, removes some deprecated errors
Jeff Tinker [Sat, 3 Aug 2013 06:16:18 +0000 (23:16 -0700)]
Adds a drm resource busy error, removes some deprecated errors

Change-Id: Id719fb6df9c9d955ac24803082d08f2a4a5bc766
related-to-bug: 9695816