Commit Graph

9 Commits

Author SHA1 Message Date
Pradnya Chaphekar 659affa291 hal: Add changes for dolby DS2
-Add device to back end mapping for APQ8084 and MSM8994.
-Set initialization info like sound card number, dmid
 to ds2 dap hal.
-Add mixer control DS2 OnOff to enable or disable DS2
-A property "audio.dolby.ds2.enabled" is added to trigger
 the mixer control.
-Reuse ds1 functions for checking dolby format and getting
 sound codec id.

CRs-Fixed: 661095 661018

Conflicts:
	hal/audio_hw.c
        hal/msm8916/platform.c

Change-Id: Iff5fdc49249eb035c2ccde18e190ccc6c3ff632a
2014-11-23 23:47:01 -08:00
Ravi Kumar Alamanda bdf1416c29 hal: fix unused param warnings
Fix unused param warnings.
Take care of coding style issues.
Remove unwanted code to set acdb_settings.
Fix compilation issues on 8960 platform.

Change-Id: Ifc72472b487abee83ff85e21fd324cee938973e9
2014-09-18 15:56:42 -07:00
Mingming Yin ae3530f8dd hal: update Dolby EAC3 audio format enum
- Update Dolby EAC3 audio format enum to
  AUDIO_FORMAT_E_AC3.
- This new format is introduced in AOSP code

Change-Id: Id1f524b430b086b881c74f6cb91c9823439a251a
2014-07-11 10:07:02 -07:00
Mingming Yin 0acba99f8e hal: remove ANC headset devices in hal
- Remove AUDIO_DEVICE_OUT_ANC_HEADPHONE and
  AUDIO_DEVICE_OUT_ANC_HEADSET in hal.
- These devices are not used

Change-Id: Ib8692906edb3460a6325adcf3c3cce9ef4641120
2014-06-16 11:41:58 -07:00
Dhananjay Kumar 89ea3bd9e5 hal: add support for dolby license validation
Add dolby audio_extn API's to set dolby license.
License needs to be set with dsp everytime it is loaded.

Change-Id: I21d58a21d65c823469d066f4ba5edc5b2660ea1e
2014-05-09 14:46:53 +05:30
Linux Build Service Account 2f378012d7 Merge "hal: Update the correct channel count for dolby configuration" 2014-03-05 03:45:36 -08:00
Mingming Yin c7d048aa11 hal: set Dolby DMID for low latency playback
- Remove additional check to set Dolby DMID
  for low latency playback. DMID should
  be set for all playback use cases.

Change-Id: Ia93e1b13cc61145148a1bf520a222f8e480b3e2b
CRs-Fixed: 620246
2014-02-25 13:34:07 -08:00
Krishnankutty Kolathappilly 0b2de1cf2f hal: Update the correct channel count for dolby configuration
-Wfd supports both 5.1 and stereo. Based on the sink capabilities
 update the correct channel count for dolby configuration for wfd.

CRs-Fixed: 609429
Change-Id: I85b81ba7db7134a6781007393f0f3c2adb5ea138
2014-02-24 11:31:35 -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