For custom_upsampler, add mixer controls and backend updation in
platform info in atoll, kona and steppe.
* fixes Headphones without mic on sdm660
Change-Id: I0c61024c444e9950568797779545f43e7ec3ba1b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.
Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
* This can greatly improve audio quality when an external
USB DAC is connected.
Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
- Issue with returning a valid device descriptor
since BT SCO is not defined in IOProfile.
- With Android-Q changes, first attempt to retrieve device
descriptor from the avaiable HwModule may fail due to
address and encoded format conditions.
- Further device descriptor query is based on IOProfile
with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.
Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
The 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: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
Add support for mixer controls to enable suspend/resume
for low latency sessions. These mixer controls are used
to remove the QOS vote in ALSA core
Change-Id: I77505de2c9e859f1cf75360789e480975a96a6a3
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
-Remove default setting of sampling rate to 48K and stereo channel
for bt a2dp as support for multiple sampling rates and channels
over a2dp is added and being set from hal.
Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.
CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
non-hdmi devices
Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI
Change-Id: Icdf22c9d8d1264d463b23c8f54020e792840b73c
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.
Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
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
* Speaker isn't properly calibrated with ACDB from O-based MIUI (while
it was on N), pop is heard when disabling speaker.
* MIUI has speaker protection enabled, hence this route isn't even
used by Xiaomi. However, with speaker protection enabled on Lineage,
the volume curve became very strange, maybe Xiaomi uses Dirac audio
effect to address this issue on MIUI, but it's not supported on AOSP.
* Fortunately voice speaker seems to be properly calibrated, so apply
that route to fix the issue.
* Voice speaker gain in ACDB seems to be lower than speaker, so
slightly increase gain in mixer paths to make it sound like a "normal"
speaker.
Change-Id: Ic674973933595db0ae797a7fa767539a321664ff