Skip to content

Commit e089a50

Browse files
committed
PipeReader: Do not flush on overrun.
No longer needed as RecordThread overrun handling has improved. Test: Directed test, see bug. Bug: 79145022 Change-Id: Iee72da1f628639632e030218fb717400a1cc1bd8
1 parent 0f59472 commit e089a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libnbaio/PipeReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace android {
2626

2727
PipeReader::PipeReader(Pipe& pipe) :
2828
NBAIO_Source(pipe.mFormat),
29-
mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, true /*flush*/),
29+
mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, false /*flush*/),
3030
mFramesOverrun(0),
3131
mOverruns(0)
3232
{

0 commit comments

Comments
 (0)