Commit Graph

12 Commits

Author SHA1 Message Date
Ravi Kumar Alamanda ceb408232d hal: Remove mobile carrier specific ACDB devices
- There is no specific ACDB existing for T-Mobile on
  all A/B-family targets.
- The T-mobile specific implementation is from Nexus5 audio HAL
- Remove the related implementation which is not applicable

Change-Id: I0732dd174b8b61792fbc60905c191ac4ec1bbae0
2013-11-09 11:08:37 -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
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
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
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 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
Haynes Mathew George 7ff216f80f audio: Presentation time enhancements
1) Add API to query platform render latency. This API is only
valid for deep-buffer and low-latency streams.
2) Adjust frames rendered for deep-buffer and low-latency streams
with the platform render latency
3) Use tinycompress APIs to query presentation time in case of
offload streams.

Bug: 10551158
Change-Id: If94e0994bfc0b757f29aa4b48be6fc63dc17bca0
2013-09-20 15:50:21 -07:00
Haynes Mathew George 47cd4cbdb1 hal: Fix EDID information
- Get EDID audio block info from a mixer control instead of a file.
- Fix a bug where the current sad is not updated in the for loop.

Bug: 9430906
Change-Id: I750e307ce1064eeb98d09ea8534a375252630841
2013-08-07 14:00:54 -07:00
Eric Laurent 994a693158 audio: reduce audio HAL log spam.
Change-Id: I73a7ee40a32ccd4e6a85e49d08a6610351fedab7
2013-07-17 11:51:42 -07:00
sangwoo 1b9f4b3708 audio HAL: Add retry to get mixer in adev_open
If the sound card is not created in kernel before audio hal initialized
by audio flinger, the mixer open would be failed.
This is timing issue. So retry routine is need.

Change-Id: Icff3cd53763bfc483725849874fe27ff4de28890
2013-06-24 14:39:16 -07:00
Ravi Kumar Alamanda 33d330678f audio/hal: Set playback buffer size to integral multiple of msec
- Set the deep-buffer and low-latency output buffer sizes to
  integral multiple of msec. This reduces the variations in
  the writes.
- Compute the input buffer size based on sample rate. Use 20msec
  buffers in capture path.

Bug: 9283911, 9106434
Change-Id: Icbcb653f7f0fd3293dd4b514a54ac91d8311b308
2013-06-14 11:13:32 -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