Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7236a36c authored by Robert Wu's avatar Robert Wu
Browse files

AAudio: Remove stale audio track comment

requestFlush_l already calls incrementFramesRead
to advance the read position to the write position.

This cl removes an unnecessary comment.

Bug: 242581181
Test: atest test_various

Change-Id: I41a34f15653732c67cb89f94aaedae6671dbc8f8
parent 5a4e5db4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -406,7 +406,6 @@ aaudio_result_t AudioStreamTrack::processCommands() {
            if (err != OK) {
                return AAudioConvert_androidToAAudioResult(err);
            } else if (position == 0) {
                // TODO Advance frames read to match written.
                setState(AAUDIO_STREAM_STATE_FLUSHED);
            }
        }