Commit Graph

11 Commits

Author SHA1 Message Date
Aniket Kumar Lata d4747c473a audio: Add supported encoding formats to A2DP devicePort
Add tag to define supported encoded formats by devices
on a HwModule.

Change-Id: I73f4e88ab55739a2e1d13af74ff586f5e634fb45
2019-02-27 10:37:16 -08:00
Naresh Tanniru cb5b578917 Merge e1f65e84d3 on remote branch
Change-Id: I5cb17e69a3b1e4fa78b7a130cbabc8bc7b11932b
2018-10-15 17:00:56 +05:30
Samyak Jain 9368d745ae configs: Support 2 instances of "primary input"
No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously

With default values for maxActiveCount and maxOpenCount,
FM app is unable to record and play FM audio on speaker simultaneously
since it uses application loop back(AudioRecord->AudioTrack)
to route FM audio to non-default devices(Speaker)

Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input"

CRs-fixed: 2249758
Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e
2018-06-26 12:26:25 +05:30
Divya Narayanan Poojary 0677f95e08 configs: sdm660: Remove Dolby formats by default
AC3, EAC3 formats are supported only when license and
respective decoders are present. Having these entries
in policy configuration by default will unnecessarily
trigger open_output_stream and then fail when decoders
are not present. This results in glitches at the
begining of playback of video clips with AC3 or
EAC3 audio contents.

Removed these entries to make the video playbck smooth
with out any glitches.

CRs-Fixed: 2200436
Change-Id: Ie8ad6faaf3149b916db77b2246e985fb859a23ab
2018-04-16 23:20:05 -07:00
Satya Krishna Pindiproli b09eb02179 configs: add USB_HEADSET device in policy conf files
Add support for USB_HEADSET device in audio policy configuration
files of all targets which support USB Tunnel Mode.

CRs-Fixed: 2150144
Change-Id: I14c124e1a5407d004143c977348637fd373a4126
2018-01-09 12:28:58 +05:30
Haynes Mathew George 484e8d2aff audio: Dynamic USB profile changes
Add support for hifi playback and record usecase

CRs-Fixed: 2106614
Change-Id: Ic0d5c8907e9951e8205131060071101ca16a455b
2017-10-06 16:36:51 +05:30
Aniket Kumar Lata bd889a9359 Revert "configs: Add built-in mic to primary input sources"
This reverts commit 1c57390b961d2eaee6817d91e9453832780261bf.

As per surround sound recording design reverting this
commit to remove built-in mic from primary inputs.

Change-Id: Ic0727a4c59d437045a2ef38cfe4ca2ea66ae21d2
2017-09-18 03:13:23 -07:00
Dhananjay Kumar aeb58fdc7f audio: configs: update policy configuration to fix vts failure
Update default audio_policy_configuration.xml to remove configurations
that are not compatible with aosp system image and are causing vts failures.
Add custom audio policy configurations at /vendor/etc/audio/ to be picked
up by qti customized system image.

Change-Id: Iae1f4c72090ef5a0c6472083dce8b0065beb6851
2017-08-11 17:19:54 -07:00
Aniket Kumar Lata 2b3642c1f2 configs: Add built-in mic to primary input sources
Built-in Mic is the fallback input source if A2dp,SCO,wired
headset,usb headset/device are not connected. During the transient
period between an output device and input device connection, if
primary input profile is selected and none of the above devices
are available, APM selects built-in mic as the new device.
Current configuration does not support built-in mic in mix routes
for primary input resulting in premature input close. This leads
to AudioRecord track recreation. Timing issues have been observed
due to incorrect input attributes being set leading to start record
failures. One such case is device switch (handset to headset)during
incall record. Add built-in mic to avoid timing issues relating to
restoreRecord_l call flow.

CRs-Fixed: 2066905
Change-Id: I97cc5370a843ddfd14f3b43ba4435c2930b8e19a
2017-07-26 16:20:51 -07:00
Dhananjay Kumar ac3415870d audio: make direct output independent of DIRECT_PCM flag
- Make direct output independent of flag AUDIO_OUTPUT_FLAG_DIRECT_PCM.
- Remove multi-channel profile as it is redundant with respect to
  direct output profiles.

Change-Id: I7f5fef656f1d8796872e4d297da3220c3e69951d
2017-04-07 23:13:36 +05:30
Arusha Goyal fda291525e msm: Rename msmfalcon to sdm660
Update the code name from msmfalcon to sdm660. As part of this, update
the filename containing "falcon" and files content containing "falcon".

Conflicts:
	configs/sdm660/sdm660.mk

Change-Id: I5fc11ffac2f21f11e2a7283cf7375bcf93c01623
2016-12-29 03:39:32 -08:00