[vlc-devel] [PATCH] opensles_android: fix typo

Zhao Zhili quinkblack at foxmail.com
Tue Sep 25 12:53:36 CEST 2018


---
 modules/audio_output/opensles_android.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index 57c7856861..f0d7360397 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -45,7 +45,7 @@
 JNIEnv *android_getEnv(vlc_object_t *p_obj, const char *psz_thread_name);
 
 #define OPENSLES_BUFFERS 255 /* maximum number of buffers */
-#define VLC_TICK_FROM_MS(OPENSLES_BUFLEN)  10   /* ms */
+#define OPENSLES_BUFLEN  VLC_TICK_FROM_MS(10)
 /*
  * 10ms of precision when mesasuring latency should be enough,
  * with 255 buffers we can buffer 2.55s of audio.
-- 
2.15.1 (Apple Git-101)



More information about the vlc-devel mailing list