aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/android/android.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp
index 57e84d07c6..f886347685 100644
--- a/backends/platform/android/android.cpp
+++ b/backends/platform/android/android.cpp
@@ -142,7 +142,7 @@ void *OSystem_Android::timerThreadFunc(void *arg) {
// renice this thread to boost the audio thread
if (setpriority(PRIO_PROCESS, 0, 19) < 0)
- warning("couldn't renice the timer thread");
+ LOGW("couldn't renice the timer thread");
JNI::attachThread();
@@ -250,7 +250,7 @@ void *OSystem_Android::audioThreadFunc(void *arg) {
written = JNI::writeAudio(env, bufa, offset, left);
if (written < 0) {
- error("AudioTrack error: %d", written);
+ LOGE("AudioTrack error: %d", written);
break;
}