* Align with OnePlus' 24 bit-width audio enforcement.
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ia0e067a6f7f6ff4ca3bf97b896e38a851954d1a9
* OnePlus had made the corresponding change in the IO policy config
but however it seems that policy side configuration was left as is
due to which format routing to device was broken as the IO policy
specificed a 24bit PCM format for primary audio meanwhile the policy
config marked 16bit PCM as the format causing backend failures.
* This will also align to OnePlus's 24 bit width audio enforcement.
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
Change-Id: Ic5e715311c6d3c46579b93346a9ffd814e022e91
* Ultra low latency playback is currently broken. Crackling audio
can be well noticed while playing WhatsApp audio messages or even
during some games.
* This patch routes all audio that normally used audio-ull-playback
paths to low-latency-playback paths instead, thus meaning we're
switching from ULL to LL mode.
Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening
Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
Generic recording and SVA LAB capture usecase can select
"fast input" or "quad mic" as a compatible profile, due
to the max active count is 1, audio recording and SVA
LAB capture concurrency can be failed.
Move the two profiles to the bottom for exact match
purpose.
Change-Id: Idaa615e653f0cf49e465809ab0034c0e56470a6e
Use usb_surround_sound input profile for usb capture to avoid
opening a new input for the second usb capture.
Change-Id: Id17a5daf9aefb390f374754c340a69b2113fe987
Usecase audio-record and audio-record-compress2 can both be
mapped to record_24 profile, if both the usecases are active,
when BT SCO mic is connected, due to no more available usecases
in audio hal, check inputs for device can fail for other input
profiles which support BT SCO mic.
This makes BT SCO mic connection to be rejected and phone call
can't route to BT.
Add the support for record_24 profile, so existing input handle
can be returned when checking inputs for BT SCO mic.
Change-Id: I63046ec87e35774474e08762fb6aa6275318b2c8
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
CTS test USB Audio Peripheral Attributes fails due to
extra profiles getting added
remove the extra profiles added for USB input device
Change-Id: I19311a65612bb8ecad40d9a3714a5cfe32dce110
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