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
This reverts commit 1c57390b961d2eaee6817d91e9453832780261bf.
As per surround sound recording design reverting this
commit to remove built-in mic from primary inputs.
Change-Id: Ic0727a4c59d437045a2ef38cfe4ca2ea66ae21d2
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
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
- 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
Add new input profile to support 24 bit record.
Based on bitwidth select appropriate unprocessed mic device.
Change-Id: Iba7cdf733f6993129cea1bf41908831ac1dda8d4
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
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
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