OSDN Git Service
Lajos Molnar [Sat, 19 Jul 2014 08:45:27 +0000 (08:45 +0000)]
Merge "Add MediaCodecList capabilities" into lmp-dev
Lajos Molnar [Tue, 15 Jul 2014 14:57:52 +0000 (07:57 -0700)]
Add MediaCodecList capabilities
Bug:
12065651
Change-Id: Icfb73c0009621cd747e113d8a0cd84c966bf055d
Glenn Kasten [Fri, 18 Jul 2014 22:31:02 +0000 (15:31 -0700)]
Fix copy/paste bug
introduced by Change-Id: I4e9b7fa99858b488ac98a441fa70e31dbba1b865
Change-Id: I9a0c8800f5cf3767cc259776f95c96cad972e392
Andy Hung [Sat, 19 Jul 2014 03:39:26 +0000 (03:39 +0000)]
Merge "Update DownmixerBufferProvider to use CopyBufferProvider" into lmp-dev
Andy Hung [Thu, 17 Jul 2014 04:41:35 +0000 (21:41 -0700)]
Update DownmixerBufferProvider to use CopyBufferProvider
Change-Id: I6b1a8755a1e6c29b916662fd376e9509cda5df55
Andy Hung [Thu, 17 Jul 2014 00:44:34 +0000 (17:44 -0700)]
Add CopyBufferProvider class for AudioMixer
AudioMixer::ReformatBufferProvider now uses it as a base class.
Fix ReformatBufferProvider object leak.
Change-Id: If196f844eaaa124a173ffa27afe88098023c2ff9
Lajos Molnar [Fri, 18 Jul 2014 18:27:12 +0000 (18:27 +0000)]
Merge "stagefright: Fix seeking in MPEG4 container" into lmp-dev
Lajos Molnar [Thu, 17 Jul 2014 17:52:36 +0000 (10:52 -0700)]
stagefright: Fix seeking in MPEG4 container
- seek based on user-visible timestamp
- seek to previous, next and closest exactly
Bug:
12786906
Change-Id: I2d5e1fbff6469b6f081a284be2222a4cb50aa754
Lajos Molnar [Thu, 17 Jul 2014 21:29:51 +0000 (14:29 -0700)]
nuplayer: support widevine sources
- handle widevine:// scheme
- add separate looper for renderer (as it can block initial buffer
handling if all buffers are used)
- initiate secure codecs before source is started
- don't read secure buffers
- share ACodec's input buffers with Widevine source
on the decoder side
- keep track of mediabuffers released by widevine source
- keep track of dequeued input buffers (for safety)
- release mediabuffer when buffer is subsequently dequeued. (This
was hardcoded into OMXCodec to do this when buffer-empties message
was handled, but MediaCodec does not support such functionality.)
Bug:
15699665
Change-Id: I4a369443294e45c644be8b0257010e52db1d7c9b
Lajos Molnar [Thu, 17 Jul 2014 22:33:06 +0000 (15:33 -0700)]
nuplayer: add widevine support to GenericSource
Bug:
15699665
Change-Id: Ided823bd0b1118bbabb288cf62d6389518f820a9
Lajos Molnar [Thu, 17 Jul 2014 21:23:58 +0000 (14:23 -0700)]
stagefright: use all input buffers in ACodec
Bug:
15699665
Change-Id: If37e5c70e56821375ede911e781b5d4b8d41f8ad
Lajos Molnar [Thu, 17 Jul 2014 21:23:16 +0000 (14:23 -0700)]
stagefright: add nonblocking MediaBufferGroup.acquire_buffer method
Bug:
15699665
Change-Id: I31c1ab4413c62ff3dd4e0d5b06a398064b4aaddd
Lajos Molnar [Fri, 18 Jul 2014 01:58:00 +0000 (01:58 +0000)]
Merge "stagefright: add nonblocking read option to MediaBuffer" into lmp-dev
Lajos Molnar [Thu, 17 Jul 2014 21:17:09 +0000 (14:17 -0700)]
stagefright: add nonblocking read option to MediaBuffer
Bug:
15699665
Change-Id: I2aaddc4c937cf5c1e36386bafd7d396d5781bf6d
Andy Hung [Sat, 19 Jul 2014 03:23:02 +0000 (03:23 +0000)]
Merge "Add CopyBufferProvider class for AudioMixer" into lmp-dev
Wei Jia [Sat, 19 Jul 2014 00:44:25 +0000 (00:44 +0000)]
Merge "Free MediaBuffer when ABuffer is discarded." into lmp-dev
Wei Jia [Fri, 18 Jul 2014 21:27:25 +0000 (14:27 -0700)]
Free MediaBuffer when ABuffer is discarded.
BUG:
15699665
Change-Id: Ie7da017cf32ccc08094fe4b01a2b07d2739770d2
Glenn Kasten [Thu, 17 Jul 2014 21:56:55 +0000 (21:56 +0000)]
Merge "Move AudioRecord frame count calculations to server" into lmp-dev
Glenn Kasten [Thu, 17 Jul 2014 21:39:27 +0000 (21:39 +0000)]
Merge "Add audio_input_flags_t to IAudioPolicyService::getInput" into lmp-dev
Andy Hung [Thu, 17 Jul 2014 21:23:26 +0000 (21:23 +0000)]
Merge "Fix initial audio glitch on startup" into lmp-dev
Glenn Kasten [Thu, 17 Jul 2014 21:12:07 +0000 (21:12 +0000)]
Merge "Add audio_input_flags_t to IAudioFlinger::openInput" into lmp-dev
Andy Hung [Thu, 17 Jul 2014 21:23:09 +0000 (21:23 +0000)]
Merge "Revert "Revert "Enable extended precision PCM output in AudioFlinger""" into lmp-dev
Andy Hung [Thu, 17 Jul 2014 21:20:57 +0000 (21:20 +0000)]
Revert "Revert "Enable extended precision PCM output in AudioFlinger""
This reverts commit
ce83432a922e55d68625aad854f8f6520db395bc.
Change-Id: I2d005bfe091beef810c9ddfb53e308fa0e47b355
Andy Hung [Thu, 17 Jul 2014 21:00:07 +0000 (14:00 -0700)]
Fix initial audio glitch on startup
Also happens when restarting AudioFlinger.
Bug:
16322824
Change-Id: I382b20174cb0639e04316130141f2094d7dd0cb3
Glenn Kasten [Thu, 3 Jul 2014 19:28:53 +0000 (12:28 -0700)]
Move AudioRecord frame count calculations to server
Buffer frame count and notification frame count
are now calculated by server instead of by client.
The server has more information and can do a better job.
Also fix a few bugs:
- If a fast track was re-created, even with same pipe depth, it would fail.
Now it can correctly re-create a fast track provided the pipe depth is same.
- Notification frame count for fast tracks was calculated by client
as 1/2 of the total frame count, which is a large value due to the pipe.
Now the notification frame count is set by server to the HAL frame count.
This should reduce latency for fast tracks.
- EVENT_OVERRUN were happening frequently when there was sample rate conversion,
because the client didn't know about the sample rate conversion,
and under-estimated the necessary buffer size. Now since server
calculates the buffer sizes, EVENT_OVERRUN is unlikely.
- RecordThread::createRecordTrack_l was checking for mono and stereo
for fast tracks. This is not necessary, and now we can handle a
multi-channel fast track.
Bug:
7498763
Change-Id: I0c581618e8db33084d5ff9ed50a592990c9749e8
Glenn Kasten [Wed, 16 Jul 2014 15:36:31 +0000 (08:36 -0700)]
Add audio_input_flags_t to IAudioPolicyService::getInput
Change-Id: I9f37be05f8dc7b85a8827a94e76ca0f45453e170
Glenn Kasten [Tue, 15 Jul 2014 22:31:26 +0000 (15:31 -0700)]
Add audio_input_flags_t to IAudioFlinger::openInput
For backward compatibility, until flags are correctly calculated,
we will assume that the request is for a low latency input stream.
Change-Id: I76746834e870df00833dc77cbdaa2edd2ffeec95
Glenn Kasten [Thu, 3 Jul 2014 17:20:00 +0000 (10:20 -0700)]
Improve dumpsys for capture threads
Show per-track sample rate, and whether there is a fast capture thread
Change-Id: If6a08a40d1eeba0690aa8da3c541f845ec101b7f
Zhijun He [Thu, 17 Jul 2014 20:36:14 +0000 (20:36 +0000)]
Merge "Camera HAL3: migrate from partial quirks to partial result" into lmp-dev
Zhijun He [Thu, 17 Jul 2014 23:59:40 +0000 (23:59 +0000)]
Merge "stagefright: add error log when create omx component failed" into lmp-dev
Zhijun He [Thu, 17 Jul 2014 23:20:13 +0000 (16:20 -0700)]
stagefright: add error log when create omx component failed
Bug:
16343447
Change-Id: I6854b9b837a141a77ab318953dc002ec5ad5d31d
Andy Hung [Thu, 17 Jul 2014 17:26:50 +0000 (10:26 -0700)]
Revert "Enable extended precision PCM output in AudioFlinger"
This reverts commit
a494e82c3c73508b4d3cfe89e9134de94e12fd31.
Glenn Kasten [Thu, 17 Jul 2014 19:26:15 +0000 (19:26 +0000)]
Merge "Improve dumpsys for capture threads" into lmp-dev
Andy Hung [Thu, 17 Jul 2014 17:30:20 +0000 (17:30 +0000)]
Merge "Revert "Enable extended precision PCM output in AudioFlinger"" into lmp-dev
Eric Laurent [Thu, 17 Jul 2014 17:26:04 +0000 (10:26 -0700)]
Revert "sound trigger: added permission checks"
This reverts commit
dcb162f3aed807d1e51f29e2454ade584439992e.
Jungshik Jang [Tue, 15 Jul 2014 10:38:42 +0000 (19:38 +0900)]
Revisit HDMI-CEC system audio mode in AudioService.
From recent feedback on HDMI-CEC system audio mode,
it would be unnecessary to enforce output from AudioService.
Instead, it would follow audio policy according to status
of HDMI-CEC system audio mode.
For that removed two params of setHdmiSystemAudioModeSupported
api of AudioManager.
In terms of speaker mute, it will be handled by removing speaker
from audio ouput instead of changing gain control. For that
added new force usage type, FOR_HDMI_SYSTEM_AUDIO_MODE and
new force config type, FORCE_HDMI_SYSTEM_AUDIO_ENFORCED.
This is used to notify change of system audio mode to
audio policy manager.
Bug:
16305986
Bug:
16002150
Change-Id: I702e0f9ce7c7887d5f5dd02b06a40d20e4c950df
Lajos Molnar [Thu, 17 Jul 2014 00:15:21 +0000 (00:15 +0000)]
Merge "M3UParser: check for NULL before setting meta data" into lmp-dev
Robert Shih [Wed, 16 Jul 2014 22:27:43 +0000 (15:27 -0700)]
M3UParser: check for NULL before setting meta data
Bug:
16351654
Change-Id: I64e9510f719b220471522b4d78a9b00a98bda772
Zhijun He [Tue, 15 Jul 2014 00:09:23 +0000 (17:09 -0700)]
Camera HAL3: migrate from partial quirks to partial result
- Enable the normal partial result path for HAL3.2, the quirk is only used
for the HAL version lower than HAL3.2. The partial quirks is no longer supported
for HAL3.2 or higher versions.
- Add CameraDeviceBase getDeviceVersion API.
- Fix some build warnings
Change-Id: I7a1b03d4d5fd5258d2addfba4368bee2ba691337
Robert Shih [Thu, 12 Jun 2014 21:49:23 +0000 (14:49 -0700)]
GenericSource: implement getTrackCount/getTrackInfo
Bug:
15153976
Change-Id: I0204c4188d485cda026497469c7cde24f7bd5c95
Glenn Kasten [Wed, 16 Jul 2014 19:37:20 +0000 (19:37 +0000)]
Merge "Add audio_input_flags_t to HAL open_input_stream" into lmp-dev
Lajos Molnar [Mon, 14 Jul 2014 16:35:25 +0000 (09:35 -0700)]
Fix M3UParser relative path handling.
Bug:
16017037
Change-Id: Ibfff99387fb5b3e721144a2b3f9174092d785137
Eric Laurent [Fri, 11 Jul 2014 16:14:45 +0000 (09:14 -0700)]
sound trigger: added permission checks
Add check for android.permission.CAPTURE_AUDIO_HOTWORD
to all sound trigger binder calls on server side.
Bug:
12378680.
Change-Id: Ic3fd70e947882cdf5f4d4a4fe609a2c5a8236fd5
Lajos Molnar [Tue, 15 Jul 2014 14:56:04 +0000 (07:56 -0700)]
stagefright: add MediaCodec.reset()
Bug:
12034929
Change-Id: I326f1356df89474aa088c1c87f8505b33654139d
Glenn Kasten [Tue, 15 Jul 2014 22:34:27 +0000 (15:34 -0700)]
Add audio_input_flags_t to HAL open_input_stream
For backward compatibility, until flags are added to openInput(),
we will assume that the request is for a low latency input stream.
Change-Id: I5e6f7e574418917ff1b41b0a47199203c69cb40f
Glenn Kasten [Tue, 15 Jul 2014 19:29:44 +0000 (19:29 +0000)]
Merge "const correctness on downmix and upmix" into lmp-dev
Glenn Kasten [Tue, 15 Jul 2014 00:26:36 +0000 (17:26 -0700)]
const correctness on downmix and upmix
Change-Id: I0f51470a6d58a22310ce7cda80afc55e9d6df1dc
Eric Laurent [Tue, 15 Jul 2014 17:38:16 +0000 (10:38 -0700)]
audio policy: build with USE_LEGACY_AUDIO_POLICY
Change-Id: I9def12ea689b00c0295c670c07373dacfb186799
Jean-Michel Trivi [Tue, 8 Jul 2014 23:31:40 +0000 (16:31 -0700)]
DO NOT MERGE LVM virtualizer: add support for virtualizer capability query
Change-Id: I88106ba25f9b3f8fd7616307ab6b7fbe7afb6e91
(cherry picked from commit
bfd3b9764841971be2d2f04a3fdbd41a2144beea)
Ruben Brunk [Wed, 18 Jun 2014 17:39:40 +0000 (10:39 -0700)]
camera2: Set orientation flags for hardware composer.
Bug:
15116722
Change-Id: I3fcc9aea38afcbd665f86c511a9929fe9a6a3a8f
Jesse Hall [Tue, 8 Jul 2014 02:26:31 +0000 (19:26 -0700)]
Encoder input buffers don't need HW_TEXTURE usage
Change-Id: Ibb1be86ae99439ccbce3fc2b38d92115083ef7ff
Naveen Kumar Ponnusamy [Tue, 1 Jul 2014 22:10:40 +0000 (15:10 -0700)]
Resolution reinitialization changes
Decoder initialized to 320x240. When higher resolution comes,
the decoder reinitialized to the resolution.
Bug:
14571712
Change-Id: I6b6ad17dd87f0112ce7ccf4f6c17bb4c65b5d8af
Chong Zhang [Sat, 12 Jul 2014 02:47:22 +0000 (02:47 +0000)]
Merge "MediaCodec: change onError cb to return CodecException"
Chong Zhang [Fri, 11 Jul 2014 23:17:14 +0000 (16:17 -0700)]
MediaCodec: change onError cb to return CodecException
Bug:
11990118
Change-Id: I3278aecb20df88c42fa2709a66e6166eb3cbe56f
Eric Laurent [Sat, 12 Jul 2014 02:29:16 +0000 (02:29 +0000)]
Merge "audiopolicy: remove debug log in AudioPolicyEffects.cpp"
Sreeram Ramachandran [Sat, 12 Jul 2014 00:37:32 +0000 (17:37 -0700)]
Use a better and more direct API to mark a socket as if it were a user's.
Change-Id: If525ee259b74314191d1913f7c2a3e828e05c38f
Eric Laurent [Fri, 11 Jul 2014 23:51:53 +0000 (16:51 -0700)]
audiopolicy: remove debug log in AudioPolicyEffects.cpp
Change-Id: Ia037807a91d6649c3f47baccf8c107df496e934e
Chong Zhang [Wed, 9 Jul 2014 01:50:05 +0000 (18:50 -0700)]
MediaCodec async callbacks
Bug:
11990118
Change-Id: I6fe4b407d9c85cddec8d958620d5d356735273cf
Lajos Molnar [Wed, 9 Jul 2014 04:26:53 +0000 (21:26 -0700)]
stagefright: add indexed buffer and format getters to MediaCodec
These are designed to be called from the same thread as the one
calling dequeue?Buffer, and use a mutex to avoid switching
context. All other calls of MediaCodec are designed to be blocking
and synchronous.
Bug:
14297827
Change-Id: If341c6e4407ca6f10f5e0d47008dddc0e20b0a50
Eric Laurent [Fri, 11 Jul 2014 22:09:52 +0000 (22:09 +0000)]
Merge "audio policy: add rules to select audio parameters"
Eric Laurent [Wed, 9 Jul 2014 22:03:28 +0000 (15:03 -0700)]
audio policy: add rules to select audio parameters
Added rules to select most appropriate sampling rate, format and
channel mask from an input or output profile.
Moved mFlags from IOProfile to its base class AudioPort.
Removed bogus mChannelMask member in DeviceDescriptor class.
Improveed dump of dynamic parameters in AudioPort.
Change-Id: Ic09d320386002a8bafee4a28db00b1001a386678
aarti jadhav-gaikwad [Thu, 19 Jun 2014 12:13:01 +0000 (17:43 +0530)]
stagefright: Return correct play position after EOS
In case of offload getOutputPlayPositionUs_l returns
zero on reaching EOS. Return duration as position.
Bug:
15770459
Change-Id: I7aeafdc315a86ccd197d555d604e1069eead3153
Chong Zhang [Fri, 11 Jul 2014 19:17:04 +0000 (19:17 +0000)]
Merge "MediaCodec async callbacks"
aarti jadhav-gaikwad [Wed, 18 Jun 2014 09:55:26 +0000 (15:25 +0530)]
stagefright: Pass audio aac sub formats in offloadinfo
Pass audio aac sub formats in offloadinfo according to
aac profile. Audio HAL can take decision about offload
using DSP capabilities
Change-Id: If269a3654b5d2b09c183212b0646ef03e06f2d8f
Wei Jia [Fri, 11 Jul 2014 01:05:01 +0000 (01:05 +0000)]
Merge "Check meta before dereferencing it."
Wei Jia [Fri, 11 Jul 2014 00:49:27 +0000 (17:49 -0700)]
Check meta before dereferencing it.
Change-Id: Ic8153b33413a34d75a3053dbfb9530a639e0ec12
Andy Hung [Fri, 11 Jul 2014 00:11:02 +0000 (00:11 +0000)]
Merge "Return negotiated format with HAL in AudioFlinger"
Andy Hung [Thu, 10 Jul 2014 23:56:07 +0000 (16:56 -0700)]
Return negotiated format with HAL in AudioFlinger
Fixes an issue caused by extended precision and the FastMixer
when the format to the FastMixer was returned instead of the
HAL format.
Change-Id: I2be9d55d5c87d82e46b5200b07fcdd986ebde08a
Ruben Brunk [Thu, 10 Jul 2014 23:20:10 +0000 (23:20 +0000)]
Merge "DNG: Update TiffWriter to handle thumbnails and SubIfds."
Ruben Brunk [Thu, 29 May 2014 01:42:37 +0000 (18:42 -0700)]
DNG: Update TiffWriter to handle thumbnails and SubIfds.
- Fix SubIfd handling.
- Add StripSources, convenience functions for writing image strips.
- Update Input classes to use with JNI.
- Add skip method.
- Add tag definitions for GPS tags.
- Add name string to tag definitions.
Bug:
15112503
Change-Id: I9535b21261027f6c06a041c1621de8f865a0ad32
Jungshik Jang [Tue, 8 Jul 2014 13:11:24 +0000 (22:11 +0900)]
Revamp HDMI-CEC system audio mode integration with audio service.
In previous change we use setForceUse(FORCE_MEDIA, XXX) method
in order to set specific audio output type, such as LINE, HDMI_ARC,
and SPDIF. But it turns out that it conflicts with bluetooth
a2dp which uses the same setForceUse(FORCE_MEDIA, yyy).
This change is based on several conditions.
1. When other non-speaker devices are on, prevent system audio
from turing on.
2. In order to keep track of other devices' connectivity and to
turn off system audio if other device like bluetooth or
headphone preempts current output, register OnAudioPortChangeListner
to audio manager.
3. All possible system audio outputs can be merged with other
outputs without priority.
Change-Id: Ic5ccc80f9b48fb77433c347de7969837c69e58c1
Elliott Hughes [Thu, 10 Jul 2014 00:46:33 +0000 (17:46 -0700)]
resolved conflicts for merge of
373e21cc to master
Change-Id: I91afd8f9cba04559d21e1c84e25c5c60c990165d
Elliott Hughes [Thu, 10 Jul 2014 00:16:50 +0000 (00:16 +0000)]
am
be44e0e0: am
0bffd2e6: Merge "Switch frameworks/av/media/libmedia to the new icu."
* commit '
be44e0e0ffda04725c4864d894a7cc80bd74b5ca':
Switch frameworks/av/media/libmedia to the new icu.
Elliott Hughes [Thu, 10 Jul 2014 00:08:21 +0000 (00:08 +0000)]
am
0bffd2e6: Merge "Switch frameworks/av/media/libmedia to the new icu."
* commit '
0bffd2e60f644c8b8650c48d320c8cc22deb8ab6':
Switch frameworks/av/media/libmedia to the new icu.
Wei Jia [Tue, 8 Jul 2014 23:37:57 +0000 (16:37 -0700)]
Add support of audio offloading for NuPlayer.
Change-Id: Ic83973339fb46a83b48382e6097925f45d200867
Lajos Molnar [Wed, 9 Jul 2014 17:01:38 +0000 (10:01 -0700)]
DO NOT MERGE: Fix build for libstagefright
Bug:
15987446
Change-Id: I6a13e1f73b067b733e2592e12ee21210d4c4d476
Elliott Hughes [Wed, 9 Jul 2014 23:55:51 +0000 (23:55 +0000)]
Merge "Switch frameworks/av/media/libmedia to the new icu."
Elliott Hughes [Wed, 9 Jul 2014 23:52:17 +0000 (16:52 -0700)]
Switch frameworks/av/media/libmedia to the new icu.
Change-Id: I45349756bac6d89b02dba082ba6d606f4c489dcf
Narayan Kamath [Wed, 9 Jul 2014 12:36:43 +0000 (12:36 +0000)]
am
1c1b5e51: am
c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
* commit '
1c1b5e51cb1acd43984ce2e82a27e61b4943186a':
m4v_h263_enc: Use uint32_t for ULong
Narayan Kamath [Wed, 9 Jul 2014 12:22:05 +0000 (12:22 +0000)]
am
c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
* commit '
c37eaa320437b7d65d1c3f704d7b7c61d4ccd8f1':
m4v_h263_enc: Use uint32_t for ULong
Andy Hung [Wed, 9 Jul 2014 20:35:08 +0000 (20:35 +0000)]
Merge "Add floating point volume handling to AudioMixer"
Andy Hung [Wed, 9 Jul 2014 17:47:57 +0000 (17:47 +0000)]
Merge "Enable extended precision PCM output in AudioFlinger"
Lajos Molnar [Wed, 9 Jul 2014 17:19:02 +0000 (17:19 +0000)]
am
aae3f86c: (-s ours) DO NOT MERGE: Fix build for libstagefright
* commit '
aae3f86c7c9a3bce5aab0d283343455d58b133b8':
DO NOT MERGE: Fix build for libstagefright
Jean-Michel Trivi [Wed, 9 Jul 2014 16:08:47 +0000 (16:08 +0000)]
Merge "Revise speaker volume curve for media on devices with speaker DRC"
Jean-Michel Trivi [Wed, 9 Jul 2014 15:51:34 +0000 (08:51 -0700)]
Revise speaker volume curve for media on devices with speaker DRC
Bug
15318604
Change-Id: I14b451e2d8d4439fe286dd98c45d09b9dadbb4f6
Jean-Michel Trivi [Wed, 9 Jul 2014 15:52:40 +0000 (15:52 +0000)]
Merge "Cleanup unused parameters or variable in EffectBundle"
Narayan Kamath [Wed, 9 Jul 2014 15:07:10 +0000 (15:07 +0000)]
am
782be1ec: am
1c1b5e51: am
c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
* commit '
782be1ecf1022d4e2da714b5aebe51ab616e9975':
m4v_h263_enc: Use uint32_t for ULong
Andy Hung [Tue, 24 Jun 2014 02:07:29 +0000 (19:07 -0700)]
Add floating point volume handling to AudioMixer
Use floating point volume in AudioMixer mixing when floating
point input is used with the new mixer engine.
AudioResampler is updated to take floating point volume to match.
Both legacy integer and floating point mixer engines work.
For now, integer volume is used when the new mixer engine
runs in integer input mode, for backward compatibility with
the legacy mixer. The new mixer engine will generally run in
floating point input mode. When the legacy path is removed,
the integer volumes will be removed.
Change-Id: I79e80c292ae7c8b8bdd0aa371a1b2c3a1b618290
Andy Hung [Wed, 9 Jul 2014 01:09:40 +0000 (18:09 -0700)]
Enable extended precision PCM output in AudioFlinger
Change-Id: I7c0907c7b2369681975d8ea0192b722d7ed7a867
Jean-Michel Trivi [Tue, 8 Jul 2014 21:17:29 +0000 (14:17 -0700)]
Cleanup unused parameters or variable in EffectBundle
No unused parameter warning in EffectBundle.
Remove unused variable declaration in Virtualizer_getParameter
Change-Id: Ibe1c051bc21ac53a6c770b4aa28e31ac5d559d9b
Eino-Ville Talvala [Mon, 7 Jul 2014 22:27:58 +0000 (22:27 +0000)]
Merge "av: native_window_set_buffers_geometry is deprecated."
Pierre Couillaud [Thu, 3 Jul 2014 17:55:00 +0000 (10:55 -0700)]
av: native_window_set_buffers_geometry is deprecated.
native_window_set_buffers_geometry is deprecated, but
__set_buffers_geometry is still used for device1 camera
support.
replace deprecated call with its equivalent combination of
native_window_set_buffers_dimensions and
native_window_set_buffers_format.
Change-Id: I4940367dcae6049451508bfdfc11c16907ec1afc
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
Zhijun He [Mon, 7 Jul 2014 19:44:10 +0000 (12:44 -0700)]
Camera3: only return input buffer when it is sent in request
This is to WAR the case where HAL sends non-NULL input_buffer in capture
result even capture framework doesn't send input buffer in the request.
It's very likely the input_buffer is uninitialized, and we shouldn't
use it. Log a warning for such case as well.
Bug:
16115675
Bug:
16117312
Change-Id: Ib299b45fbfe084059a9f546ded239c8094b039e2
Eric Laurent [Thu, 3 Jul 2014 23:37:08 +0000 (16:37 -0700)]
audio: deprecate audio_stream_frame_size()
Bug:
15000850.
Change-Id: I955a6efa620b8f70fa5193c7853cbe88e879c9c3
Andy Hung [Thu, 3 Jul 2014 01:12:32 +0000 (01:12 +0000)]
Merge "Add and enable multichannel for audio resampler"
Andy Hung [Thu, 10 Apr 2014 02:36:43 +0000 (19:36 -0700)]
Add and enable multichannel for audio resampler
Change-Id: I2b86fb73d70abc4c456f7567270a888086b301d4
Signed-off-by: Andy Hung <hunga@google.com>
Andy Hung [Thu, 10 Apr 2014 02:19:06 +0000 (19:19 -0700)]
Add multichannel to audio resample processing
Change-Id: If6bfbf74000520713f9ba19488a475fc2eefc271
Signed-off-by: Andy Hung <hunga@google.com>
Sungsoo Lim [Wed, 9 Jul 2014 14:42:18 +0000 (14:42 +0000)]
Merge "Restore the LOOPING flag in onAudioTearDownEvent"
Terry Heo [Wed, 9 Jul 2014 02:48:09 +0000 (02:48 +0000)]
Merge "audio policy: add new input audio device"
Chong Zhang [Tue, 8 Jul 2014 23:30:13 +0000 (23:30 +0000)]
Merge "HLS: do not discard packets when queuing explicit discontinuity"