From 7f875d4ed1f3f3d3145880cee7559c3bfc0fdb50 Mon Sep 17 00:00:00 2001 From: Preetam Singh Ranawat Date: Wed, 29 May 2019 13:50:00 +0530 Subject: [PATCH] audio: Fix Audio Record issue. -Audio record is not working as max supported channel count is not specified for lito target, default channel count 1 is used as supported channels. -Define max channel count to 4. Change-Id: I001b51d595f3fa93c3ce0b85978d5148551f5179 --- hal/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/hal/Android.mk b/hal/Android.mk index 383a2728..b4466691 100644 --- a/hal/Android.mk +++ b/hal/Android.mk @@ -85,6 +85,7 @@ ifneq ($(filter $(TRINKET) ,$(TARGET_BOARD_PLATFORM)),) endif ifneq ($(filter lito,$(TARGET_BOARD_PLATFORM)),) LOCAL_CFLAGS := -DPLATFORM_LITO + LOCAL_CFLAGS += -DMAX_TARGET_SPECIFIC_CHANNEL_CNT="4" endif ifneq ($(filter sdm660,$(TARGET_BOARD_PLATFORM)),) LOCAL_CFLAGS := -DPLATFORM_MSMFALCON