Commit graph

13 commits

Author SHA1 Message Date
Dhananjay Kumar
92fa602ce4
clover: configs: Remove surround recording support from audio policy config xml
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
2019-09-26 11:07:36 +02:00
Samyak Jain
28322472be
clover: config: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2019-09-11 08:27:48 +02:00
notsyncing
21bdd7d329
clover: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.
Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-22 09:12:05 +02:00
LuK1337
c48c644336
clover: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-10 10:39:57 +02:00
Sujin Panicker
464708bf78
clover: audio: Add BT SCO to routes list
- 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>
2019-06-24 18:44:31 +02:00
Max Weffers
e76471a499
clover: Remove Dolby formats by default.
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>
2019-06-02 07:43:54 +02:00
Max Weffers
8e41df59bf
clover: audio: Remove support for MMAP IRQ mode streams
Change-Id: I8d70e2294e9a8c1ad52e7f1c24b13307be064210
2019-01-15 17:02:17 +01:00
Max Weffers
a6d447430c
clover: audio: fix include of usb audio config 2018-12-15 09:07:04 +01:00
Max Weffers
43dbacc9d7
clover: audio: remove double defined bta2dp configs and use aosp configs for it 2018-12-09 10:31:06 +01:00
Samyak Jain
377f56bc4f
clover: 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-12-03 12:31:02 +01:00
dianlujitao
44e7bfeaca
clover: Disable audio ULL mode
* This generates corrupted sound, and is disabled on stock as well.

Change-Id: I9cd1d63fbd1f55a034944f419ae42121bae9c51d
2018-11-26 11:48:29 +01:00
Max Weffers
0ba689a6f2
clover: audio: Update audio configs from MIUI 8.9.20 2018-10-18 17:00:04 +02:00
GuaiYiHu
038548508d
clover: audio: Import Audio Configuration from MIUI 8.8.23 2018-09-27 12:08:59 +02:00