Commit Graph

572 Commits

Author SHA1 Message Date
Damir Didjusto f1d46c784a hal: Add support for AUXPCM BT
Atheros BT chip uses AUXPCM instead of slimbus. Audio HAL has
to use different mixer paths file depending on whether it's
internal or external BT chip

Change-Id: I78ae70462fed42d4260ae37070ba23e81779c866
2013-11-07 14:20:36 -08:00
Mingming Yin ab42978617 hal: fix for audio record failures
- Audio record fails because FM usecase
  and device are always selected for
  normal record.
- Fix this issue by updating if condition
  checks for FM usecase and device.

Change-Id: I9aa5cfc29bc686c351cac177b41139d138b9835a
2013-11-07 11:44:40 -08:00
Linux Build Service Account debeb7b90a Merge "hal: Enable support for Listen voice wakeup feature" 2013-11-05 22:33:00 -08:00
Linux Build Service Account ed9c38bcde Merge "hal : Support for another instance of fm recording" 2013-11-05 16:59:26 -08:00
Kiran Kandi 910e186c70 hal: Enable support for Listen voice wakeup feature
enable the support for Listen voice wakeup feature by loading
listen hal library dynamically.

Change-Id: Ife8e71589620342e21b4c52751466edaccc536ef
2013-11-05 15:35:27 -08:00
Preetam Singh Ranawat de84f1a7fc hal : Support for another instance of fm recording
-Added support for one more instance of fm recording
    to play fm over a2dp.

Change-Id: I0c796c5acdc045327a8d43754e7530aab10097d9
2013-11-06 03:51:06 +05:30
Linux Build Service Account 7cc901bee3 Merge "hal: Fix for no audio recorded during voice downlink record with mic muted" 2013-11-05 10:28:30 -08:00
Linux Build Service Account 065f1bea5d Merge "hal: Add missing offload changes." 2013-11-05 10:28:07 -08:00
Linux Build Service Account 6095141d85 Merge "hal: Add support for multiple hardware variants" 2013-11-05 10:28:07 -08:00
Krishnankutty Kolathappilly a43f96ec77 hal: Add missing offload changes.
Compressed offload device number and entry from the device
table is missing due to merge issue. Add the device number
to fix offload playback issues.

Change-Id: Ia3eb0e3aaef1e1a73eda5d70bb8f16711ddd182f
2013-11-03 15:46:05 -08:00
Ravi Kumar Alamanda 48c921d4e8 hal: Add support for multiple hardware variants
- Most of the targets supports multiple hardware variants such as
  MTP, CDP, Fluid, Liquid etc. The mixer paths for certain devices
  may vary on some of the variants. For example, the mixer controls
  for speaker device are different on msm8974 MTP and Fluid variants.
- Update audio HAL to select corresponding entry in the
  mixer_paths.xml file based on HW information.

Change-Id: I060f2e6c331344dd41417c19fb688ff27a129308

Conflicts:

	hal/Android.mk
2013-11-03 15:44:13 -08:00
Ravi Kumar Alamanda 8f715d9492 hal: Use deep buffer output as primary
- The audio content in video clips, YouTube content, etc
  are being rendered through low latency path as it was
  set as default output profile. This results more power
  consumption for video playback.
- Fix this using deep buffer path as default one and use
  low latency path only for those audio tracks that
  request with AUDIO_OUTPUT_FLAG_FAST.

Change-Id: I52fafa0ec2a312bc4383c813497830e6ded071bc
CRs-Fixed: 570389
2013-11-01 20:37:38 -07:00
Helen Zeng e0b186f934 hal: Fix for no audio recorded during voice downlink record with mic muted
If mic is muted, the recording buffer is reset,
then there is no audio recorded during voice downlink recording.
Don't reset the buffer if voice call is active.

Change-Id: I59d0543febcccf4a70dfbe713e0921e7bb9f2092
2013-10-31 17:14:10 -07:00
Linux Build Service Account 50f8776825 Merge "hal: compile voice extensions based on board config flag" 2013-10-30 21:00:35 -07:00
Eric Laurent a16217ce0f Merge "audio: fix output flag test in open_output_stream" into klp-dev 2013-10-30 01:02:56 +00:00
Linux Build Service Account 71b0d19fc6 Merge "hal: add incall music delivery feature" 2013-10-28 20:41:50 -07:00
Shiv Maliyappanahalli 303f51dd95 hal: compile voice extensions based on board config flag
Compile voice extensions based on the flag
AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS defined
in BoardConfigVendor.mk.

Change-Id: I06c42bf4b79294fed2077c1d2771ed155f68de00
2013-10-28 16:29:12 -07:00
Linux Build Service Account ac439b73eb Merge "Merge remote-tracking branch into aosp" 2013-10-28 15:36:23 -07:00
Shiv Maliyappanahalli f3b9a42020 hal: add incall music delivery feature
In multisim scenarios, local call hold tone has to be played
to the uplink on the sub on local call hold. Add incall music
delivery feature so that call hold tones can be played to the
uplink.

Change-Id: I8cecf0139926a4bfee603c02542bbedc67720bf4
2013-10-28 12:45:41 -07:00
Shruthi Krishna ace1085d17 Merge remote-tracking branch into aosp
audio/hal: Configure HDMI channels based on output stream channels
  hal: Fix for Tx Mute issue when a new call accepted while in call
  Level measurement in offloaded visualizer
  audio: Presentation time enhancements
  implement get_presentation_position() for offloaded outputs
  audio : add new TMUS MCC and MNC list
  audio : add new TMUS MCC and MNC list
  audio : add new TMUS MCC and MNC list
  add offloaded audio visualizer
  audio: compress offload enhancements
  audio: enable AAC offload
  audio: set cached volume before starting voice call
  audio: set cached volume before starting voice call
  Implement HAL API get_presentation_position
  hal: force stop after drain.
  hal: Add support for Tunnel mode audio playback

Conflicts:
	Android.mk
	hal/audio_hw.c
	hal/audio_hw.h
	hal/msm8960/platform.c
	hal/msm8974/platform.c

Change-Id: I0c66fd6bae9b4974e1791f4e848c775d389da3d0
2013-10-25 14:32:12 -07:00
Linux Build Service Account 8cb7714750 Merge "hal: Support for stereo recording audio feature" 2013-10-24 10:29:21 -07:00
Linux Build Service Account 2bd75a1d7a Merge "hal: Add support for ssr audio feature" 2013-10-24 10:29:21 -07:00
sangwon.jeon 866d5ff146 hal: Fix for Audio Route issue when sound path changes
- if you make an outgoing call as mp3 playback is runnign with headset,
  Right side of headset is not functional when keep changing sound path
  from headset to speaker
- Fix the issue by separating loop related of disable/enable_snd_device

Bug: 11232052
Change-Id: Id02a6d7221c77cf4003d97749d75a062d8575d02
2013-10-24 09:30:00 -07:00
Apoorv Raghuvanshi 6bd8dbf400 hal: Support for stereo recording audio feature
Add support for stereo recording audio feature

Change-Id: I0616bd0292be62d5d6520eb13e3664b15a95bc29
2013-10-22 13:27:32 -07:00
Apoorv Raghuvanshi 6178a3f618 hal: Add support for ssr audio feature
Update audio HAL to support surround sound recording (5.1 channels)

Change-Id: I5b24340251b55ad5c602f2de0a0b4c7672ba729b
2013-10-21 23:56:48 -07:00
Linux Build Service Account 83e17978fd Merge "audio_hal: add incall recording feature" 2013-10-21 18:36:31 -07:00
Linux Build Service Account 7299cff386 Merge "audio_hal: Add support for multi voice sessions" 2013-10-21 18:36:30 -07:00
Linux Build Service Account 43f1660c4c Merge "hal: Support for usb audio features" 2013-10-21 12:55:03 -07:00
Shiv Maliyappanahalli da10764803 audio_hal: add incall recording feature
The uplink, downlink and the combination of both can be
recorded using sound recorder app. Add support for incall
recording feature in audio HAL.

Change-Id: Ia828ab5b3af8044d82b6ef8eb989ae0ba9bbba16
2013-10-21 12:37:25 -07:00
Apoorv Raghuvanshi 5792d4b17c hal: Support for usb audio features
Added support for usb audio feature and
related proxy device support

Change-Id: Ia64e9eff20fbbada6f08795686cdbc0ba462bafb
2013-10-19 14:14:19 -07:00
Linux Build Service Account 4257684850 Merge "hal: enable compilation of AudioPolicyManager" 2013-10-19 10:13:43 -07:00
Shiv Maliyappanahalli 34b585f05a audio_hal: Add support for multi voice sessions
Update HAL to add multi SIM voice support. Seperate
out voice features to voice files.

Add getprop/setprop for BT sample rate, Fluence and Slow talk.

Change-Id: Ief61466f78c7b915549981a28fc7ff32731607a5
2013-10-19 00:06:47 -07:00
Mingming Yin 50378039db hal: enable compilation of AudioPolicyManager
- Enable compilation of AudioPolicyManager.

Change-Id: I52fd5ba07a13e2456246329b1932701e2b2c434a
2013-10-18 18:20:52 -07:00
Linux Build Service Account 76013793ac Merge "audio: Enable support for APQ8084" 2013-10-18 02:06:32 -07:00
Linux Build Service Account c7961de131 Merge "hal: Support for fm audio features" 2013-10-17 11:21:20 -07:00
Linux Build Service Account a5e738647c Merge "policy_hal: Add support for FM and WFD features" 2013-10-17 11:21:16 -07:00
Apoorv Raghuvanshi 6e26284a70 hal: Support for fm audio features
Added support for fm audio feature and hal single
instance fix

Change-Id: I189fd089b45a7e268e0af4ba4ef3eefd22a3f2ff
2013-10-16 19:03:40 -07:00
Ed Heyl 2c69188d91 merge in klp-release (no-op) 2013-10-16 17:43:59 -07:00
Ravi Kumar Alamanda 88d28cba5d policy_hal: Add support for FM and WFD features
- Override the base class functions and add support for FM and
  WFD audio features.

Change-Id: If14afda8e2b507ca40a06c709fd33adbe5f70727
2013-10-16 12:57:32 -07:00
Linux Build Service Account b90b0da5d8 Merge "policy_hal: Initial commit for target specific audio policy" 2013-10-15 18:04:57 -07:00
Linux Build Service Account e0e7e144db Merge "hal: Fix for Tx Mute issue when a new call accepted while in call" 2013-10-15 18:04:53 -07:00
Ravi Kumar Alamanda 89a8142a18 policy_hal: Initial commit for target specific audio policy
- Derive target specific audio policy manager from the base class.
- Allow selection of USB analog dock headset device for voice calls.

Change-Id: I351e88a6abe02e56a14b4eef4c04862e79c5777c
2013-10-14 17:44:25 -07:00
Ravi Kumar Alamanda 60caf20d81 hal: Fix for Tx Mute issue when a new call accepted while in call
- While in a voice call, if an incoming call is accepted, Tx path
  is muted on some specific networks.
- If there is an incoming call, Telephony sets the mode to RINGTONE,
  and the condition check in audio HAL leads to voice call tear
  down. When the call is accepted, the mode is set back to
  IN_CALL and voice call path is re-enabled but the voice drivers
  will be operating with default settings as there is no notification
  from Modem side in this case. For modem, there is no change
  in the call state i.e. just switched from caller 1 to caller2.
- Fix the issue by ensuring that the voice call is teared down
  only if mode is set to NORMAL while call is progress.

Change-Id: Iac5c4d2e6852ccda0da2ea13927d2a95bfb6938b
2013-10-14 17:44:13 -07:00
Linux Build Service Account 3aa2f46074 Merge "hal: Support for anc/aanc/proxy audio features" 2013-10-14 14:38:42 -07:00
The Android Automerger c75149615d merge in klp-release history after reset to klp-dev 2013-10-13 06:02:08 -07:00
Linux Build Service Account 80f8cd795c Merge "audio: audio encoder/decoder enhancement" 2013-10-12 10:31:40 -07:00
Eric Laurent 07eeafd939 audio/hal: Configure HDMI channels based on output stream channels
- Current HAL configures HDMI channels based on sink capabilities,
  even when the output content is stereo. DSP upmixes the content
  if the HDMI backend is configured for 5.1 channels.
- This change ensures that HDMI backend is configured based on
  output stream channels.

Bug: 7290997.
Change-Id: I42b2773b8f4ccc62203c13ff9ac6a6511df0705f
2013-10-11 18:35:53 +00:00
David Ng a5ad5ea866 audio: Enable support for APQ8084
Route APQ8084 targets through B-family audio path.

Change-Id: I3fcd950d0e808da365c2488c9f89911e23b25400
2013-10-10 20:36:49 -07:00
Apoorv Raghuvanshi 9eaf94ee8c hal: Support for anc/aanc/proxy audio features
Added support for  anc/aanc/proxy audio features

Change-Id: Id6ebdb9094635563cfafce9dc1d3449efe25bda4
2013-10-10 11:31:43 -07:00
Linux Build Service Account f59983338b Merge "Hal: Initial commit for B-family targets" 2013-10-09 19:35:37 -07:00