audio: Remove logger on Android

This commit is contained in:
Hajime Hoshi 2016-11-16 10:24:59 +09:00
parent e47c3bbbfb
commit 443c58104b

View File

@ -16,14 +16,9 @@ package driver
/* /*
#cgo LDFLAGS: -llog
#include <android/log.h>
#include <jni.h> #include <jni.h>
#include <stdlib.h> #include <stdlib.h>
// __android_log_print(ANDROID_LOG_ERROR, "NativeCode", "foo", "bar");
static char* initAudioTrack(uintptr_t java_vm, uintptr_t jni_env, static char* initAudioTrack(uintptr_t java_vm, uintptr_t jni_env,
int sampleRate, int channelNum, int bytesPerSample, jobject* audioTrack, int* bufferSize) { int sampleRate, int channelNum, int bytesPerSample, jobject* audioTrack, int* bufferSize) {
*bufferSize = 0; *bufferSize = 0;