Loading media/libaaudio/src/client/AudioStreamInternal.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -870,8 +870,9 @@ aaudio_result_t AudioStreamInternal::processData(void *buffer, int32_t numFrames framesLeft -= (int32_t) framesProcessed; audioData += framesProcessed * getBytesPerFrame(); if (framesLeft <= 0) { // No need to wait, all data has been written. if (isDataCallbackSet() && framesLeft <= 0) { // The client uses block write and all data has been written. There is no need to // wait until the wakeup time. break; } Loading Loading
media/libaaudio/src/client/AudioStreamInternal.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -870,8 +870,9 @@ aaudio_result_t AudioStreamInternal::processData(void *buffer, int32_t numFrames framesLeft -= (int32_t) framesProcessed; audioData += framesProcessed * getBytesPerFrame(); if (framesLeft <= 0) { // No need to wait, all data has been written. if (isDataCallbackSet() && framesLeft <= 0) { // The client uses block write and all data has been written. There is no need to // wait until the wakeup time. break; } Loading