audio: msm8660: Update references to AUDIO_FORMAT

* We should use AUDIO_FORMAT_XXXXX instead of AudioSystem::XXXXX
  definitions.

Change-Id: Idb56bc07f8950cb2f1280f4e0db87fd494782c34
audio-caf: fix build when QCOM_USBAUDIO_ENABLED = false

Change-Id: I18ef8967d540c7104c465ddcc5ff19dbcbbdd2bd
legacy/msm8660: Enable support for LPA/Tunnel audio playback

 - based off http://review.cyanogenmod.org/#/c/53196

Change-Id: I12edbf103fe3a5a81451d2b4242bf77342b64ff9
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4
legacy/msm8660: fix VoIP in call audio transmission

 Forward port fix from CM10.2

 - In VoIp call mute option is not working
 - Due to wrong device selection, PCM recording path is selected, instead
   of MVS Tx path, for VoIP tx.
 - Enable MVS Tx path for VoIP uplink.
 - Add verification for available input device
 - Updated audio policy to add IN_COMMUNICATION global config

Change-Id: Idf00768e56bd872a1cc82c6aa05448421dd3f246
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4
hal: Compilation fixes

 * Properly include path to kernel headers for postproc effects
 * Don't try to build SSR or Listen if QC_PROP_ROOT isn't set

Change-Id: I8f2a874bbbec09cea8eae423a82e6cc59d03f422
hal: Fix compilation with incall music disabled

Change-Id: I977766437664fc87add0469ca8af23a6eb74c57d
audio-caf: resurrect msm7x30 audio

Change-Id: I3b03c830a3183357d8fd2b626f032309fc7f7129
audio : Mute FM when ringtone is played from settings

- FM audio on speaker is getting mixed up with ringtone
  when it is played from settings.
- Fix is to mute FM audio by enabling the combo device for
  sonification strategy even if the speaker is force used
  for media.
  CRs-Fixed: 574271

Change-Id: Ic595f326d7409b4cb557f5f1edf8f3bf58ce60c8
hal: add custom platform abstraction

Change-Id: I7ce4a1b05e8957b43581242ec7e6f21f0ad900aa
alsa_sound: Raise priority of separate VOIP input

 * This needs to come first for devices that use this path, otherwise
   we fallthru to the standard voice call route.
 * Fixes Hangouts on JF.

Change-Id: I21fbdf520a5bb0e48b3c8988bc99c9cca0b64e85
hal: Allow enablment of COMPRESS_VOIP without multisession voice

 * It works!

Change-Id: Ie150055bd711a0060db91e50a47b7726f42cdc4e
Revert "fmradio: enable STE radio"

This reverts commit 11793000ea4706c2424ca12b5284d3ff489a5062.

Change-Id: Ib8513d35ad7f272ea584f1ad48724739a405f1ca
alsa_sound: Add support for seperated FM devices

 * Some devices have special headset and speaker devices
   tuned for FM output.
 * Enable with BOARD_USES_SEPERATED_FM

Change-Id: Iac47043d2ee186208623bea7b34465592797ea1e
audio :Close HotWord audio source if it is already opened

- HotWord GTS test tries to record using second instance
  of HotWord Audio Source while one is already active.
  AudioPolicyManagerALSA is not closing the previous audio
  input before starting the second input.
- AudioHardwareALSA::openInputStream rejects opening
  of the second instance of audio input.
- HotWordAudioSource GTS test case fails due to above
  reasons.
- Fix is to enable the code that closes the previous
  input before starting the second audio input.
- Remove the code in openInputStream that is restricting
  the second record client. This is not needed now as it
  is already done in startInput of AudioPolicyManagerALSA

Change-Id: I63cd5061e23bef6c1f7c52cadd65833778e34018
CRs-Fixed: 591788
Merge remote-tracking branch 'cm11/cm-11.0' into kk-4.4

Conflicts:
	hal/msm8974/platform.c
	hal/msm8974/platform.h