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
audio/msm7x30: Multiple changes

- Derive AudioPolicyManager and add FM device (port from CAF 8660)
- fix some typos
- remove some definition which are already exposed by kernel header
  (thank's to Nicholas Flintham	to point me on it, it fixes audio
   recording)
- more ifdef

Change-Id: Iebcdaced6bdf3fd474273ad157c4901ba542db06
audio/msm8660: 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: I7e61c05aa3b0fdaebb5c34c6e9a141b40393c714
audio/msm8660: Derive AudioPolicyManager and add FM device

Change-Id: Ib5757dda08d4736c2afe4e2bcbcb1c2fbbf72529
audio/msm8660: ifdef fm for policy

Change-Id: Ib79f31c8875f70085298b3e72c34a3f02017d21c
audio/msm8660: remove local msm_audio_config struct definition

we must use the kernel one

Change-Id: If3b3724a6f78effbfdf28a2aac2dede08e73f458
audio/msm8660: disable caf policy for now

Change-Id: I3ee4c731e821f5fdd3f4b811d74bcecd0f08e494
Merge "audio/msm7x30: import 7x30 from ics" into jellybean
Merge "audio/msm7x30: add jellybean compatibility" into jellybean
Merge "audio/msm7x30: Fix for crash during encoding" into jellybean
Merge "audio/msm7x30: Multiple changes" into jellybean
AudioHardwareALSA: Add SGLTE support in HAL.

Change-Id: Ia7824001c1773cef91172d6d17da45590aa625c5
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
audio/msm7627a: Fix for audio routing to headset and earpiece

- Audio is being heard on target speaker even when
headset/headphone is connected to the device
- TTY mode variable is not initialized to off by
default in constructor. With the garbage value while
in call trying to set TTY devices.
- Set TTY mode variable to off by default in constructor

Change-Id: If0bbf97ff674643c89c7cc163a5b5c0b157ec9e6
CRs-Fixed: 379340
audio/msm7627a: Fix for voice call audio routing to earpiece

- Voice call audio is being heard on speaker even when
earpiece is connected to the device.
- Earpiece is default attached device to target. Entry for
earpiece as global attached output device is missing.
- Add earpiece as global attached output device in
audio policy config file.

Change-Id: I80903bd37efd79e7836a9ebd46b039b8d8f151d1
CRs-Fixed: 379340
alsa_sound: Seperate out ANC and WIRED Headset conditions

Change-Id: I8d0d47be6ecae61f133e8cec2b47e966f6558afe
alsa_sound: Send the correct channelcount to HAL

-send the correct channel count to HAL in case of getInputBufferSize function

Change-Id: Ic6bbcda021601ba7b0515c3ce9761d54d2f19dd7
audio_policy: Add channelmask for voice call recording

Add channelmask for voice call uplink and downlink recording
Add earpiece as output device in global configuration

Change-Id: I514daf0e1468351c7451171e08f0c7f192e4fded

Conflicts:
	alsa_sound/audio_policy.conf