Commit Graph

32 Commits

Author SHA1 Message Date
Linux Build Service Account 6878144bc9 Merge "hal: Send device based parameters for DAP and DDP" 2014-01-20 12:02:34 -08:00
Ben Romberger 5588688cbd hal: Add XML parser for platform info
Add XML parser which parses the platform_info.xml
on the device. That xml contains ACDB ID information
and is populated from the device project folder to
the /etc folder on the device. It is used to overwrite
hardcoded ACDB ID's in platform.c.

Change-Id: I86419bf0f48bcf7f0125da58626adab1d23fa50a
2014-01-14 17:36:29 -08:00
Subhash Chandra Bose Naripeddy 7690c56892 hal: Send device based parameters for DAP and DDP
Send device based parameters for DAP and DDP

Change-Id: I2cb977a573a3065f121d7aa096355ebda15f5948
2014-01-11 20:37:26 -08:00
Nagender 44733a4b2f qcom/audio: add kenel headers as dependency
Ensures that kernel headers are built before they are utilized.

Change-Id: Ie270bcf9ca0bb48a1a08c469f11e562953dbd5de
2013-12-08 00:05:20 -07:00
Vimal Puthanveed 5b4d3f10ea hal: Added support for HFP
- Added setparameter to be set from hfp app to enable
   and disable hfp session.
 - Implemeted start and stop hfp session which takes
   care of switching device and setting the session

Change-Id: Ie8697328ccbfee09d0d162f6fad01ddb552e4f83
2013-11-25 16:39:51 -08:00
Mingming Yin 9031010564 hal: add Dolby DD+ support for AC3/EAC3
- Enhance offload formats to support AC3/EAC3.
- update HMDI profile check to make sure that
  Dolby playback goes through compress offload
  path.

Change-Id: Id8d1738305c117ccdf01c61bb5f4dd17e106b40b
2013-11-22 14:12:24 -08:00
Mingming Yin e62d784d2d hal: Add support for compressed capture
- Add support for AMR-WB compressed capture.

Change-Id: Ief591c5d1ccc6f8afb408abfff447787ee7bd7aa
2013-11-18 14:56:53 -08:00
Narsinga Rao Chella 05573b74bf hal: Add support for compressed voip
Add support to enable voip calls using compressed
audio formats.

Change-Id: If20493b75befbcc56945e4309c8f01384948a7b5
2013-11-18 14:47:49 -08:00
Vidyakumar Athota d9d9ff34fa hal: add voice call support on apq8084
APQ8084 uses external modem to make voice calls.
APQ uses CSD QMI interface to communicate with external
modem. Add csd client apis to support voice calls

Change-Id: I11fe0cc614ee38c42e95b40d5cd5e2d8b3afd43a
2013-11-13 16:56:22 -08:00
Gopikrishnaiah Anandan f538cefc07 hal: Add support for speaker protection
- Speaker protection feature protects the speaker from
  overheating.

Change-Id: Ida4899534124eba203025915beba662e88a0f403
2013-11-09 10:58:54 -08:00
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
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
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
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
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
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 7299cff386 Merge "audio_hal: Add support for multi voice sessions" 2013-10-21 18:36:30 -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
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
Linux Build Service Account 76013793ac Merge "audio: Enable support for APQ8084" 2013-10-18 02:06:32 -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
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
Mingming Yin 8e5a4f6040 Hal: Initial commit for B-family targets
- Remove broadside dual-mic config specific
  code which is not supported anymore.
- change output device for voice calls.
  Voice calls should enable side tone,use voice
  handset device which enables side tone during
  voice calls.
- Add Fluence quad MIC support for voice calls
  in speaker mode.
- Correct the audio hal library name to reflect
  the target name.
- Compile the msm8974 platform code for all
  b-family targets.
- Fix the low latency number accordingly for
  msm8610 in platform code

Change-Id: I8f16ac8eef8ef4bec1295bf73208ebaf90303603
2013-10-07 15:23:41 -07:00
Ravi Kumar Alamanda 4e02e5575f hal: Add support for Tunnel mode audio playback
- Initial implementation to support audio playback in tunnel mode.

Change-Id: I4ffa660bd9beb855fdfe6a7572d8f6b7eade7bd9
2013-08-28 11:44:23 -07:00
Ajay Dudani be3335ab71 hal: Add support for msm8226 platform
msm8226 uses common code base as msm8974.

Change-Id: Ibea589637c7a9464ba274156ab43820c82124bd3
2013-08-21 15:21:33 -07:00
Eric Laurent b23d528649 audio HAL: separate platform specific code
Separate platform specific code from generic audio HAL code.
Platform specific code is:
- platform initialization
- pcm device selection
- pcm stream configuration
- sound device selection
- acdb ID selection
- HDMI configuration

Change-Id: Iaf327943fa8674aad0c22a71e7cbf4288a138c7d

Conflicts:
	hal/audio_hw.c
	hal/audio_hw.h
2013-06-10 17:45:27 -07:00
Ravi Kumar Alamanda f70ffb40ca hal: Add support for pre-processing effects
- Add support for AEC audio effect for voice communication.

Bug: 7241490
Bug: 8325112
Change-Id: Ic33d2f1f7be86484f748627d9afabbe10c369c21
Signed-off-by: Eric Laurent <elaurent@google.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-05-14 12:39:14 -07:00
Sungmin Choi 5195a4b2f9 audio: enable audio using tinyalsa on MSM8974
Change-Id: I003dedd9f29de5aec1b620442aa8b3c3c7b7a816
2013-04-10 09:01:52 -07:00
Iliyan Malchev 323fb9e55e qcom/audio: use TARGET_BOARD_PLATFORM to name audio.primary.xxx.so
Change-Id: I945a37cdb11fe10e0d1c7a4b8d9e2f31b62ae521
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-04-04 14:14:04 -07:00
Ravi Kumar Alamanda 2dfba2b926 add new audio HAL (disabled)
-- build when BOARD_USES_LEGACY_ALSA_AUDIO is not defined
-- under hal/
-- uses audio_route library

Change-Id: Ibf2706ba55e5a2dbd69b5f4cfac8a5cc68220b86
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-02-08 18:47:20 -08:00