Skip to content

Commit 17755c2

Browse files
committed
修改AEC_CACHE_LEN大小
1 parent 02ffa3f commit 17755c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)