OSDN Git Service
The Android Automerger [Wed, 3 Sep 2014 13:10:53 +0000 (06:10 -0700)]
merge in lmp-release history after reset to
453d633ba6351c8efc2103383ca178a0674bd373
Chong Zhang [Wed, 3 Sep 2014 01:13:08 +0000 (01:13 +0000)]
Merge "render one video frame after flush even when we're paused" into lmp-dev
Chong Zhang [Sat, 30 Aug 2014 01:34:17 +0000 (18:34 -0700)]
render one video frame after flush even when we're paused
allows the video to get some update when user seeks while paused.
Bug:
17140448
Change-Id: I064806bfd566585eeb4150a508422c9775e08f99
Eric Laurent [Tue, 2 Sep 2014 21:45:53 +0000 (14:45 -0700)]
audio flinger: fix use of global effect buffer
When float mixing format is enabled, audio effects use a specific
buffer in 16 bit format. This buffer was not enabled when only
global effects were present resulting in the mixer accumulating directly
to the output sink buffer.
Bug:
16202259.
Change-Id: I3537d36c63196d97772f0ab22dd31d04dfa7fdd6
Ruben Brunk [Tue, 2 Sep 2014 18:19:13 +0000 (18:19 +0000)]
Merge "camera1: Ensure MemoryHeap buffers are mmapped before copying." into lmp-dev
Ronghua Wu [Tue, 2 Sep 2014 17:43:48 +0000 (17:43 +0000)]
Merge "Add adaptive playback support to VPX decoder." into lmp-dev
The Android Automerger [Tue, 2 Sep 2014 13:10:59 +0000 (06:10 -0700)]
merge in lmp-release history after reset to
e7494680914c384dc6e93ae85f4337b06b300468
Wei Jia [Tue, 2 Sep 2014 01:40:36 +0000 (01:40 +0000)]
Merge "NuPlayerRenderer: stop feeding AudioSink when paused." into lmp-dev
The Android Automerger [Mon, 1 Sep 2014 14:55:55 +0000 (07:55 -0700)]
merge in lmp-release history after reset to
64a385d5d8e42ac96c88fb025212b4023690db39
The Android Automerger [Sun, 31 Aug 2014 16:31:48 +0000 (09:31 -0700)]
merge in lmp-release history after reset to
64a385d5d8e42ac96c88fb025212b4023690db39
Ronghua Wu [Sat, 30 Aug 2014 02:06:51 +0000 (02:06 +0000)]
Merge "GenericSource: set DRM playback status." into lmp-dev
Wei Jia [Sat, 30 Aug 2014 02:04:48 +0000 (02:04 +0000)]
Merge "MediaCodec: set state to UNINITIALIZED when receiving fatal error." into lmp-dev
Rachad [Sat, 30 Aug 2014 01:10:37 +0000 (01:10 +0000)]
Merge "Tunneled Video Playback: Changed AudioHwSync token to int32_t to match Audio stack api." into lmp-dev
Wei Jia [Fri, 29 Aug 2014 21:47:50 +0000 (14:47 -0700)]
MediaCodec: set state to UNINITIALIZED when receiving fatal error.
NuPlayerDecoder: release MediaCodec when handling an error.
Bug:
16661923
Change-Id: I1b6fd7ee5cc1136b3f289135e5360cd3d98f9799
Wei Jia [Fri, 29 Aug 2014 23:33:49 +0000 (16:33 -0700)]
NuPlayerRenderer: stop feeding AudioSink when paused.
NuPlayerDriver: current position is updated only in running state.
Bug:
17141882
Change-Id: Ia88551cc29ef8f0e7ef0600a214feb5633389b6e
Ruben Brunk [Sat, 30 Aug 2014 00:25:13 +0000 (17:25 -0700)]
camera1: Ensure MemoryHeap buffers are mmapped before copying.
Bug:
16986293
Change-Id: Icb68254d7ed1812fa9e60342749a2746d6fcfb17
Lajos Molnar [Fri, 29 Aug 2014 21:39:34 +0000 (21:39 +0000)]
Merge "stagefright: add codec capability info for google video codecs" into lmp-dev
Ronghua Wu [Thu, 28 Aug 2014 22:50:29 +0000 (15:50 -0700)]
GenericSource: set DRM playback status.
Bug:
17307158
Change-Id: I36b801a9b67831b618930cf1241756bb9644b4fd
Eric Laurent [Fri, 29 Aug 2014 18:29:49 +0000 (18:29 +0000)]
Merge "sound trigger: fix cross deadlock between service and client" into lmp-dev
Eric Laurent [Fri, 29 Aug 2014 18:29:36 +0000 (18:29 +0000)]
Merge "audio policy: fix input source passed to openInput()" into lmp-dev
Dmitry Shmidt [Fri, 29 Aug 2014 18:28:26 +0000 (18:28 +0000)]
Merge "audiopolicy: Indicate output device change to all input threads for pre-processing" into lmp-dev
Eric Laurent [Fri, 29 Aug 2014 02:45:37 +0000 (19:45 -0700)]
sound trigger: fix cross deadlock between service and client
Do not call callback methods on ISoundTriggerClient with the service mutex
locked: the client implementation will lock its mutex to process
the callback and if a request from the same client with client
mutex locked was waiting for the service mutex a deadlock occurs.
Bug:
16873049.
Change-Id: Ifc3b31fdfaed525981fa59876c041478f38b42e8
Eric Laurent [Fri, 29 Aug 2014 02:37:25 +0000 (19:37 -0700)]
audio policy: fix input source passed to openInput()
The input source passed to openInput() must be
modified from HOTWORD to VOICE_RECOGNITION if the capture does not
correspond to a sound trigger session.
Bug:
16731718.
Change-Id: I48aa4180e75dd5335cd096b48da1c15f2236e6ed
Rachad [Fri, 29 Aug 2014 02:08:45 +0000 (19:08 -0700)]
Tunneled Video Playback:
Changed AudioHwSync token to int32_t to match Audio stack api.
Bug:
17112525
Change-Id: I673819495c2e7b540e8d7572cc95796bddbf63bb
Bart Sears [Fri, 29 Aug 2014 02:06:36 +0000 (02:06 +0000)]
Merge "[AU]Sync libmedia/Android.mk modification from KLP-Sprout" into lmp-dev
Hochi Huang [Sat, 23 Aug 2014 01:19:27 +0000 (09:19 +0800)]
[AU]Sync libmedia/Android.mk modification from KLP-Sprout
Bug:
17322146
Change-Id: If29fbd87252710bd794f2e0bb270bc846380ef1d
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
bryant_liu [Tue, 19 Aug 2014 12:07:05 +0000 (20:07 +0800)]
audiopolicy: Indicate output device change to all input threads for pre-processing
Bug:
17129715
Change-Id: I1fd938cce0b85241c80ea00f3d013a98948d3975
bryant_liu [Wed, 20 Aug 2014 10:06:13 +0000 (18:06 +0800)]
frameworks: av: AudioPolicyEffect: Add refCount for each session
Audio framework stops and restarts AudioTracks on same audio session.
Sometimes the AudioTrack start() comes before a stop(). As effects
are linked to the session, they should only be created on the last
stop() related to that session.
Bug:
17201117
Change-Id: I19343e293d6b7b6b794fe05ebd0dd239ed3b075c
Eino-Ville Talvala [Thu, 28 Aug 2014 23:46:08 +0000 (23:46 +0000)]
Merge "CameraService: Create a dummy stream when 0 streams are requested." into lmp-dev
Robert Shih [Thu, 28 Aug 2014 22:57:39 +0000 (22:57 +0000)]
Merge "PlaylistFetcher: add lower bound check when starting live streams" into lmp-dev
Eino-Ville Talvala [Wed, 27 Aug 2014 21:41:33 +0000 (14:41 -0700)]
CameraService: Create a dummy stream when 0 streams are requested.
A workaround for a camera device HAL v3.2 or older specification hole - it's
not acceptable to configure_streams with 0 output streams. However, we allow for
this at the public API level, to allow an application to release all output streams.
So in this case, create a dummy stream that doesn't actually do anything as a placeholder.
Bug:
17220694
Change-Id: Ib25242ffc2c9f2b2f619fd5fe6d652266579da85
Robert Shih [Thu, 28 Aug 2014 22:18:53 +0000 (15:18 -0700)]
PlaylistFetcher: add lower bound check when starting live streams
Avoid false 'missed the boat' alarms that cause us to queue a bogus
discontinuity before even starting.
Bug:
17303166
Change-Id: I5003934fc695f30db2df9a0803b8fe960d77a458
Paul McLean [Thu, 28 Aug 2014 20:44:57 +0000 (20:44 +0000)]
Merge "Fix audio dropouts with multiple playback streams." into lmp-dev
Ronghua Wu [Fri, 22 Aug 2014 19:49:26 +0000 (12:49 -0700)]
Add adaptive playback support to VPX decoder.
Bug:
13842676
Change-Id: I9c054ea489fd3a71b3b2394f15a85b84d42edb5a
Eric Laurent [Thu, 28 Aug 2014 15:32:53 +0000 (15:32 +0000)]
Merge "audio policy: remove audio patch when closing input or output" into lmp-dev
Zhijun He [Wed, 27 Aug 2014 22:50:25 +0000 (15:50 -0700)]
Camera API1: Fix ZSLProcessor3 deadlock
ZSLProcessor3 shouldn't acquire mInputMutex in onBufferReleased call for output
buffers, because the caller (Camera3Stream::returnBuffer) holds the camera3
stream lock already. This could cause deadlock for ZSL reprocess request as it
holds the ZSLProcessor3 input lock and try to acquire camera3 stream lock to
submit the request.
Bug:
17299038
Change-Id: I6a7bf8ebd7c2064852358c655f3a3e9a67769213
Eric Laurent [Wed, 27 Aug 2014 22:32:29 +0000 (15:32 -0700)]
audio policy: remove audio patch when closing input or output
Make sure that an audio patch having an output as source or input as sink
is removed when this input or output is closed.
Bug:
17303725.
Change-Id: I234d54a25ce0b579eeeafdcfda3a0594f048768c
Yin-Chia Yeh [Wed, 27 Aug 2014 23:47:42 +0000 (23:47 +0000)]
Merge "cameraservice: decrease zsl metadata queue size by 1" into lmp-dev
Zhijun He [Wed, 27 Aug 2014 23:42:01 +0000 (23:42 +0000)]
Merge "Camera API1: Fix ZSLProcessor3 deadlock" into lmp-dev
Zhijun He [Wed, 27 Aug 2014 22:50:25 +0000 (15:50 -0700)]
Camera API1: Fix ZSLProcessor3 deadlock
ZSLProcessor3 shouldn't acquire mInputMutex in onBufferReleased call for output
buffers, because the caller (Camera3Stream::returnBuffer) holds the camera3
stream lock already. This could cause deadlock for ZSL reprocess request as it
holds the ZSLProcessor3 input lock and try to acquire camera3 stream lock to
submit the request.
Bug:
17299038
Change-Id: I6a7bf8ebd7c2064852358c655f3a3e9a67769213
Paul McLean [Wed, 20 Aug 2014 23:47:57 +0000 (16:47 -0700)]
Fix audio dropouts with multiple playback streams.
Bug
17136569
Change-Id: I7f69cb24168c7d27ce28679735f53c1ece4014c1
Marco Nelissen [Wed, 27 Aug 2014 23:26:29 +0000 (23:26 +0000)]
Merge "Fix potential deadlock in unregisterStaleHandlers()" into lmp-dev
Marco Nelissen [Wed, 27 Aug 2014 22:20:45 +0000 (15:20 -0700)]
Fix potential deadlock in unregisterStaleHandlers()
The scenario is that a call to unregisterStaleHandlers() is in progress,
and is holding a temporary sp<ALooper> reference to an active ALooper inside
of the loop. At this point the only other remaining external reference to
the ALooper goes away, so the temporary sp<ALooper> in the loop is now
the only reference keeping that object alive. When the loop iterates and
the sp<> goes out of scope, the ALooper destructor is called, which in turn
calls unregisterStaleHandlers again, resulting in a recursive lock.
Bug:
17300093
Change-Id: I116f2ffab4ae7c43b6bcf54a367ae6f9d77c9626
Yin-Chia Yeh [Wed, 27 Aug 2014 19:58:33 +0000 (12:58 -0700)]
cameraservice: decrease zsl metadata queue size by 1
Zsl buffer needs to be longer than metadata queue to ensure that
oldest metadata can always find a match in buffer queue.
Since we don't want to add memory overhead, decrease metadata
queue size by one serves the same purpose.
bug
17264283
Change-Id: Ic53441cc29c98e57d3345f5845d92839d0ce6faf
Ronghua Wu [Wed, 27 Aug 2014 21:52:39 +0000 (21:52 +0000)]
Merge "AudioPlayback: delay the post of EOS based on pending playout." into lmp-dev
Ronghua Wu [Wed, 27 Aug 2014 19:05:48 +0000 (12:05 -0700)]
AudioPlayback: delay the post of EOS based on pending playout.
Bug:
16840522
Change-Id: Icdc8888f5a8a77e2e5ebeb8a6934c7d79bd9e71a
Marco Nelissen [Mon, 25 Aug 2014 22:58:39 +0000 (15:58 -0700)]
Fix memory leak in getConnectionState
Turns out having an sp<> point at the containing object doesn't really
work so well.
Bug:
17210991
Change-Id: I4bcb0c38adffc574d661f0772583357868f6c5b4
Eino-Ville Talvala [Wed, 6 Aug 2014 21:32:02 +0000 (14:32 -0700)]
CameraService: Correct API2 error handling
- Add more error codes to the binder camera2 callbacks
- Translate HAL errors to callback errors
- When flushing, report failures for queued requests
- Treat stream config failure as nonfatal
- Send request errors when buffers aren't available for captures
Bug:
15524101
Bug:
14448494
Bug:
11272459
Bug:
17160301
Change-Id: I81aa54e805a9cce1cb8a6a9374549daa7666deb2
Marco Nelissen [Wed, 27 Aug 2014 17:58:14 +0000 (17:58 +0000)]
Merge "Fix memory leak in getConnectionState" into lmp-dev
The Android Automerger [Wed, 27 Aug 2014 13:11:29 +0000 (06:11 -0700)]
merge in lmp-release history after reset to
9dd4a2ddd7caf8cbe50d8a76e0ec3e0274d2bce6
Andy Hung [Wed, 27 Aug 2014 03:41:29 +0000 (03:41 +0000)]
Merge "Fix AudioMixer MONO muted track handling" into lmp-dev
Wei Jia [Wed, 27 Aug 2014 03:29:59 +0000 (03:29 +0000)]
Merge "NuPlayer: set controlledByApp to true when creating Surface." into lmp-dev
Marco Nelissen [Tue, 26 Aug 2014 20:57:32 +0000 (13:57 -0700)]
Fix SoundPool lockup
NuPlayerDriver needs to update its internal state before calling
its listener, so that when the listener calls back into NuPlayerDriver,
NuPlayerDriver has the right state.
Bug:
14057920
Change-Id: I224882c427f5e3c9d4bf96c5d68075e235062401
Marco Nelissen [Mon, 25 Aug 2014 22:58:39 +0000 (15:58 -0700)]
Fix memory leak in getConnectionState
Turns out having an sp<> point at the containing object doesn't really
work so well.
Bug:
17210991
Change-Id: I4bcb0c38adffc574d661f0772583357868f6c5b4
Marco Nelissen [Tue, 26 Aug 2014 22:28:35 +0000 (22:28 +0000)]
Merge "Fix SoundPool lockup" into lmp-dev
Wei Jia [Tue, 26 Aug 2014 22:24:43 +0000 (15:24 -0700)]
NuPlayer: set controlledByApp to true when creating Surface.
This fixes hang when trying to dequeue buffer from native window
followed by a flush.
Bug:
16303659
Bug:
17250931
Change-Id: Ib87ae558b020f5ce82b4192ec63339c93a72a2e9
Chong Zhang [Tue, 26 Aug 2014 16:56:52 +0000 (09:56 -0700)]
do string compare with mime immediately after we get the value
Bug:
17210803
Change-Id: I4d20dd4b95d18251c18a371bd8f89b1320b38879
Marco Nelissen [Tue, 26 Aug 2014 20:57:32 +0000 (13:57 -0700)]
Fix SoundPool lockup
NuPlayerDriver needs to update its internal state before calling
its listener, so that when the listener calls back into NuPlayerDriver,
NuPlayerDriver has the right state.
Bug:
14057920
Change-Id: I224882c427f5e3c9d4bf96c5d68075e235062401
Chong Zhang [Tue, 26 Aug 2014 17:38:17 +0000 (17:38 +0000)]
Merge "do string compare with mime immediately after we get the value" into lmp-dev
Chong Zhang [Tue, 26 Aug 2014 16:56:52 +0000 (09:56 -0700)]
do string compare with mime immediately after we get the value
Bug:
17210803
Change-Id: I4d20dd4b95d18251c18a371bd8f89b1320b38879
The Android Automerger [Tue, 26 Aug 2014 13:10:47 +0000 (06:10 -0700)]
merge in lmp-release history after reset to
d42173a44721af1a600b9c8599bc736394fcc724
Andy Hung [Tue, 26 Aug 2014 00:15:29 +0000 (17:15 -0700)]
Fix AudioMixer MONO muted track handling
Incorrect handling caused "stereo" mode to be used.
Augmented error handling to print more debug info.
Bug:
17208475
Change-Id: I5bcaf0ba5bd5a4f7d4885f8cce43bbf42e5f1e6b
Rachad Alao [Mon, 25 Aug 2014 21:46:34 +0000 (21:46 +0000)]
Revert "disable AwesomePlayer for Ogg vorbis"
Temporarily revert commit
9b48f5d780757ffb81709df3633d06b62edaf39f as a workaround for b/
17173673
Bug:
17173673
Change-Id: Iec52289e77485a58ce28cc515d6a5b8e7b2d328a
Rachad Alao [Mon, 25 Aug 2014 21:49:35 +0000 (21:49 +0000)]
Merge "Revert "disable AwesomePlayer for Ogg vorbis"" into lmp-dev
Rachad Alao [Mon, 25 Aug 2014 21:46:34 +0000 (21:46 +0000)]
Revert "disable AwesomePlayer for Ogg vorbis"
Temporarily revert commit
9b48f5d780757ffb81709df3633d06b62edaf39f as a workaround for b/
17173673
Bug:
17173673
Change-Id: Iec52289e77485a58ce28cc515d6a5b8e7b2d328a
Lajos Molnar [Mon, 25 Aug 2014 17:55:39 +0000 (17:55 +0000)]
Merge "NuPlayer: remember and resubmit CSDs after flush" into lmp-dev
Robert Shih [Mon, 25 Aug 2014 17:04:13 +0000 (17:04 +0000)]
Merge "HTTPLiveSource: check for NULL before getTrackCount/Info" into lmp-dev
The Android Automerger [Mon, 25 Aug 2014 13:10:34 +0000 (06:10 -0700)]
merge in lmp-release history after reset to
34febc9654ba3b447239b7761ce4c93ca9a20b5f
The Android Automerger [Sun, 24 Aug 2014 13:09:39 +0000 (06:09 -0700)]
merge in lmp-release history after reset to
34febc9654ba3b447239b7761ce4c93ca9a20b5f
Lajos Molnar [Thu, 21 Aug 2014 02:25:30 +0000 (19:25 -0700)]
NuPlayer: remember and resubmit CSDs after flush
Bug:
17118001
Change-Id: I09bbefd4c05de0db1c593e8d6d38859358a20ebb
The Android Automerger [Sat, 23 Aug 2014 13:10:33 +0000 (06:10 -0700)]
merge in lmp-release history after reset to
848726d845b51da04364bdaf4ec915c85d593c0e
Lajos Molnar [Sat, 23 Aug 2014 06:58:05 +0000 (23:58 -0700)]
stagefright: process CSD regardless of what port was last queued
CSD is always on the input port, so it does not matter which port
a buffer was last queued to.
Bug:
17216852
Change-Id: I6d00eb4bf3c2e9b9cc3c9918229de958bc465693
Wei Jia [Sat, 23 Aug 2014 01:49:26 +0000 (01:49 +0000)]
Merge "MediaCodec: handle errors during flushing." into lmp-dev
Wei Jia [Wed, 20 Aug 2014 18:49:40 +0000 (11:49 -0700)]
MediaCodec: handle errors during flushing.
Bug:
17068327
Bug:
13133027
Change-Id: I06caf79b90ebf55d6d7561cb82516c0b6c66f0e4
Chong Zhang [Sat, 23 Aug 2014 00:05:00 +0000 (00:05 +0000)]
Merge "wait for flush to finish before returning setSurface" into lmp-dev
Chong Zhang [Fri, 22 Aug 2014 22:53:20 +0000 (22:53 +0000)]
Merge "add buffering update to GenericSource" into lmp-dev
Chong Zhang [Fri, 22 Aug 2014 22:35:28 +0000 (15:35 -0700)]
wait for flush to finish before returning setSurface
Bug:
17187598
Change-Id: I091219e57158a4532044ca49342b57277d6ecb15
Wei Jia [Fri, 22 Aug 2014 21:53:39 +0000 (21:53 +0000)]
Merge "ACodec: handle errors related to native window." into lmp-dev
Chong Zhang [Wed, 20 Aug 2014 20:09:58 +0000 (13:09 -0700)]
move cache prefill to GenericSource's message handler
This allows prepareAsync to be terminated by reset promptly.
It also makes it easier to do buffer update as GenericSource
can access the cache status now.
Bug:
16892748
Bug:
17182378
Change-Id: Ia55c04a810fd805041cb2025f6739afa5120b5ed
Andy Hung [Thu, 21 Aug 2014 00:37:59 +0000 (17:37 -0700)]
Fix SoundPool and MediaPlayerService buffer overflow
Overflow occurs when SoundPool sample tracks cannot
fit in the MediaPlayerService AudioCache buffer.
Unnecessary decoding occurred with AwesomePlayer and
an assert failure occurred with NuPlayer. NuPlayerRenderer
is also tweaked to handle the latter case.
Bug:
17122639
Change-Id: I4d25d3e2c0c62e36a91da6bf969edabddc2ebbb0
Chong Zhang [Wed, 20 Aug 2014 01:07:08 +0000 (18:07 -0700)]
print warning if offset != buffer size
Bug:
17110981
Change-Id: Iacceca203372f4c06ff5ef7ce98edd5554727b64
Wei Jia [Wed, 20 Aug 2014 21:30:09 +0000 (14:30 -0700)]
ACodec: handle errors related to native window.
Bug:
17068327
Bug:
13133027
Change-Id: I9875e524222a10d1be26be5a84b9633b4aaeb210
Wei Jia [Fri, 22 Aug 2014 21:20:59 +0000 (21:20 +0000)]
Merge "NuPlayerDriver: fix current position for stop and pause." into lmp-dev
Chong Zhang [Fri, 22 Aug 2014 21:01:40 +0000 (21:01 +0000)]
Merge "move cache prefill to GenericSource's message handler" into lmp-dev
Chong Zhang [Fri, 22 Aug 2014 21:01:29 +0000 (21:01 +0000)]
Merge "print warning if offset != buffer size" into lmp-dev
Zhijun He [Fri, 22 Aug 2014 19:27:18 +0000 (19:27 +0000)]
Merge "Camera API1: remove unnecessary buffer count check" into lmp-dev
Chong Zhang [Fri, 22 Aug 2014 00:48:26 +0000 (17:48 -0700)]
add buffering update to GenericSource
Bug:
17182378
Change-Id: Ib86f3f522d7ea635489edd2b512adb7f4b27e381
Zhijun He [Fri, 22 Aug 2014 18:28:18 +0000 (11:28 -0700)]
Camera API1: remove unnecessary buffer count check
This check doesn't work with ZSL use case. Since the ZSL is both an input and
output stream, When an input buffer is acquired, checking the handout buffer
count for that stream could trigger false alarm when all the output buffers
are sent to hal, instead, we should wait for an output buffer to return.
Bug:
17188380
Change-Id: I7eb166eb49d2f063189d993195ef389d2cf4f2b4
Wei Jia [Thu, 21 Aug 2014 01:21:11 +0000 (18:21 -0700)]
NuPlayerDriver: fix current position for stop and pause.
When start() is called after EOS, it means restarting from the beginning of the stream.
Fix racing conditon on accessing some members.
Report seekTo position before any notifyPosition is called.
Bug:
17031731
Bug:
17178928
Change-Id: I008b827288cf28d39e2a943373fe1e5d7d6c2595
Lajos Molnar [Fri, 22 Aug 2014 02:19:08 +0000 (19:19 -0700)]
stagefright: allow to resubmit CSDs for SoftAAC2
Bug:
17118001
Change-Id: I45469b9aa6146edf3265b0f05f5ce3592b5daca6
Robert Shih [Thu, 21 Aug 2014 01:17:03 +0000 (18:17 -0700)]
SoftAAC2: allow reconfiguring output after multiple output buffers
Bug:
17134697
Change-Id: Iaa8bdccbf1a8ccd3f898e48cfd22a0a443710fdd
Yin-Chia Yeh [Fri, 22 Aug 2014 02:53:51 +0000 (02:53 +0000)]
Merge "Camera: fix triggerId logic" into lmp-dev
Chong Zhang [Wed, 20 Aug 2014 20:09:58 +0000 (13:09 -0700)]
move cache prefill to GenericSource's message handler
This allows prepareAsync to be terminated by reset promptly.
It also makes it easier to do buffer update as GenericSource
can access the cache status now.
Bug:
16892748
Bug:
17182378
Change-Id: Ia55c04a810fd805041cb2025f6739afa5120b5ed
Andy Hung [Fri, 22 Aug 2014 00:33:24 +0000 (00:33 +0000)]
Merge "Fix SoundPool and MediaPlayerService buffer overflow" into lmp-dev
Ruben Brunk [Thu, 21 Aug 2014 20:41:42 +0000 (13:41 -0700)]
camera2: Fix CameraUtils orientation for front camera.
Bug:
16637957
Change-Id: If6d213794a92eb60b8a333546670ca868b75e5fc
Andy Hung [Thu, 21 Aug 2014 00:37:59 +0000 (17:37 -0700)]
Fix SoundPool and MediaPlayerService buffer overflow
Overflow occurs when SoundPool sample tracks cannot
fit in the MediaPlayerService AudioCache buffer.
Unnecessary decoding occurred with AwesomePlayer and
an assert failure occurred with NuPlayer. NuPlayerRenderer
is also tweaked to handle the latter case.
Bug:
17122639
Change-Id: I4d25d3e2c0c62e36a91da6bf969edabddc2ebbb0
Ruben Brunk [Thu, 21 Aug 2014 22:46:03 +0000 (22:46 +0000)]
Merge "camera2: Fix CameraUtils orientation for front camera." into lmp-dev
Igor Murashkin [Thu, 21 Aug 2014 22:33:24 +0000 (22:33 +0000)]
Merge "camera: Configure streams immediately when API2 does configuration" into lmp-dev
Yin-Chia Yeh [Thu, 21 Aug 2014 21:27:44 +0000 (14:27 -0700)]
Camera: fix triggerId logic
Fix missing triggerId introduced by previous cleanup change.
bug
17108154
bug
17053130
Change-Id: Ifda55d5fbe992d98f335a8427aa256d78a856586
Ruben Brunk [Thu, 21 Aug 2014 20:41:42 +0000 (13:41 -0700)]
camera2: Fix CameraUtils orientation for front camera.
Bug:
16637957
Change-Id: If6d213794a92eb60b8a333546670ca868b75e5fc