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

Commit 132bc5bd authored by Glenn Kasten's avatar Glenn Kasten Committed by Gerrit Code Review
Browse files

Merge "Noise will be heard if audio sample rate not matched with audio track"

parents effc08ed da5b509f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1121,8 +1121,8 @@ ssize_t AudioTrack::write(const void* buffer, size_t userSize)
        } else {
            toWrite = audioBuffer.size;
            memcpy(audioBuffer.i8, src, toWrite);
            src += toWrite;
        }
        src += toWrite;
        userSize -= toWrite;
        written += toWrite;