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

Commit 9f25eadc authored by root's avatar root
Browse files

Fixed typing mistake causing process crashes.

parent c8e4d3f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
    uint32_t u = cblk->user;
    uint32_t bufferEnd = cblk->userBase + cblk->frameCount;

    if (u + framesReady > bufferEnd) {
    if (u + framesReq > bufferEnd) {
        framesReq = bufferEnd - u;
    }