mm-audio: Fix delay at the start of MT voice call
- Reducing the delay for playing the RINGTONE
before voice call is accepted saves,appr 340ms.
- on this platform reducing the delay wont affect
the RINGTONE as the delay in setting up voice
path after accepting the voice call will
compensate RINGTONE buffers with kernel and
firmware played on the device.
Bug-id: 7612431
Change-Id: Iff5b4545ca7e2316178b0db8cb6760b173c189be
diff --git a/alsa_sound/Android.mk b/alsa_sound/Android.mk
index 738b969..534dd6a 100644
--- a/alsa_sound/Android.mk
+++ b/alsa_sound/Android.mk
@@ -66,7 +66,6 @@
include $(BUILD_SHARED_LIBRARY)
-ifeq (1,0) # use default audio policy manager
# This is the ALSA audio policy manager
include $(CLEAR_VARS)
@@ -74,10 +73,6 @@
LOCAL_CFLAGS := -D_POSIX_SOURCE
LOCAL_CFLAGS += -DQCOM_ACDB_ENABLED
-ifeq ($(BOARD_HAVE_BLUETOOTH),true)
- LOCAL_CFLAGS += -DWITH_A2DP
-endif
-
LOCAL_SRC_FILES := \
audio_policy_hal.cpp \
AudioPolicyManagerALSA.cpp
@@ -88,18 +83,15 @@
LOCAL_STATIC_LIBRARIES := \
libmedia_helper \
- libaudiohw_legacy \
libaudiopolicy_legacy
LOCAL_SHARED_LIBRARIES := \
libcutils \
- libutils \
- libmedia
+ libutils
LOCAL_C_INCLUDES += hardware/libhardware_legacy/audio
include $(BUILD_SHARED_LIBRARY)
-endif
# This is the ALSA module which behaves closely like the original