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

Commit 261fd211 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "AudioRecord: Fix minimum frame count calculation." into jb-mr1-dev

parents d06ab147 6f744d75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ status_t AudioRecord::set(

    // validate framecount
    int minFrameCount = 0;
    status_t status = getMinFrameCount(&minFrameCount, sampleRate, format, channelCount);
    status_t status = getMinFrameCount(&minFrameCount, sampleRate, format, channelMask);
    if (status != NO_ERROR) {
        return status;
    }