Commit Graph

30 Commits

Author SHA1 Message Date
Linux Build Service Account 59df92fdf6 Merge "audio: Add wsa combo device for Jacala MTP" into audio-userspace.lnx.2.1-dev 2016-08-09 01:56:10 -07:00
Satya Krishna Pindiproli 1c55faf389 audio: Add wsa combo device for Jacala MTP
Add WSA speaker combo path and other missing mixer controls
for MTP and SKUM devices.

Change-Id: Icfc544b167a447dba63fde5e20290dcdc88824bd
2016-08-04 15:55:01 +05:30
Linux Build Service Account e91a0cf093 Merge "configs: remove device loopback entries from policy XML files" into audio-userspace.lnx.2.1-dev 2016-08-02 02:19:31 -07:00
Karthik Reddy Katta 561d4ba535 hal: Add support for QCHAT call
Define PCM device IDs and mixer controls for
QCHAT call for both internal and external
codec target.

CRs-Fixed: 1033324
Change-Id: I6ee6ce04e076377d31b9182905d28d4ea46ba229
2016-07-28 04:49:18 -07:00
Satya Krishna Pindiproli 4c60154231 configs: remove device loopback entries from policy XML files
Remove device loopback entries from route declarations in
policy config XML files for all targets as HAL 2.0 does not
support loopback between devices.

Change-Id: If6f8b96d0edc24cd05fc932d82796729879cfb2a
2016-07-28 11:57:25 +05:30
Garmond Leung dbb2112829 configs: update sound trigger to support hotsound
- Update mixer controls to support hotsound with ECPP backend.
- Update platform configuration for SVA with new format.

Change-Id: I0865dcb234e55af16f6177f7de6a84dd66228a0f
2016-06-22 11:21:59 -07:00
Linux Build Service Account 506a20219b Merge "hal: Add param for max mic count" into av-userspace.lnx.2.0-dev 2016-06-16 06:59:03 -07:00
Linux Build Service Account 907cd07334 Merge "audio: Add support for CPE AFE MAD control" into av-userspace.lnx.2.0-dev 2016-06-15 07:44:24 -07:00
Linux Build Service Account 12c5cde7f7 Merge "hal: Add support for 3 & 4 channel recording" into av-userspace.lnx.2.0-dev 2016-06-15 07:44:22 -07:00
Chaithanya Krishna Bacharaju b5974cf75d hal: Add support for unprocessed audio source
Add input devices to support unprocessed audio capture.

Change-Id: I44e0f2162bdadd8a35df7255992c5948d474a3ed
2016-06-14 23:52:23 -07:00
Chaithanya Krishna Bacharaju 58f0387778 hal: Add support for 3 & 4 channel recording
Add channel mask entry in surround_sound and 24bit record profile
to support 3 & 4 channel recording.
This ensures input open happens with corresponding index mask
instead of using nearset channel configuration.

Change-Id: Ifa120b070f4a5218f4d5ee648284928aac0cf55a
2016-06-14 23:51:55 -07:00
Chaithanya Krishna Bacharaju e17f04419b hal: Add param for max mic count
max mic count is used to determine maximum supported mic count.
Add param entry in platform info xml to override default count 2.

Change-Id: Ib4190622f7125d1a91f0121f0bf5836a48121c5b
2016-06-14 23:51:37 -07:00
Chaithanya Krishna Bacharaju 773406df63 audio: Add support for CPE AFE MAD control
HW MAD bypass feature requires to disable CPE AFE MAD. Add mixer
control to enable/disable AFE MAD on CPE.

Change-Id: Iaa73d2a56e47deabe9b0cb6cd26407bec17e1abb
CRs-Fixed: 993811
2016-06-14 15:03:13 +05:30
Ashish Jain 5f8ebf1f09 audio: config: Add support for 24 bit direct pcm
-Update configuration files to enable support for
AUDIO_FORMAT_PCM_24_BIT_PACKED and AUDIO_FORMAT_PCM_8_24_BIT
via direct pcm path.

Change-Id: I923516c4ee26c5aed957e56a4bf828fc9993f941
2016-05-31 03:23:34 -07:00
Dhanalakshmi Siddani 6faf8faa2e configs: Set default audio sink latency to fix audio track mem failure
- Back to back playback of 192K, 8ch clips fails on BT
- AudioTrack allocates memory of 3MB for the track out of 4MB
  of heap size. This memory corresponds to the duration of 500ms.
  This much memory is not required considering the audio, BT and USB
  HAL latencies.
- Set the default audio sink latency duration to 280ms
  CRs-Fixed: 1015200

Change-Id: If8aad263e08f40768cdebad296a0c759b017a440
2016-05-26 04:59:43 -07:00
Linux Build Service Account 5016005bad Merge "audio: configs: add target specific audio policy configuration XML" into av-userspace.lnx.2.0-dev 2016-05-25 09:07:13 -07:00
Linux Build Service Account ab321e2cf9 Merge "audio: configs: add default xml audio policy configuration file" into av-userspace.lnx.2.0-dev 2016-05-25 08:28:58 -07:00
Satya Krishna Pindiproli 87a95f981d audio: configs: add target specific audio policy configuration XML
Add target specific audio policy configuration XML file for all targets
with enhancements such as additional formats under compressed_offload
output, new device ports such as proxy, line, fm etc., new outputs like
direct_pcm, raw etc. as per the text based audio_policy.conf file and
enable its usage by setting the flag USE_XML_AUDIO_POLICY_CONF to 1.

CRs-Fixed: 1015136
Change-Id: Ifcaa780e0f47df74e1476bb2dc0584bd54f0206b
2016-05-20 15:16:48 +05:30
Satya Krishna Pindiproli 013c3e49f9 audio: configs: add default xml audio policy configuration file
Add the default XML audio policy configuration file for all targets
and control its usage by the flag USE_XML_AUDIO_POLICY_CONF.

CRs-Fixed: 1015136
Change-Id: If1c5d9abc6d6c882092c91c15546e25e9f7ae634
2016-05-20 15:16:07 +05:30
Venkata Narendra Kumar Gutta a315094425 hal: Fix ANC headset for use with independent backend
ANC headset device requires support for independent backend
(SLIM_6_RX) same as headphone. Headphones use case controls
are reused when anc-headphone is selected.

CRs-Fixed: 992816
Change-Id: Ibd342995f271728dd7f8e3dd8c03bbc4a48e1a39
2016-05-16 14:51:24 +05:30
Ashish Jain ad78edc05f audio: configs: Enable DEVICE_OUT_PROXY support
-Enable PROXY device support.
-Fix compilation issue due to unused variable.

Change-Id: I68128df404d34087f27900ed826b6f40da260b24
2016-05-06 09:59:50 +05:30
Linux Build Service Account 583bd495f7 Merge "hal: Support the independent back-end for different device" 2016-04-29 04:02:44 -07:00
Linux Build Service Account 7cb82ecf4f Merge "Initial changes for new release bring-up" 2016-04-28 13:52:15 -07:00
Sidipotu Ashok f0142645f8 hal: Support the independent back-end for different device
Update to support the independent back-end for different device
such as headphone and speaker so that the audio post-processing can be
applied as device dependent.

Change-Id: I0e4991b01a28829e9ce29582edf5904985b98c72
2016-04-28 16:39:14 +05:30
Linux Build Service Account 6650e5fe35 Merge "hal: support higher sample rates for 16bit streams" 2016-04-26 22:10:19 -07:00
Vara Prasad A V S G bbef79e572 Initial changes for new release bring-up
Disable VOICE_CONCURRENCY & DS2_DOLBY_DAP

Change-Id: Ie6a17cb723f9d6e15cfa40a09af639dcfa330777
2016-04-26 21:12:43 +05:30
Sidipotu Ashok d864c408bf hal: support higher sample rates for 16bit streams
Config audio_output_policy.conf to support 96 and 192 KHz
playback on 16 bit streams

Change-Id: Ide43c41c39b4a374b5702f343eb3780a14e73f88
2016-04-14 16:11:52 +05:30
Sidipotu Ashok 38b637121c hal: enable native playback
Enable native playback from platform XML

Change-Id: I7ea1dd4fd4aacca57e258a1081d60bb31fe3a34f
2016-04-14 11:01:46 +05:30
Ashish Jain 440a4d92e5 audio: Enable device overlay for audio specific configs
Move audio specific device overlay to audio HAL.
This helps remove dependency from other overlays and also
does not affect other subsytems.

Change-Id: I5f55f48905bd09575265f48e8b3a5a24eee278ed
2016-04-07 11:28:00 +05:30
Ashish Jain 1221b529ca hal: move audio specific config files to HAL
-Move all audio specific config files from device/qcom/msm8xxx
to hardware/qcom/audio/configs/msm8xxx folder for
msm8937 and msm8953 targets.
-Move all audio configurations from BoardConfigVendor.mk
to target specific makefile in hardware/qcom/audio/configs.
-Move all audio related system properties from system.prop
to target specific makefile

Change-Id: I6317c334ce8c7fe6425346bb1e803a1dd7a7de0e
2016-04-01 14:54:23 +05:30