Skip to content

Commit 04186b8

Browse files
committed
Fix most bit depth issue(Include HTC phone)
Fix most bit depth issue
1 parent a34d6e5 commit 04186b8

File tree

654 files changed

+109584
-4244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

654 files changed

+109584
-4244
lines changed

Audio_Engine/eclipse_libjamesdsp_double/jni/hardware/system/audio.h

Lines changed: 0 additions & 1423 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

Audio_Engine/eclipse_libjamesdsp_many_bands_Lollipop_Marshmallow_Nougat_PartialMultithread/.project renamed to Audio_Engine/eclipse_libjamesdsp_free/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>libjamesdsp_PartialMultithread</name>
3+
<name>libjamesdsp_Free</name>
44
<comment></comment>
55
<projects>
66
</projects>

Audio_Engine/eclipse_libjamesdsp_double/.settings/org.eclipse.cdt.codan.core.prefs renamed to Audio_Engine/eclipse_libjamesdsp_free/.settings/org.eclipse.cdt.codan.core.prefs

File renamed without changes.

Audio_Engine/eclipse_libjamesdsp_double/.settings/org.eclipse.jdt.core.prefs renamed to Audio_Engine/eclipse_libjamesdsp_free/.settings/org.eclipse.jdt.core.prefs

File renamed without changes.

Audio_Engine/eclipse_libjamesdsp_double/AndroidManifest.xml renamed to Audio_Engine/eclipse_libjamesdsp_free/AndroidManifest.xml

File renamed without changes.

Audio_Engine/eclipse_libjamesdsp_double/jni/Android.mk renamed to Audio_Engine/eclipse_libjamesdsp_free/jni/Android.mk

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@ LOCAL_PATH := $(call my-dir)
22
include $(CLEAR_VARS)
33
LOCAL_MODULE := fftw3
44
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
5-
LOCAL_SRC_FILES := libfftw3.a
5+
LOCAL_SRC_FILES := fftw/FloatARMNEON/libfftw3fNeon.a
6+
else ifeq ($(TARGET_ARCH_ABI), arm64-v8a)
7+
LOCAL_SRC_FILES := fftw/FloatARMNEON64/libfftw3f.a
68
else ifeq ($(TARGET_ARCH_ABI), x86)
7-
LOCAL_SRC_FILES := libfftw3x86.a
9+
LOCAL_SRC_FILES := fftw/Floatx86/libfftw3f.a
810
endif
911
include $(PREBUILT_STATIC_LIBRARY)
1012
include $(CLEAR_VARS)
1113
LOCAL_MODULE := fftw3thread
1214
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
13-
LOCAL_SRC_FILES := libfftw3_threads.a
15+
LOCAL_SRC_FILES := fftw/FloatARMNEON/libfftw3f_threadsNeon.a
16+
else ifeq ($(TARGET_ARCH_ABI), arm64-v8a)
17+
LOCAL_SRC_FILES := fftw/FloatARMNEON64/libfftw3f_threads.a
1418
else ifeq ($(TARGET_ARCH_ABI), x86)
15-
LOCAL_SRC_FILES := libfftw3_threadsx86.a
19+
LOCAL_SRC_FILES := fftw/Floatx86/libfftw3f_threads.a
1620
endif
1721
include $(PREBUILT_STATIC_LIBRARY)
1822
include $(CLEAR_VARS)
@@ -37,10 +41,10 @@ LOCAL_SRC_FILES := \
3741
# terminator
3842

3943
LOCAL_STATIC_LIBRARIES := fftw3thread fftw3
40-
#LOCAL_LDLIBS := -llog
44+
LOCAL_LDLIBS := -llog
4145
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
42-
LOCAL_CPPFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections -Ofast -march=armv7-a -mfpu=neon -ftree-vectorize -DNDEBUG# -DDEBUG
43-
LOCAL_CFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections -Ofast -march=armv7-a -mfpu=neon -ftree-vectorize -DNDEBUG# -DDEBUG
46+
LOCAL_CPPFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections -Ofast -march=armv7-a -mfpu=neon -ftree-vectorize -DNDEBUG -DDEBUG
47+
LOCAL_CFLAGS += -Wall -Wextra -ffunction-sections -fdata-sections -Ofast -march=armv7-a -mfpu=neon -ftree-vectorize -DNDEBUG -DDEBUG
4448
else ifeq ($(TARGET_ARCH_ABI), x86)
4549
LOCAL_CPPFLAGS += -ffunction-sections -fdata-sections -Ofast -ftree-vectorize -DNDEBUG# -DDEBUG
4650
LOCAL_CFLAGS += -ffunction-sections -fdata-sections -Ofast -ftree-vectorize -DNDEBUG# -DDEBUG

Audio_Engine/eclipse_libjamesdsp_double/jni/Application.mk renamed to Audio_Engine/eclipse_libjamesdsp_free/jni/Application.mk

File renamed without changes.

Audio_Engine/eclipse_libjamesdsp_many_bands_Lollipop_Marshmallow_Nougat_PartialMultithread/jni/ArbFIRGen.c renamed to Audio_Engine/eclipse_libjamesdsp_free/jni/ArbFIRGen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void minimumPhaseSpectrum(fftwf_complex* timeData, fftwf_complex* freqData, fftw
265265
freqData[i][1] = eR * sinf(freqData[i][1]);
266266
}
267267
}
268-
inline float gainAtLogGrid(ArbitraryEq *gains, float freq)
268+
float gainAtLogGrid(ArbitraryEq *gains, float freq)
269269
{
270270
float dbGain = 0.0f, logLeft, logRightMinusLeft;
271271
if (!gains->nodesCount)

0 commit comments

Comments
 (0)