OSDN Git Service
The Android Automerger [Mon, 12 Mar 2012 14:03:51 +0000 (07:03 -0700)]
merge in jb-release history after reset to master
Eric Laurent [Thu, 8 Mar 2012 21:39:13 +0000 (13:39 -0800)]
audio policy: use audio_devices_t when appropriate
Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6
Eric Laurent [Thu, 8 Mar 2012 03:19:29 +0000 (19:19 -0800)]
audio policy: spaced comments in header file
Change-Id: Ie72dcb9e33afb217bb7e37081500a7fc53d7a047
Eric Laurent [Thu, 8 Mar 2012 03:04:55 +0000 (19:04 -0800)]
audio policy: use common string for A2DP address
Use definition from audio.h for A2DP sink address parameter.
Change-Id: I2d7905b8e3dd71fab2efc68ae16682e09c3f872e
Eric Laurent [Fri, 17 Feb 2012 18:55:44 +0000 (10:55 -0800)]
audio policy manager: more generic A2DP impl.
This change makes support for A2DP related audio policy more generic:
-removed WITH_A2DP compilation switch
-use output profile descriptors listing the parameters
(sampling rate, format...) devices and attributes (low power, tunneling...)
for each available output.
All the behavior specific to A2DP is derived from the A2DP output profile
descriptor.
- removed obsolete a2dpUsedForSonification() method.
This is a first step towards a more generic support for different audio
hardware modules (USB, HDMI) and output streams supporting different
combinations of parameters (sampling rate, format...) and attributes
(low power, tunneling...).
Ultimately, the hw modules and output descriptors will loaded from a
configuration file.
Change-Id: Ife3e49e1afbcb72613bfc8ce38919bb087ca85ea
The Android Automerger [Mon, 20 Feb 2012 15:02:44 +0000 (07:02 -0800)]
merge in jb-release history after reset to master
Todd Poynor [Sat, 11 Feb 2012 08:44:22 +0000 (00:44 -0800)]
libhardware_legacy: Remove set_screen_state
The early-suspend/late-resume interface to /sys/power/state
is being moved to the default/legacy Power HAL.
The emulator interface is being moved to the emulator
Power HAL.
Change-Id: I66a1e611e6d907f20335f047001745f818dfc846
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Eric Laurent [Thu, 16 Feb 2012 02:40:31 +0000 (18:40 -0800)]
Fix volume not restored when exiting silent mode
The change for volume per device introduced a problem where if a headset
is plugged in while in silent mode, the sound will not be restored
at the first press on volume up key but only at the second press.
This is because when exiting silent mode, AudioService reapplies the
last known volume for all devices in any order and the last volume
applied prevails, even if it is for a device other than currently selected
by audio policy manager.
The fix consists in applying a new volume only if the device indicated
matches currently selected device on an output.
Change-Id: I778b90a9ec5a8b4a15e0333bd045f2dd327f388c
The Android Automerger [Wed, 15 Feb 2012 15:02:21 +0000 (07:02 -0800)]
merge in jb-release history after reset to master
Irfan Sheriff [Tue, 14 Feb 2012 23:37:17 +0000 (15:37 -0800)]
Merge "Fixes for concurrency support"
The Android Automerger [Mon, 6 Feb 2012 15:02:15 +0000 (07:02 -0800)]
merge in jb-release history after reset to master
Glenn Kasten [Fri, 3 Feb 2012 16:31:19 +0000 (08:31 -0800)]
Merge "Use audio_in_acoustics_t consistently"
The Android Open Source Project [Wed, 1 Feb 2012 18:10:28 +0000 (10:10 -0800)]
The Android Open Source Project [Wed, 1 Feb 2012 18:01:31 +0000 (10:01 -0800)]
am
b4ff7281: Reconcile with ics-mr1-release
* commit '
b4ff728122f67ae9bf0f5afe4ff65b3ba3068b59':
The Android Open Source Project [Wed, 1 Feb 2012 16:50:23 +0000 (08:50 -0800)]
Reconcile with ics-mr1-release
Change-Id: Ibf33a69673d9acafb9199d331fc88a7d80dbeb20
The Android Automerger [Mon, 30 Jan 2012 15:02:15 +0000 (07:02 -0800)]
merge in jb-release history after reset to master
Glenn Kasten [Fri, 27 Jan 2012 21:03:05 +0000 (13:03 -0800)]
Use audio_in_acoustics_t consistently
Change-Id: I9875afdf21937c88a5decc9d94e89fddffc3519e
Glenn Kasten [Fri, 27 Jan 2012 00:46:31 +0000 (16:46 -0800)]
Use audio_source_t consistently
Change-Id: I11de4e92254e128643d8f158c74dcfee97e51005
The Android Automerger [Mon, 23 Jan 2012 15:00:46 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
Irfan Sheriff [Wed, 11 Jan 2012 00:24:51 +0000 (16:24 -0800)]
Fixes for concurrency support
Change-Id: Ia7251dc86184fff710234c70a8ad54a6b245809a
Glenn Kasten [Fri, 20 Jan 2012 22:50:30 +0000 (14:50 -0800)]
Merge "Use audio_format_t consistently"
Glenn Kasten [Fri, 20 Jan 2012 18:07:13 +0000 (10:07 -0800)]
Merge "Audio policy HAL set_ringer_mode is deprecated"
Glenn Kasten [Thu, 19 Jan 2012 00:27:02 +0000 (16:27 -0800)]
Fix typos
Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691
Glenn Kasten [Wed, 18 Jan 2012 23:24:50 +0000 (15:24 -0800)]
Audio policy HAL set_ringer_mode is deprecated
Change-Id: I66ef40ed381151ba61debe20edaa53bece0cc139
The Android Automerger [Wed, 18 Jan 2012 15:00:27 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
Eric Laurent [Wed, 18 Jan 2012 01:34:58 +0000 (17:34 -0800)]
Merge "audio policy manager: stream volume per device"
Eric Laurent [Thu, 15 Dec 2011 02:18:36 +0000 (18:18 -0800)]
audio policy manager: stream volume per device
Improve volume management by keeping track of volume for each type
of device independently.
AudioPolicyManagerBase now keeps track of stream volumes for each device
and apply volume according to current device selection.
Methods to set and get stream volume now specify the device class.
A value for "default" device is always present for each stream and is used
if a device is selected and no specific volume was ever set for this device.
Change-Id: I06d8f43aa151a09014f7e47e81304c73ff82e9f8
Glenn Kasten [Tue, 17 Jan 2012 19:33:14 +0000 (11:33 -0800)]
Merge "Use audio_mode_t consistently"
Glenn Kasten [Thu, 12 Jan 2012 19:12:59 +0000 (11:12 -0800)]
Use audio_stream_type_t consistently
Change-Id: Ibeb4071cedb930c76dd62222b29844733bdc1548
Glenn Kasten [Thu, 12 Jan 2012 23:01:42 +0000 (15:01 -0800)]
Use audio_format_t consistently
Was int
Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
The Android Automerger [Thu, 12 Jan 2012 22:13:23 +0000 (14:13 -0800)]
merge in ics-release history after reset to master
Glenn Kasten [Mon, 9 Jan 2012 18:41:59 +0000 (10:41 -0800)]
Use audio_mode_t consistently
Change-Id: I62e23b81e3a411a0d9f012b363373d938827a2e4
Irfan Sheriff [Thu, 12 Jan 2012 00:48:39 +0000 (16:48 -0800)]
Fix monitor socket poll
Bug:
5534039
Change-Id: I28c41f896347963b0ded8415d1a51ff95cbf4b2d
The Android Automerger [Tue, 10 Jan 2012 15:00:29 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
The Android Automerger [Mon, 9 Jan 2012 15:00:40 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
Steve Block [Sun, 8 Jan 2012 10:18:02 +0000 (10:18 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug:
5449033
Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af
Steve Block [Thu, 5 Jan 2012 23:27:53 +0000 (23:27 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug:
5449033
Change-Id: I86e4ce26d8fba68584d0a7fc17111b53c56d2932
The Android Automerger [Thu, 5 Jan 2012 15:00:13 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
Steve Block [Wed, 4 Jan 2012 20:07:20 +0000 (20:07 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801
Bug:
5449033
Change-Id: I21aea046270c8700d349a4181c559d1b05333a1b
Steve Block [Tue, 20 Dec 2011 16:25:34 +0000 (16:25 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug:
5449033
Change-Id: I9dfdc3f00a5f4f5b6ef4c75280ce2594ab018577
The Android Automerger [Mon, 2 Jan 2012 15:00:14 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
Irfan Sheriff [Tue, 27 Dec 2011 21:50:07 +0000 (13:50 -0800)]
Add support for p2p socket communication
Right now, everything goes over the primary interface socket connection.
Add support for a seperate connection over the p2p interface.
Change-Id: I09118f88cfaa201b2d62d27add410cfd441d4454
The Android Automerger [Mon, 12 Dec 2011 15:00:33 +0000 (07:00 -0800)]
merge in ics-release history after reset to master
The Android Open Source Project [Fri, 9 Dec 2011 22:58:00 +0000 (14:58 -0800)]
am
af9565aa: Reconcile with ics-mr1-release
* commit '
af9565aa8be0136463ec549d9d3abdd906d2c390':
Eric Laurent [Thu, 8 Dec 2011 19:42:52 +0000 (11:42 -0800)]
audio policy manager: remove ringer mode dump
The ringer mode is at the moment not passed down from AudioService to
AudioPolicyManager as it is currently not used in any routig decision.
So the value store in audio policy manager is wrong and the dump is miss leading.
Change-Id: I3c21c168393470fd64c1b73e3c511576a9acdd7e
The Android Open Source Project [Thu, 8 Dec 2011 18:22:08 +0000 (10:22 -0800)]
Reconcile with ics-mr1-release
Change-Id: Ifb9dad264079f0a566dd978dd56414fbaf59b9e0
The Android Open Source Project [Fri, 4 Nov 2011 15:31:25 +0000 (08:31 -0700)]
Reconcile with ics-mr1-release
Change-Id: I2b1dcb119df18200eebaef2f888df7aaaa150b34
The Android Automerger [Thu, 3 Nov 2011 13:59:16 +0000 (06:59 -0700)]
merge in ics-release history after reset to master
Eric Laurent [Wed, 2 Nov 2011 17:31:48 +0000 (17:31 +0000)]
am
c16ac09f: Force camera shutter sound to speaker in Japan.
* commit '
c16ac09f510437e8340be691720177a490ae78f0':
Force camera shutter sound to speaker in Japan.
The Android Automerger [Wed, 2 Nov 2011 13:46:14 +0000 (06:46 -0700)]
merge in ics-mr1-release history after reset to ics-mr1
Eric Laurent [Tue, 1 Nov 2011 20:54:26 +0000 (13:54 -0700)]
Force camera shutter sound to speaker in Japan.
Make sure that camera shutter sound is output to device speaker also while
in call.
Added a new strategy for enforced audible stream to address this case as
the routing policy is now different from sonification strategy.
Issue
5548406.
Change-Id: I2de39dfaef7d90e3804b238b1379f0f59b75e985
The Android Open Source Project [Mon, 31 Oct 2011 20:19:23 +0000 (13:19 -0700)]
Reconcile with ics-mr1-release
Change-Id: Iadb285a24b3129b0dc2bd7089598a51d4af2eb6b
The Android Automerger [Wed, 26 Oct 2011 16:52:43 +0000 (09:52 -0700)]
merge in ics-release history after reset to master
Steve Block [Thu, 20 Oct 2011 10:56:19 +0000 (11:56 +0100)]
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865
Bug:
5449033
Change-Id: I953e5eabaf5023a4dcd76339c336d9132f257f8c
The Android Automerger [Sun, 23 Oct 2011 14:01:23 +0000 (07:01 -0700)]
merge in ics-release history after reset to master
Eric Laurent [Thu, 20 Oct 2011 16:17:04 +0000 (09:17 -0700)]
Fix music heard in speaker before notifications.
Increase the delay after muting music when switching audio path
to both speaker and headset for notifications and ringtones.
This is required to avoid a residual of music to be output to speaker
now that the max latency has been increased in low power playback mode.
This is a temporary workaround that will be removed when low power mode
is controlled policy manager.
Change-Id: If08e7f46e499be362badb2a24a79d1723ebfc00a
The Android Automerger [Wed, 19 Oct 2011 14:44:52 +0000 (07:44 -0700)]
merge in ics-release history after reset to master
Eric Laurent [Tue, 18 Oct 2011 21:03:28 +0000 (14:03 -0700)]
Fix issue
5440852: Youtube volume is too small ...
When no DRC is applied by the platform when playing
over the device speaker, faint audio signals are not boosted and
barely audible until the media volume is raised to about one fourth
of the range.
Compensate this by applying a different volume curve for music stream
when the speaker is selected.
Change-Id: I03f316fb28150eda50b05dfa12310701e2674648
The Android Automerger [Sun, 9 Oct 2011 14:00:41 +0000 (07:00 -0700)]
merge in ics-release history after reset to master
Dmitry Shmidt [Thu, 6 Oct 2011 20:39:31 +0000 (13:39 -0700)]
Merge "wifi: Fix entropy file size"
Dmitry Shmidt [Thu, 6 Oct 2011 20:28:32 +0000 (13:28 -0700)]
wifi: Fix entropy file size
BUG: b/
5321709
Change-Id: Iff4692f1f35b63136297261d1565bc16c854ede3
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
The Android Automerger [Thu, 6 Oct 2011 14:00:45 +0000 (07:00 -0700)]
merge in ics-release history after reset to master
Olivier Bailly [Thu, 6 Oct 2011 00:38:14 +0000 (17:38 -0700)]
fix build: method needs to be pure virtual, otherwise needs to be defined.
Change-Id: I9dbdd29dc430fbf19a1d9cb8d44a1f9c6f624dbb
The Android Automerger [Thu, 29 Sep 2011 00:57:56 +0000 (17:57 -0700)]
merge in ics-release history after reset to master
Dmitry Shmidt [Wed, 28 Sep 2011 00:20:11 +0000 (17:20 -0700)]
wifi: Change pipe to socket pair in termination of monitor thread code
Change-Id: Id08c211102dabccff3e7d5a1373507f8d63ec70d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
The Android Open Source Project [Thu, 22 Sep 2011 17:57:37 +0000 (10:57 -0700)]
Reconcile with ics-factoryrom-release
Change-Id: Ia48e10b311967e6df2d8619b973cab57a6933428
The Android Automerger [Wed, 21 Sep 2011 13:29:31 +0000 (06:29 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Open Source Project [Wed, 21 Sep 2011 13:19:30 +0000 (06:19 -0700)]
Reconcile with ics-factoryrom-release
Change-Id: Ie3d828b77b539c41d89b2a7e4057fea9e527dac8
The Android Automerger [Wed, 21 Sep 2011 03:43:04 +0000 (20:43 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Tue, 20 Sep 2011 14:00:24 +0000 (07:00 -0700)]
merge in ics-release history after reset to master
Irfan Sheriff [Mon, 19 Sep 2011 22:03:45 +0000 (15:03 -0700)]
Add support to terminate monitor thread
Create a local pipe to track when socket connection times out
and send a terminate on the monitor thread
Bug:
5337272
Change-Id: I80ed3f8450b4d54d1b9e2bbc3cc84f10d0ae7a04
The Android Automerger [Tue, 13 Sep 2011 13:34:14 +0000 (06:34 -0700)]
merge in ics-release history after reset to master
Eric Laurent [Mon, 12 Sep 2011 18:38:12 +0000 (11:38 -0700)]
Issue
5256795: Phone ringtone volume is too low
Modified the volume curve for ringtones and notifications
in audio policy manager. The first volume step now corresponds to
-30dB instead of -50dB thus making ringtone much more
audible for low volume settings.
Also made a generic implementation of volume curves according to
audio policy strategies.
Change-Id: Ieb7916ba2e53c2a10a47efec82814cabed21c48b
Eric Laurent [Mon, 12 Sep 2011 20:42:00 +0000 (13:42 -0700)]
Merge "audio policy manager: invert SPDIF/HDMI priority"
Eric Laurent [Fri, 9 Sep 2011 23:04:01 +0000 (16:04 -0700)]
audio policy manager: invert SPDIF/HDMI priority
Route media audio in priority to S/PDIF output when available
even if HDMI is connected. This allows users to chose to output audio
to a different system than the display.
Also force media volume to max when playing over S/PDIF.
Change-Id: I03b82a7235cb60f2b5d6cf7923570554b07ac400
The Android Automerger [Sun, 11 Sep 2011 13:41:55 +0000 (06:41 -0700)]
merge in ics-release history after reset to master
Erik Gilling [Thu, 8 Sep 2011 23:30:33 +0000 (16:30 -0700)]
uevent: add helper to get uevent FD
This allows users of the library to handle thier own poll loop.
Change-Id: Id3fe2be442c0ca29c74253f9f36e9377278780e4
Signed-off-by: Erik Gilling <konkers@android.com>
The Android Automerger [Tue, 30 Aug 2011 20:42:49 +0000 (13:42 -0700)]
merge in ics-release history after reset to master
The Android Automerger [Tue, 30 Aug 2011 19:45:42 +0000 (12:45 -0700)]
merge in ics-release history after reset to master
Irfan Sheriff [Fri, 26 Aug 2011 21:39:38 +0000 (14:39 -0700)]
Add support seperate p2p config file
Also, fixed a bug with config overwrite with ctrl_interface update
Bug:
5002384
Change-Id: I870c12ee58d60f696512c27deb4b9d35b4dc3b2a
Dmitry Shmidt [Tue, 23 Aug 2011 22:44:23 +0000 (15:44 -0700)]
wifi: Increase wait for card removal
Change-Id: Ia9f5bf2a905c89126535a6c01c3af67189df6c32
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Irfan Sheriff [Mon, 22 Aug 2011 20:27:56 +0000 (13:27 -0700)]
Fix system property race at supplicant stop
We stop supplicant by sending a "terminate" control command. init then
updates the system property init.svc.wpa_supplicant when the supplicant has stopped. The
framework gets notified of a successful supplicant stop through a supplicant event.
It can happen that the framework has been notified of a supplicant stop, but the init
process has not set the system property and thus when the framework tries to connect
to the supplicant again, it can immediately return saying the supplicant is already running.
Avoid this race, by ensuring the call from framework to close supplicant connection polls
for the update by init process that the system property indicates supplicant has stopped.
Bug:
5166494
Change-Id: Ie74a8cf39fa56ae557ea6bbbcba7865301620c42
Dmitry Shmidt [Fri, 12 Aug 2011 21:05:23 +0000 (14:05 -0700)]
Merge "wifi: Wait for sdio card removal"
Dmitry Shmidt [Fri, 12 Aug 2011 19:14:15 +0000 (12:14 -0700)]
wifi: Wait for sdio card removal
Change-Id: I3fdbd27e45536b9142e0ca88692270bac543177a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Eric Laurent [Thu, 11 Aug 2011 03:16:23 +0000 (20:16 -0700)]
AudioPolicyManager: register effect CPU on enable
Audio effect CPU usage is now registered on enable and
unregistered on disable instead of when the effect is
created or destroyed.
Change-Id: Icffcede9558d8d41887278f0efef2df430927381
Vladimir Chtchetkine [Wed, 10 Aug 2011 19:25:01 +0000 (12:25 -0700)]
am
f5498f29: am
058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-control clients"
* commit '
f5498f29d81f638e4d833d0399f80f379e721fbe':
Enable QEMUD pipe connection for all legacy hw-control clients
Vladimir Chtchetkine [Tue, 9 Aug 2011 17:05:30 +0000 (10:05 -0700)]
am
058c940a: Merge "Enable QEMUD pipe connection for all legacy hw-control clients"
* commit '
058c940a88c1a28818daaed32fe86dfdc61929b6':
Enable QEMUD pipe connection for all legacy hw-control clients
Vladimir Chtchetkine [Mon, 8 Aug 2011 19:59:34 +0000 (12:59 -0700)]
Merge "Enable QEMUD pipe connection for all legacy hw-control clients"
Vladimir Chtchetkine [Thu, 4 Aug 2011 20:57:57 +0000 (13:57 -0700)]
Enable QEMUD pipe connection for all legacy hw-control clients
Change-Id: Ic713d4cdcddb724958fc8c1c8a82a1dc2733da32
Jean-Michel Trivi [Tue, 26 Jul 2011 16:27:24 +0000 (09:27 -0700)]
Merge "Fix bug
4319552 Use commonly defined channel mask values"
Jean-Michel Trivi [Tue, 26 Jul 2011 00:00:17 +0000 (17:00 -0700)]
Fix bug
4319552 Use commonly defined channel mask values
Use channel mask values that match OpenSL ES and other common APIs.
Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
Jean-Michel Trivi [Mon, 25 Jul 2011 23:59:36 +0000 (16:59 -0700)]
Merge "Fix bug
4211099 channel constants and 7.1 mask"
Jean-Michel Trivi [Mon, 25 Jul 2011 18:22:44 +0000 (11:22 -0700)]
Fix bug
4211099 channel constants and 7.1 mask
Add definitions for the side and elevated channels.
Correct definition of 7.1 mask which uses
the side channels rather than the front half-pan channels.
Change-Id: I8b75c6fb380fddc2db09fab53799850218940c93
Dmitry Shmidt [Mon, 25 Jul 2011 21:45:28 +0000 (14:45 -0700)]
Merge "wifi: Add entropy file support"
Dmitry Shmidt [Mon, 25 Jul 2011 17:46:00 +0000 (10:46 -0700)]
wifi: Add entropy file support
Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt [Sun, 24 Jul 2011 23:52:26 +0000 (16:52 -0700)]
Merge "Fix incremental builds by adding Cleanspec step"
Dmitry Shmidt [Fri, 22 Jul 2011 23:23:43 +0000 (16:23 -0700)]
Fix incremental builds by adding Cleanspec step
Change-Id: Ifb18c40c43668e985c56492956ceeff2e49e4c38
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Eric Laurent [Thu, 21 Jul 2011 00:45:18 +0000 (17:45 -0700)]
Merge "Audio effects: support for audio pre processing"
Dmitry Shmidt [Tue, 19 Jul 2011 22:59:13 +0000 (15:59 -0700)]
wifi: Add wifi_change_fw_path()
Change-Id: I1c4afe43457a295c0ffe0a865c6c331109dce614
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Eric Laurent [Sat, 18 Jun 2011 04:51:11 +0000 (21:51 -0700)]
Audio effects: support for audio pre processing
Audio policy manager: allow registration of audio effects on
inputs too.
Change-Id: I92efa5b51cfde591052a5c56ba2b0b84de80df0f