mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
audio: Remove logger on Android
This commit is contained in:
parent
e47c3bbbfb
commit
443c58104b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user