Skip to content

Commit e8bacb4

Browse files
jmtriviAndroid (Google) Code Review
authored andcommitted
Merge "Effect for multichannel PCM downmix to stereo"
2 parents 1ce1307 + 64143ab commit e8bacb4

File tree

3 files changed

+1013
-0
lines changed

3 files changed

+1013
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
LOCAL_PATH:= $(call my-dir)
2+
3+
# Multichannel downmix effect library
4+
include $(CLEAR_VARS)
5+
6+
LOCAL_SRC_FILES:= \
7+
EffectDownmix.c
8+
9+
LOCAL_SHARED_LIBRARIES := \
10+
libcutils
11+
12+
LOCAL_MODULE:= libdownmix
13+
14+
LOCAL_MODULE_TAGS := optional
15+
16+
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
17+
18+
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
19+
LOCAL_LDLIBS += -ldl
20+
endif
21+
22+
LOCAL_C_INCLUDES := \
23+
system/media/audio_effects/include \
24+
system/media/audio_utils/include
25+
26+
LOCAL_PRELINK_MODULE := false
27+
28+
include $(BUILD_SHARED_LIBRARY)

0 commit comments

Comments
 (0)