[vlc-devel] [PATCH] opensles: replace fprintf by log
Zhao Zhili
quinkblack at foxmail.com
Tue Jan 23 10:11:43 CET 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 0419d45..0ca215b 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -370,7 +370,7 @@ static int aout_get_native_sample_rate(audio_output_t *aout)
/* 3 for AudioManager.STREAM_MUSIC */
int sample_rate = (*p_env)->CallStaticIntMethod(p_env, cls, method, 3);
(*p_env)->DeleteLocalRef(p_env, cls);
- fprintf(stderr, "aout_get_native_sample_rate: %d\n", sample_rate);
+ msg_Dbg(aout, "%s: %d", __func__, sample_rate);
return sample_rate;
}
--
2.9.5
More information about the vlc-devel
mailing list