* 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>
When being in dark environments, turning screen off, then moving to
bright environments and turning screen on, sometimes it happens that the
light sensor emits an initial light sample of 1 lux, which causes the
automatic brightness controller to ramp down the brightness even though
the ambient brightness is high. Avoid the controller using those samples
by giving the light sensor some time to warm up.
Change-Id: I81dcb41a25ff0c9f0cf3265da7054ac7ebcbcc34