msm8660: more build fix

- Jellybean expects the presence of headers for every linked library,
  which doesn't account for linking against prebuilt libraries.
  Make and touch the exported includes directory for prebuilt.

Change-Id: Ibbd2720180e9a9bf9ec0ccc3d6f806446e1a86bc
hardware/qcom/audio/mm-audio: Initial commit

- Includes audio Decoder and encoder components

Change-Id: Ibb9c4e99c284d30002b8f52f65d98c6a20340634
audio/msm7627a: Changes for initial tunnel mode recording

- Update policy config file
- channel count instead of channel mask

Change-Id: Idfcba7bbe33b95c33eaa6385d23311708fae1718
audio/msm8660: define missing INVALID_ACDB_ID

Change-Id: I8257bb6739e796e6064d1ca90318ad246e88ae83
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 CM and allow build for msm8960

alsa_sound and libintf-alsa define the output modules specifically to be
audio.primary.msm8960, etc.
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 CM10

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

Change-Id: If8a93f0ef7fa37385a55ace4210a7b06903a9aa3