Release decoded data back to the buffer pool

This commit is contained in:
Cameron Gutman
2013-11-10 03:58:48 -05:00
parent 34e87ca899
commit ab61af0cb7
2 changed files with 8 additions and 1 deletions
@@ -150,6 +150,8 @@ public class NvAudioStream {
}
track.write(samples.data, samples.offset, samples.length);
depacketizer.releaseBuffer(samples);
}
}
}).start();