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

Commit 380558bc authored by Eric Laurent's avatar Eric Laurent
Browse files

Additional fix for isssue 2548710: Native AudioTrack resources never freed.

This changes fixes the issue for the direct output thread that was not
addressed by commit 71f37cd8.

Change-Id: I1bbe26be5f444415dd97270e49257650f5d2858f
parent 78158db5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1867,7 +1867,7 @@ bool AudioFlinger::DirectOutputThread::threadLoop()
                // The first time a track is added we wait
                // for all its buffers to be filled before processing it
                if (cblk->framesReady() && (track->isReady() || track->isStopped()) &&
                        !track->isPaused())
                        !track->isPaused() && !track->isTerminated())
                {
                    //LOGV("track %d u=%08x, s=%08x [OK]", track->name(), cblk->user, cblk->server);