Remove Telephony Rx to make in call record use case through
different front end pcm device when sva enabled to solve concurrency
capture issue
Change-Id: I8a036423da689a4de9abe767a0b6a595b4e068f1
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.
Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.
CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
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
Backend config is missing for voice handset when TMU operator
is used due to which hw params is not set properly.
Add backend config for handset tmu operator sound device
in kona, lito and atoll variants.
[wight554: update interface to match SND_DEVICE_OUT_VOICE_HANDSET]
Change-Id: I199fa0bd33d682a129a4e77f25d32f615b175310
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
This DEFAULT adm_config profile will be used whenever a session is
in non-LPI with FFECNS disabled.
AFE will connect to ADM but will have none_topology.
Change-Id: I636667c376aa4309b67897e5dd162c4d318863f8
Built-in mic and Built-In Back Mic aren't in supported devices
list of primary input, so record_24 is selected if without
connecting any headset, if there is more than 2 capture
concurrency, it will fail to open input for primary input when
connecting headset in AHAL.
Add built-in mic to primary input sources to reuse input to avoid
to open extra input stream in AHAL.
CRs-fixed: 2643298
Change-Id: I1e062520f7fb03ae97c88341dd58f77177dbe030
Add sound trigger implementer version. Set the version value to 0x0101.
This is to add SVA4.0 support from STHAL so that the client app can
make use of this version info to get to know of platform SVA4.0 support
Change-Id: I85945ba49f31e2a7b9295e77a629737ddcb8d7d5
Allocate dedicated pcm node for in call recording, this can
avoid conflicting with generic audio recording for concurrent
recording scenarios.
Change-Id: I77f78a495623a55ad9c475d2554e7af326c68d7b
[wight554: add property_override to common header]
Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: Ia6b6f753891b639dad4e380bdba6b594faf2a550
Allow system permission for RPS sysfs nodes, so that cnss-daemon,
user space daemon can enable RPS(Receive packet steering) feature.
Change-Id: Iccebc347d959fc8ca35f28cb64e7bcf6b05f341a
CRs-Fixed: 2768237
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.
Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
Define ro.media.recorder-max-base-layer-fps property to
60fps, so that layering will done only
when framerate is greater than max-base-layer-fps
CRs-Fixed: 2621390
Change-Id: I318024ac03a5f981df4310a48c294d90c0cd885a