diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2012-08-19 11:31:32 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2012-08-19 11:31:32 +0800 |
commit | 6b5ecdfb9e0acdc2c22b1814b2b2718275434837 (patch) | |
tree | b24b344a0d8e7cf2f47dca3b85e76ac7e9640c4e /src | |
parent | b37f657a11299ca4935af05b555deafd8a43cd49 (diff) |
Removed sleep between writing data to audio track
Diffstat (limited to 'src')
-rw-r--r-- | src/device_android.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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 |