From 6b5ecdfb9e0acdc2c22b1814b2b2718275434837 Mon Sep 17 00:00:00 2001 From: Luo Jinghua Date: Sun, 19 Aug 2012 11:31:32 +0800 Subject: Removed sleep between writing data to audio track --- src/device_android.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/device_android.cpp b/src/device_android.cpp index 1c15eb7..07a7390 100644 --- a/src/device_android.cpp +++ b/src/device_android.cpp @@ -54,12 +54,10 @@ namespace audiere { void AndroidAudioDevice::update() { - if (!AGAudioIsPaused()) { - AI_Sleep(1); + if (!AGAudioIsPaused()) writeData(); - } else { + else AI_Sleep(10); - } } const char* ADR_CALL -- cgit v1.2.3