Commit Graph

5226 Commits

Author SHA1 Message Date
qctecmdr 11081b3db1 Merge "configs: Add flag to compile opensource sthal" 2019-07-06 08:45:08 -07:00
qctecmdr 85fa627fca Merge "hal: Add QAP extention" 2019-07-06 08:41:31 -07:00
qctecmdr 0e74a38b63 Merge "hal: Expand the list of Barge-in usecases" 2019-07-06 08:40:45 -07:00
Revathi Uddaraju c93d86d8fa configs: Add flag to compile opensource sthal
The sound trigger hal is moving to opensource on
Saipan and Rennel. So the compilation of the code in opensource is
enabled.

Change-Id: I73ee4cdfe1068a43a7f4f269ab06ff8b9772349c
2019-07-05 03:57:56 -07:00
qctecmdr 3ca34ba844 Merge "Audio: update stream volume if device route successful." 2019-07-04 05:01:45 -07:00
qctecmdr 2c47902de9 Merge "configs: Enable AAC frame control for A2DP" 2019-07-04 04:59:23 -07:00
qctecmdr 94672b4469 Merge "msmsteppe_au: modify the device ids for HFP usecase" 2019-07-04 04:57:21 -07:00
qctecmdr 8ec3f06247 Merge "configs: enables backward compatibility for legacy volume APIs" 2019-07-04 04:55:21 -07:00
qctecmdr 881e438994 Merge "configs: Add prop override for acdb on GVM" 2019-07-04 04:53:45 -07:00
qctecmdr e71dada0db Merge "configs: add audio routing for quat tdm interface" 2019-07-04 04:51:43 -07:00
qctecmdr 6e35e0de9f Merge "configs: enables backward compatibility for legacy volume APIs" 2019-07-04 04:49:58 -07:00
qctecmdr bad2c32e3e Merge "ahal: Enable offload support for 16/24 bit pcm files" 2019-07-04 04:47:33 -07:00
Linux Build Service Account fed38a22e4 Merge "config: msmsteppe: enable Audio HIDL HAL 5.0" into audio-hal.lnx.6.0 2019-07-02 01:09:08 -07:00
Quinn Male 70f20f3253 hal: Expand the list of Barge-in usecases
This change adds new usecases to the list that will raise a
usecase event to sthal. USECASE_AUDIO_PLAYBACK_LOW_LATENCY and
USECASE_AUDIO_PLAYBACK_ULL are added with system property checks.
USECASE_AUDIO_PLAYBACK_MMAP is also added without a system
property. Additionally, screen state events can now be sent to
sthal.

Change-Id: I936b2390d886b67695daf184a2ca1b018ed17567
2019-07-01 17:37:35 -07:00
Nagarjuna Paladugu c1a68cdc9f configs: enables backward compatibility for legacy volume APIs
Enables backward compatibility for the legacy volume
APIs based on stream types by setting the config_useFixedVolume
value to false.
Change-Id: I7dd2d51c8e44bbb5b5ab8224adff45c13f8caec6
2019-06-30 17:18:06 -07:00
Rahul Sharma ea4b808e72 ahal: Enable offload support for 16/24 bit pcm files
Enable 16/24 bit pcm offload properties.
Adding 16/24 bit pcm profiles to compress offload.
Change-Id: If78e7ed76341f00211d2d4eeb3e08ba0ac8ffa6c
2019-06-29 22:42:25 -07:00
Derek Chen 5a1dd62f25 configs: add audio routing for quat tdm interface
Add additional audio routing to Quaternary TDM
interfaces for deep-buffer and compress-offload
use cases.

Change-Id: Ied2d1904bfca440e29198d66c36c2d1488626fc8
2019-06-29 22:36:01 -07:00
Derek Chen 29453c8b5f configs: Add prop override for acdb on GVM
Add prop override for acdbdata set selecting
as default target is "MTP", since no sysfs nodes
of socinfo populated on GVM for target detection.

Change-Id: Idce5ef1ff0eec37c8bbb07c070821269f7d6d8c5
2019-06-29 22:28:53 -07:00
Suprith Malligere Shankaregowda da82ef1621 configs: enables backward compatibility for legacy volume APIs
Enables backward compatibility for the legacy volume
APIs based on stream types by setting the config_useFixedVolume
value to false in config.xml file of framework for overlay.

Change-Id: Ia5fbe62c32e3689a85028949b864be2d9a34bc79
2019-06-29 16:43:38 -07:00
Rahul Sharma c9ae9911aa msmsteppe_au: modify the device ids for HFP usecase
update the pcm device ids for HFP usecase.

Change-Id: Ifb99e2647d967f985cfd125899f1fff8c8740b73
2019-06-29 16:38:05 -07:00
qctecmdr 007e5e9cd5 Merge "qap: test: Enable ecref path" 2019-06-28 22:49:25 -07:00
qctecmdr 31ea8d551a Merge "config: Remove unnecessary profiles from USB input device" 2019-06-28 22:47:44 -07:00
qctecmdr d8be30559c Merge "hal: Update VoIP output calculations for stereo channels" 2019-06-28 22:45:25 -07:00
qctecmdr a06c7c2712 Merge "config: sdm845, sdm710: enable Audio HIDL HAL 5.0" 2019-06-28 22:43:25 -07:00
qctecmdr 12482bacb8 Merge "audio: free and assign NULL to global static device pointer" 2019-06-28 22:41:26 -07:00
qctecmdr 1b64e80312 Merge "Enable MPEGH SW Decoder flag for Kona" 2019-06-28 22:39:31 -07:00
qctecmdr 9623117357 Merge "configs: disable ext hw plugin on lito" 2019-06-28 22:36:56 -07:00
qctecmdr 151f723383 Merge "configs: Add voice-handset-tmus path to support tmus operator" 2019-06-28 22:35:37 -07:00
qctecmdr 5570697d8b Merge "configs: Modify headphone power mode to low power" 2019-06-28 22:33:34 -07:00
Dhananjay Kumar 71457710a6 config: msmsteppe: enable Audio HIDL HAL 5.0
Change-Id: I1d9ea3cb6bdf99e42419f1b82bd87fa64692c9b5
2019-06-26 19:12:33 +05:30
Aniket Kumar Lata 1e344f25b1 hal: Update VoIP output calculations for stereo channels
HAL assumes VoIP output supports mono configuration only.
Buffer size, period calculations do not account for channels.
At present, if VoIP is opened with stereo channels, buffer
size returned to framework is incorrect.
Update buffer size and period size calculations for VoIP
output for stereo channel configuration.

Change-Id: Ib30dde389c1a93fcfe8b0f68d50f2f2327f20489
2019-06-25 11:23:03 -07:00
qctecmdr ddc1a31296 Merge "HAL: Add new device for voice tty headset" 2019-06-25 07:44:01 -07:00
qctecmdr 4baeaac35d Merge "configs: msmsteppe: Update audio properties" 2019-06-25 07:42:44 -07:00
qctecmdr b5745749b0 Merge "config: Add new device for voice tty headset" 2019-06-25 07:40:10 -07:00
qctecmdr b27959613c Merge "configs: Set min offload playback duration" 2019-06-25 07:38:40 -07:00
qctecmdr 263357314b Merge "configs: lito: update mixer controls for lito qrd device" 2019-06-25 07:34:04 -07:00
qctecmdr bb3ed7642f Merge "hal: Add support to capture mic and ec reference data" 2019-06-25 07:32:43 -07:00
Aditya Bavanari 473b9619ba configs: Add voice-handset-tmus path to support tmus operator
voice-handset-tmus is missing in mixer paths of several target
variants due to which voice call on handset doesn't work on tmus
sim operators. Add this path in all the applicable variants to
fix this issue.

CRs-Fixed: 2478385
Change-Id: Ic21186974fd8ffe1cef768252938ff44c078f826
2019-06-25 16:40:26 +05:30
Mingshu Pang 6cce38c9b7 configs: Enable AAC frame control for A2DP
Enable frame size control for AAC codec used
for A2DP playback.

CRs-Fixed: 2478191
Change-Id: I6ccbfca0bfe92a29387a8a18022f1f5c7d247db5
2019-06-25 16:04:26 +08:00
Manisha Agarwal c2188fb0c5 Audio: update stream volume if device route successful.
Volume unmutes even if Bt-A2dp is not ready and routing
fails.

Unmute the volume only if routing to Bt-A2dp is success.
If unsuccessful unmute the stream on A2dp device disconnect.

CRs-Fixed: 2453246
Change-Id: Ic4c967da3360918db0b2ead80429ae33c6b826cc
2019-06-25 00:23:34 -07:00
Aditya Bavanari 08fe9183ef configs: Modify headphone power mode to low power
Remove power mode setting in headphones mixer path
to have it start in ultra low power mode for lesser
power consumption.

Change-Id: I3bb78bce6dd66c818cdec3f0acfa98119676404f
2019-06-25 01:09:46 +05:30
Aditya Bavanari 310e491871 configs: disable ext hw plugin on lito
Disable ext hw plugin feature on lito as it is
not applicable.

Change-Id: Ia932933a8c9f01c39880887cf013d9bee2d9a103
2019-06-25 00:41:58 +05:30
Preetam Singh Ranawat acc64548db audio: free and assign NULL to global static device pointer
-free and assign NULL to global static device pointer instead of local
  pointer to avoid free after use issue.

Change-Id: Idfdef719320efcd792c7d2ebd7ec2dfe5d3fbfbd
2019-06-24 15:32:16 +05:30
Samyak Jain 17c0b5f9ad config: Remove unnecessary profiles from USB input device
CTS test USB Audio Peripheral Attributes fails due to
extra profiles getting added

remove the extra profiles added for USB input device

Change-Id: I7b4a25986b01031b2a966aff842fc3efcd1d8097
2019-06-23 22:52:04 -07:00
qctecmdr eca77a2fea Merge "configs: Add interface for voice speaker stereo snd device" 2019-06-21 03:39:08 -07:00
qctecmdr d610539aa8 Merge "hal: Add snd device name index mapping for voice stereo speaker" 2019-06-21 03:33:01 -07:00
qctecmdr 5348ad0833 Merge "hal: Add sound card support for sdmmagpie variant" 2019-06-21 03:30:09 -07:00
qctecmdr e0cd6e67be Merge "hal: add snd card status callback in auto hal for ssr" 2019-06-21 03:28:09 -07:00
qctecmdr 7aa36b356d Merge "audio: usb: fix buffer overflow issue" 2019-06-21 03:25:56 -07:00
Ramjee Singh 21287cb211 config: sdm845, sdm710: enable Audio HIDL HAL 5.0
Change-Id: Icf42b942849ddc4a7a612c511f96737eabc7aa68
2019-06-21 09:33:14 +05:30