Skip to content

Commit 15f3608

Browse files
committed
修改AEC_CACHE_LEN大小
1 parent 02ffa3f commit 15f3608

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

android/ijkplayer/ijkplayer-arm64/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
//noinspection GroovyAssignabilityCheck
1010
buildToolsVersion rootProject.ext.buildToolsVersion
1111

12-
ndkVersion "21.4.7075529"
12+
ndkVersion "25.1.8937393"
1313

1414
defaultConfig {
1515
minSdkVersion 9

android/ijkplayer/ijkplayer-armv7a/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
//noinspection GroovyAssignabilityCheck
1010
buildToolsVersion rootProject.ext.buildToolsVersion
1111

12-
ndkVersion "21.4.7075529"
12+
ndkVersion "25.1.8937393"
1313

1414
defaultConfig {
1515
minSdkVersion 9

ijkmedia/ijkplayer/android/ijkplayer_jni.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
static JavaVM* g_jvm;
5454

5555
// for AEC
56-
#define AEC_CACHE_LEN 204800
56+
#define AEC_CACHE_LEN 102400
5757
// typedef unsigned char byte;
5858
// static byte pcm_arr[AEC_CACHE_LEN];
5959
uint8_t pcm_arr[AEC_CACHE_LEN];

ijkmedia/ijkplayer/ff_ffplay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
// for AEC
9191
#include <pthread.h>
9292
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
93-
#define AEC_CACHE_LEN 204800
93+
#define AEC_CACHE_LEN 102400
9494

9595
// FIXME: 9 work around NDKr8e or gcc4.7 bug
9696
// isnan() may not recognize some double NAN, so we test both double and float

0 commit comments

Comments
 (0)