Commit Graph

820 Commits

Author SHA1 Message Date
Linux Build Service Account 614874c43a Merge "mm-audio: Fix 64 bit compilation warnings" 2014-06-05 16:37:30 -07:00
Linux Build Service Account 04e5c07733 Merge "audio: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH" 2014-06-03 12:09:27 -07:00
Linux Build Service Account e940215ed3 Merge "hal: Fix 64 bit compilation errors" 2014-06-03 12:09:26 -07:00
Linux Build Service Account ae1c20e221 Merge "hal: Add the missing 'else' for mixer_paths filename selection" 2014-06-02 16:52:43 -07:00
Walter Yang c899d5701e hal: Add the missing 'else' for mixer_paths filename selection
Fix the minor issue in function of query_platform. The 'else' is
missing, which causes that the mixer_paths file name of all the
8916 boards will be overwritten by the default one.

Change-Id: If105e38537f5d4d5d3f52dfc64ac62f11e829bbf
CRs-Fixed: 668629
2014-06-02 09:45:07 -07:00
Linux Build Service Account c78784216e Merge " Audio: Fix for FM off/on delay post SSR" 2014-06-01 20:49:31 -07:00
Linux Build Service Account e2637fe3c1 Merge "hal: Enhance voice concurrency support for 8916" 2014-06-01 20:49:20 -07:00
Linux Build Service Account c6b2c751dc Merge "hal: Fix input device selection for camcorder stereo recording" 2014-06-01 18:10:50 -07:00
Linux Build Service Account a2a804fd90 Merge "hal: remove extra space after 8994 snd card name" 2014-05-31 19:43:07 -07:00
Linux Build Service Account f95f5f8e44 Merge "hal: update audio feature flags" 2014-05-31 19:43:03 -07:00
Manish Dewangan 80a1156bf7 mm-audio: Fix 64 bit compilation warnings
Fix compilation warnings seen with 64 bit lpdk builds

Change-Id: Ia82c54f81531c31569a96b8cdde48b7f7fc7a4b7
2014-05-30 16:31:04 +05:30
Dhanalakshmi Siddani 7b4cb78234 Audio: Fix for FM off/on delay post SSR
- 8-10sec delay observed when FM is turned off/on from UI post SSR with
  touch tones enabled. If any new input request comes before FM is closed
  post SSR, pcm driver assumes AFE is still active and starts pumping data
  to AFE which is already closed due to SSR causing the delay
- Fix is to close FM session during SSR

 CRs-Fixed: 673031

Change-Id: I4a55c6ca66d94e633e768b1d40584d5a5782e13e
2014-05-29 23:07:49 -07:00
kunleiz 18a3330f91 hal: Fix input device selection for camcorder stereo recording
- Single mic device would be seleted in camcorder, even if
  the dual mic enabled.
- In camcorder, the input device was force to select
  SND_DEVICE_IN_CAMCORDER_MIC, which is a singal mic.
- Fix by selecting dmic device as input devices in camcorder,
  Only when the fluence type is dual mic and the channel
  count is 2.

Change-Id: I4f6b7d54a3e7e6ddb98355d20c4bc28466905550
CRs-Fixed: 669982
2014-05-29 19:35:42 -07:00
Linux Build Service Account bb1d15364e Merge "hal: msm8916: Fix no Tx issue during multi party HFP calls" 2014-05-29 17:03:06 -07:00
Linux Build Service Account 750191e85b Merge "hal: Fix no Tx issue during multi party HFP calls" 2014-05-29 17:03:06 -07:00
Mingming Yin a6dad60d52 hal: update audio feature flags
- update audio feature flags to use
  AUDIO_FEATURE_ENABLED_XXX instead of
  AUDIO_FEATURE_DISABLED_XXX.
- These feature flags are defined
  by target board config file

Change-Id: Iba482d8b72bfa2675877d833d7abcb93d4cf4907
2014-05-29 13:15:15 -07:00
Apoorv Raghuvanshi 1b555f7332 audio: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
To comply with multi-arch build system changes for 64-bit support,
LOCAL_MODULE_RELATIVE_PATH needs to be used.

Drop explicit use of LOCAL_MODULE_PATH, and use relative path to
avoid build system to overwrite one of multi-arch library variants
with the other arch variant.

Change-Id: I21f9b952a79c3930b15ff5549ac3c21ca827cc3a
2014-05-29 12:51:51 -07:00
Linux Build Service Account 2ee2f60d7b Merge " Audio: Revert hal changes to block pcm_close during SSR" 2014-05-29 04:34:33 -07:00
Venkata Narendra Kumar Gutta 5f64eea499 hal: Enhance voice concurrency support for 8916
- All VoIP, compress, deep buffer, record usecases need to close
before voice call setup and don't allow these usecases during
voice call on 8916.
- setMode(IN_CALL) itself is not sufficient to know if we are
in actual voice call.
- Add keyvalue parameters support to know if we are in voice call
and policy hal can query the same and make decissions based on it.

CRs-Fixed: 662804
Change-Id: I20d660fadd07c4d227a7e3dfe356fc39806ca167
2014-05-29 15:05:25 +05:30
Apoorv Raghuvanshi 44bd917f85 hal: Fix 64 bit compilation errors
- Fix 64 bit compilation errors seen
  with lpdk64 builds

Change-Id: I25126485b30c1c66cca9654f8c017dee2cf4239a
2014-05-28 18:09:32 -07:00
Dhanalakshmi Siddani 8fc6d91dda Audio: Revert hal changes to block pcm_close during SSR
pcm driver supports pcm_close during SSR, so reverted
 HAL code to block pcm session close during SSR.

 CRs-Fixed: 663477

Change-Id: I752e3f4f55288f91294e090b974ba1367c27122d
2014-05-28 13:39:53 +05:30
Linux Build Service Account 5a688d0a32 Merge "hal: Add support for VoWLAN on MSM8974" 2014-05-27 18:45:54 -07:00
Linux Build Service Account da5ef4897d Merge "hal: send calibration parameters in stream route" 2014-05-27 14:55:26 -07:00
Linux Build Service Account 8eafd3942c Merge "hal: Fix for no audio on BT headset till waiting call is ended." 2014-05-26 23:13:29 -07:00
Subhash Chandra Bose Naripeddy 542746726d hal: send calibration parameters in stream route
The stream's output rendering policy requires calibration to be
sent when stream routing configuration is set instead of the
device enable as each stream can have it's own routing with
different calibration needs.

Change-Id: If8bd365c4a6c616ed86b9383ba540ee8e28c4079
2014-05-26 22:10:39 -07:00
Linux Build Service Account 37f1c5a90a Merge "hal: update voice PCM device IDs for msm8994" 2014-05-25 05:44:32 -07:00
Mingming Yin e5575ab837 hal: remove extra space after 8994 snd card name
- Remove extra space after 8994 snd card name

Change-Id: Ib4d885974a6e175c8b34a1ba4b90bb30de27a6fc
2014-05-23 11:00:34 -07:00
Linux Build Service Account b6103c964d Merge "hal: Add support for 8939 sound cards" 2014-05-23 06:39:35 -07:00
Linux Build Service Account 06f3a0bf79 Merge "hal: add support for msm8994" 2014-05-22 18:25:52 -07:00
Karthik Reddy Katta 060a6c49a5 hal: Fix for no audio on BT headset till waiting call is ended.
-Issue: Voice call audio is not routing to BT headset
 though connected, till the waiting call is ended.
-Rootcause: During voice call, if another call is received, the
 audio mode is changed to MODE_RINGTONE. Due to this, the primary
 output on which the voice call is setup, is not able to find
 new device as BT in getNewdevice().
-Fix: Avoid mode change to MODE_RINGTONE when voice call is already
 active.

Change-Id: I38582e2500ff4c44eb5ac45dab3aab35606d1c7d
CRs-Fixed: 662883
2014-05-22 19:06:57 +05:30
Linux Build Service Account 4378746103 Merge "hal: add exported common headers to LOCAL_C_INCLUDES" 2014-05-21 21:24:10 -07:00
Satya Krishna Pindiproli 2aaa6150b4 hal: msm8916: Fix no Tx issue during multi party HFP calls
- When an incoming MT HFP call is accepted during an ongoing
  MO HFP call, the MO call goes to held state. Later, if this held
  call is rejected, Tx is not heard at the far end of the incoming
  call from the moment the MO call is rejected.
- When the held call is rejected, the input device gets disabled due
  to which Tx samples are not captured.
- Fix the issue by ensuring that the input device is not set to none when
  HFP is active.

CRs-Fixed: 656928
Change-Id: I657b7e2ffbc571dfbc0b10ffced07fdb3f008532
2014-05-21 15:12:18 +05:30
Satya Krishna Pindiproli 071950fa9c hal: Fix no Tx issue during multi party HFP calls
- When an incoming MT HFP call is accepted during an ongoing
  MO HFP call, the MO call goes to held state. Later, if this held
  call is rejected, Tx is not heard at the far end of the incoming
  call from that moment.
- When the held call is rejected, the input device gets disabled due
  to which Tx samples are not captured.
- Fix the issue by ensuring that the input device is not set to none when
  HFP is active.

CRs-Fixed: 656928
Change-Id: Ie3f0886c0412bfdb3e450c54e9f4b651e992f84e
2014-05-21 14:53:27 +05:30
Linux Build Service Account 942fde2f7d Merge "hal: Change FB speaker protection to use new cal driver" 2014-05-20 21:27:33 -07:00
Linux Build Service Account 8d416b76a9 Merge "post_proc: fix post and pre process KW issues" 2014-05-20 21:27:29 -07:00
Narsinga Rao Chella c2b9999208 hal: update voice PCM device IDs for msm8994
New machine driver has been added for msm8994. Update PCM device IDs
for voice use cases accordingly. This change is needed to support
voice use cases on msm8994.

Change-Id: Iba5f9423fe99668ccfe3a692c2a3148977d4dfc2
2014-05-20 15:16:44 -07:00
Mingming Yin 0e1b2902c7 hal: add support for msm8994
- Adding msm8994 target support in makefile

Change-Id: Id924e4a7d5df21e605429d85c7c49ede00d7f402
2014-05-20 13:22:02 -07:00
Linux Build Service Account 7f1adbdaab Merge "hal: configure playback stream rendering based on output policy" 2014-05-20 12:13:30 -07:00
Vicky Sehrawat 8456ae0d4d hal: Add support for VoWLAN on MSM8974
Update the VoWLAN pcm id for MSM8974

CRs-fixed: 662362
Change-Id: Ia0894fa1347f05e55993af91da91272af3161f83
2014-05-19 11:42:16 -07:00
Yamit Mehta c6003e2371 hal: Add support for 8939 sound cards
-Add entries for 8939 sound card names
 to load the mixer controls for 8939

Change-Id: Iadc4764071d0eb790906b62d94043c2e5d93937e
2014-05-19 12:17:41 +05:30
Subhash Chandra Bose Naripeddy 19dc03b51f hal: configure playback stream rendering based on output policy
For the usecases where individual streams have to be rendered
through different post processing chain on DSP an output policy
is defined. The output configuration is read from the
output policy file based on the stream atrributes to render the
playback appropriately.

Change-Id: I095592013ffa5b04bea69254026ebb78e2934822
2014-05-18 21:04:42 -07:00
wjiang ebb69fae68 post_proc: fix post and pre process KW issues
KW issue fix includes:
- handle memory allocation failure
- array index boundary check

Change-Id: I083952ba58d348a5b650601a83e6f492b0d686bb
2014-05-16 23:11:15 +08:00
Linux Build Service Account 723c4b7416 Merge "hal: Fix teardown during back to back pause/play of WFD session" 2014-05-16 00:35:14 -07:00
Linux Build Service Account 33bf8f1035 Merge "hal: msm8916: seperate device support for qrd skuh/skui" 2014-05-15 19:54:07 -07:00
Linux Build Service Account d72dde4c99 Merge "hal: fix for voice + voip call concurrency" 2014-05-14 14:44:31 -07:00
Linux Build Service Account 78313cfe22 Merge "hal: add support for dolby license validation" 2014-05-13 20:28:21 -07:00
Satya Krishna Pindiproli 7e52228452 hal: Fix teardown during back to back pause/play of WFD session
- When an active WFD session is paused/played continuously from
  the WFDClient app, the session tears down after a few iterations
  if touch tones are enabled.
- The output device is switched back and forth between speaker and
  proxy when the session is paused and played continuously.
  When this happens, sometimes, there is no backend to write the
  low latency output which results in pcm_write getting blocked.
- Fix the issue by not routing the low latency output to speaker
  if the previous device is proxy.

CRs-Fixed: 630234
Change-Id: I6bbe82badd3d5ee857e920430304c3a45c5b44c7
2014-05-13 16:45:29 +05:30
Linux Build Service Account d4fbf85620 Merge "post_proc: disable Bassboost and Virtualizer for USB_ACCESSORY" 2014-05-12 23:44:32 -07:00
Linux Build Service Account 6fade6d2c5 Merge "hal: SSR support for pcm playback,pcm record usecases" 2014-05-12 23:44:29 -07:00
Naresh Tanniru 4c63039cfa hal: SSR support for pcm playback,pcm record usecases
- Added SSR event handling support in HAL

- Added support to drop incoming pcm data for pcm playback
  usecase during SSR

- Added support to send dummy input(mute/zero buffer) for
  record usecase during SSR

Change-Id: I158b62fa443bb523091128fe1308c9a9b1415502
2014-05-13 00:25:49 +05:30