audio: disable build of audio using TARGET_PROVIDES_LIBAUDIO

Change-Id: Ic21326a68b67ab7f600ba2ceb8e5303fd5ce3241
audio:msm8660: Fix for NT mode encode in audio HAL

-Convert channel mask to channel count.
-Update Makefile to compile omx components
 for 8660 and 8960.
-Remove mFd from AudioStreamIn class and
 add mFdin to fix encode crash issue.

Change-Id: Ic79ce7305b563e91020b980eabe4520e312be68d
audio/msm8660: Add A2DP hw module for 8660

Change-Id: I3e984177c7827114687746b12eb9d82367c5498d
audio/msm7627a: Add A2DP hw module for 7627A

Change-Id: I08fb92ee40f4525fdca0ae3e118210ebf4fd395e
mm-audio: msm8660: ifdef for VOIP functions

Change-Id: Ia421291e5d726672d3774981277839ed17c6d711
audio/msm8660: add support for Samsung T989/I727

Change-Id: I8c0c5a64de4888597681e7bdef7302b541147965
msm8660: Add support for Samsung voice devices

 * Adds support for the call and VOIP channels found on this hardware.
 * Also raise the max number of devices since we are over the limit.
 * VOIP channel is currently disabled until MVS is working.

Change-Id: I52617b4578196b4db5a00d859cfa5bbc92757a3d
msm8660: Use VR channels on Samsung devices

 * Samsung has specially-tuned channels for VR, let's use them.

Change-Id: I225e02167744147cdea7b9bd46c823cf602a5d49
msm8660: Change fallback route to speaker

 * There doesn't seem to be a good reason for using HANDSET as the
   fallback route for playback. This causes problems when existing
   VR/PCM_REC mode with some apps.
 * Change the default route to SPEAKER and add explict case for HANDSET.

Change-Id: I09f784167154cb27d09d9a3848b9650af3cee07c
msm8660: Add samsung dualmic support

  * Improves call quality
  * Gets rid of call echo

Change-Id: I15ce70e9a0ca948d7917fd429c428161577ff4a0
msm8660: Add support for camcorder mic

 * Some devices have a mic dedicated to the camcorder. Enable it.

Change-Id: I75fb7b2e36c37505a603f2aaed7362199535055a
audio/msm8660: Add support for sony camcorder mic

- Sony Xperia S have camcorder_tx but it point to the primary mic
  which is placed on the bottom of the phone, we can use secondary
  mic which is placed behind camera

Change-Id: I7892495b5fc201d527617ad0a686d1e886b49b99
mm-audio: compile for AOKP and allow build for msm8960

alsa_sound and libintf-alsa define the output modules specifically to be
audio.primary.msm8960, etc.

Change-Id: If3f09d710f3c41fa6f7ce6505a9c232bb76644d7
msm8660: fix samsung dualmic support

Change-Id: Ibd8458e073268ecca4c71114df22c68cbe3455f9
audio/msm8660: add compatibility for the older voice api

  * On QCOM devices without *_ext() functions, add
    -DLEGACY_QCOM_VOICE to COMMON_GLOBAL_CFLAGS

Change-Id: I1866e73baa0023a7f0fd958d31c89f2b7654840c
msm7x27a: Fix building under AOKP

* Remove KERNEL_OBJ paths
* Remove tunneled formats
* Rename platform from 7627a to 7x27a

Change-Id: If8a93f0ef7fa37385a55ace4210a7b06903a9aa3
audio/msm8660: perform null checks audio preprocessing call

Change-Id: I6beaa0e75e1f92d7c6a54b15c56605eb9009fc5c
audio/msm7x30: import 7x30 from ics

Change-Id: I14d97e4ad7e094feaae8c2183ca6cbc53f007d65
audio/msm7x30: add jellybean compatibility

* Change LPA and FM ifdef in newer CAF style
* Updated Policy for jb

Change-Id: Ic5b566d139877e7d63687c15b2bbb55ad336f3f5
audio/msm7x30: Fix for crash during encoding

-SoundRecorder crashes when encoding is starts.
-Read call comes before device selection.
-Add delay to call read after device selection.

Change-Id: I047fbd22da68203212ab5783dd2b59f5740e6bf1