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

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

Merge "AudioTrack: fix AudioTrackThread crash upon exit" into lmp-dev

parents 07811789 7985dcb0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2244,6 +2244,9 @@ bool AudioTrack::AudioTrackThread::threadLoop()
            return true;
        }
    }
    if (exitPending()) {
        return false;
    }
    nsecs_t ns = mReceiver.processAudioBuffer();
    switch (ns) {
    case 0: