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

Commit 07fc5995 authored by Glenn Kasten's avatar Glenn Kasten Committed by android-build-merger
Browse files

Merge "Add systrace for normal read()" into nyc-dev

am: 1c65a1d6

* commit '1c65a1d6':
  Add systrace for normal read()
parents a8756373 1c65a1d6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6082,8 +6082,10 @@ reacquire_wakelock:
            }
        // otherwise use the HAL / AudioStreamIn directly
        } else {
            ATRACE_BEGIN("read");
            ssize_t bytesRead = mInput->stream->read(mInput->stream,
                    (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize);
            ATRACE_END();
            if (bytesRead < 0) {
                framesRead = bytesRead;
            } else {