Commit cc830d6f by ojw28

Merge pull request #208 from alexandrite/fix-mp3-buffer

AudioTrack will mark 0-size buffers as consumed
parents ee823a95 52e5b8e8
...@@ -399,6 +399,7 @@ public final class AudioTrack { ...@@ -399,6 +399,7 @@ public final class AudioTrack {
} }
if (size == 0) { if (size == 0) {
result |= RESULT_BUFFER_CONSUMED;
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment