Loading hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -172,9 +172,11 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DEV_ARBI)),true) LOCAL_SRC_FILES += audio_extn/dev_arbi.c endif ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true) LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY endif endif ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ACDB_LICENSE)), true) LOCAL_CFLAGS += -DDOLBY_ACDB_LICENSE Loading policy_hal/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -27,13 +27,17 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_STATIC_LIBRARIES := \ libmedia_helper \ ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY)),true) LOCAL_CFLAGS += -DVOICE_CONCURRENCY endif endif ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true) LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY endif endif ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true) LOCAL_CFLAGS += -DAUDIO_EXTN_FORMATS_ENABLED Loading policy_hal/AudioPolicyManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1839,7 +1839,7 @@ status_t AudioPolicyManagerCustom::startInput(audio_io_handle_t input, // Move tracks associated to this strategy from previous output to new output for (int i = AUDIO_STREAM_SYSTEM; i < (int)AUDIO_STREAM_CNT; i++) { // Do not call invalidate for ENFORCED_AUDIBLE (otherwise pops are seen for camcorder) if ((i != AUDIO_STREAM_ENFORCED_AUDIBLE && (i != AUDIO_STREAM_PATCH)) { if ((i != AUDIO_STREAM_ENFORCED_AUDIBLE) && (i != AUDIO_STREAM_PATCH)) { ALOGD("Invalidate on releaseInput for stream :: %d ", i); //FIXME see fixme on name change mpClientInterface->invalidateStream((audio_stream_type_t)i); Loading Loading
hal/Android.mk +2 −0 Original line number Diff line number Diff line Loading @@ -172,9 +172,11 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DEV_ARBI)),true) LOCAL_SRC_FILES += audio_extn/dev_arbi.c endif ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true) LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY endif endif ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ACDB_LICENSE)), true) LOCAL_CFLAGS += -DDOLBY_ACDB_LICENSE Loading
policy_hal/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -27,13 +27,17 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_STATIC_LIBRARIES := \ libmedia_helper \ ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY)),true) LOCAL_CFLAGS += -DVOICE_CONCURRENCY endif endif ifneq ($(TARGET_SUPPORTS_WEARABLES),true) ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true) LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY endif endif ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true) LOCAL_CFLAGS += -DAUDIO_EXTN_FORMATS_ENABLED Loading
policy_hal/AudioPolicyManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1839,7 +1839,7 @@ status_t AudioPolicyManagerCustom::startInput(audio_io_handle_t input, // Move tracks associated to this strategy from previous output to new output for (int i = AUDIO_STREAM_SYSTEM; i < (int)AUDIO_STREAM_CNT; i++) { // Do not call invalidate for ENFORCED_AUDIBLE (otherwise pops are seen for camcorder) if ((i != AUDIO_STREAM_ENFORCED_AUDIBLE && (i != AUDIO_STREAM_PATCH)) { if ((i != AUDIO_STREAM_ENFORCED_AUDIBLE) && (i != AUDIO_STREAM_PATCH)) { ALOGD("Invalidate on releaseInput for stream :: %d ", i); //FIXME see fixme on name change mpClientInterface->invalidateStream((audio_stream_type_t)i); Loading