Commit graph

22 commits

Author SHA1 Message Date
dianlujitao
fa6a145a1b
sdm660-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2019-12-02 17:22:26 +01:00
LuK1337
63e7fd292b
sdm660-common: audio: Add "Built-In (Back) Mic" to "primary input" sink
* That way video recording apps will choose
  16-bit PCM by default instead of 24-bit
  one which happens to have quite low volume
  on this device.

Change-Id: I2130c6a759afcd50a985b2f034b5c0b5374287af
2019-12-01 10:10:48 +01:00
Max Weffers
4d7fa3c93a
sdm660: audio: configs: Remove voip_tx profile to policy conf
The voip_tx causes broken microphone in calls via Telegramm, Fb messenger and Whats app

This reverts commit ffbcf557f2.
2019-10-18 17:19:55 +02:00
Sujin Panicker
ffbcf557f2
sdm660: audio: configs: Add voip_tx profile to policy conf
Skype+camcorder concurrency usecase makes Skype
to mute since both uses same record_24 profle, due to
which second audio record request de-prioritizes first
setting isTopOrLatestActive(=true)
Add voip_tx profile making skype to use fasttrack rather
than using record_24 profile
Change-Id: I4a6cee00787f8f587b088d4586e8d13d824144c3
2019-10-04 18:53:17 +02:00
Max Weffers
6beb9b7619
sdm660-common: audio: move audio policy configuration to common 2019-10-04 18:53:17 +02:00
Ramjee Singh
3f1432c7df
sdm660: audio: Use AOSP implementation for sw effects
Change-Id: I46197c387c9af88e1b8c22ffcc42d4dcf16bc31f
2019-10-04 18:53:17 +02:00
Erfan Abdi
638c48afd0
sdm660: audio: Update Bt audio policy configuration for qti audio 2019-09-27 17:13:45 +02:00
Mingshu pang
cc66284cdc
sdm660-common: 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
2019-09-16 10:39:53 +02:00
LuK1337
b0cd3e875d
sdm660-common: audio: Remove hw_acc effect
* It doesn't work at all.

Change-Id: I36008b1d40f5bed59cb67526ec662828d6e2c850
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-09-16 10:39:53 +02:00
PIPIPIG233666
375f15e4a2
sdm660-common: audio: Add misound lib to audio effects 2019-08-20 10:39:44 +02:00
Henrique Silva
61ca651874
sdm660-common: audio: Add audio effects support for dirac 2019-08-20 10:39:44 +02:00
Max Weffers
d677d286ab
sdm660-common: audio: remove dynamic processing from audio effects 2019-08-20 10:39:44 +02:00
pythonlimited
9842c4542d
sdm660-common: audio: move specific audio files to device 2019-08-14 10:04:14 +02:00
Vatsal Bucha
0e29c95b5b wayne-common: Update mixer paths for sdm660 internal codec
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
2019-07-01 16:42:18 +02:00
Preetam Singh Ranawat
ad5dc43c5c wayne-common: Remove default sampling rate and channel entries for bt a2dp
-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
2019-07-01 16:42:18 +02:00
Ramjee Singh
300d8d7b98 wayne-common: Separate BT sample rate Rx and Tx backend config
Independent configuration of Rx and Tx backend sample rates
for BT usecases.

Change-Id: Ic2437531dad1e53e866100c4022e4667103f4c92
2019-07-01 16:42:18 +02:00
Samyak Jain
3f98673607 wayne-common: 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
2019-07-01 16:42:18 +02:00
Ramjee Singh
5b31993886 wayne-common: audio: Add microphone characteristics and snd device mapping
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.

Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
2019-07-01 16:42:18 +02:00
Md Mansoor Ahmed
fd9c425e2a wayne-common: config: Update keep_alive to support silence playback on 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>
2019-07-01 16:42:18 +02:00
Lakshman Chaluvaraju
13b599f189 wayne-common: audio: Add dynamics processing support
(cherry-picked from c57b29cc104a7f4f1250cf67ce739795f6c2ecaf)

Change-Id: If22b1f2151cec52fa17cad7eecb981c3a591dc2e
2019-07-01 14:15:04 +02:00
LuK1337
b92b5cbf32 wayne-common: Convert audio_effects.conf to XML
* Converted using : https://github.com/luk1337/aeffects-conf2xml

Change-Id: Ida4dabb206f9c9767cc17f5d002d64bca092ed94
2019-07-01 14:15:04 +02:00
Isaac Chen
71ad0c9e53 wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:01:25 +00:00