Commit a558501e by kimvde Committed by Oliver Woodman

Remove TODO around optimizing sample data outputs in FlacExtractor

Preliminary measurement showed that the results were similar to the non-optimized
version.

PiperOrigin-RevId: 281255476
parent dcebf93a
...@@ -202,8 +202,6 @@ public final class FlacExtractor implements Extractor { ...@@ -202,8 +202,6 @@ public final class FlacExtractor implements Extractor {
state = STATE_READ_FRAMES; state = STATE_READ_FRAMES;
} }
// TODO: consider sending bytes within min frame size directly from the input to the sample queue
// to avoid unnecessary copies in scratch.
private int readFrames(ExtractorInput input) throws IOException, InterruptedException { private int readFrames(ExtractorInput input) throws IOException, InterruptedException {
Assertions.checkNotNull(trackOutput); Assertions.checkNotNull(trackOutput);
Assertions.checkNotNull(flacStreamMetadata); Assertions.checkNotNull(flacStreamMetadata);
......
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