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

Commit e2bc208f authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

audioflinger: Remove "exiting=1" parameter

This was used by the remote submix module to unstuck when
input is not consumed. The remote submix module was updated
to not require it.

Bug: 73175392
Test: make
Change-Id: Ic7f6ecbe83251e39052be0693b89db52ab18947c
parent 218f8e3b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1837,10 +1837,6 @@ void AudioFlinger::PlaybackThread::onFirstRef()
void AudioFlinger::PlaybackThread::preExit()
{
    ALOGV("  preExit()");
    // FIXME this is using hard-coded strings but in the future, this functionality will be
    //       converted to use audio HAL extensions required to support tunneling
    status_t result = mOutput->stream->setParameters(String8("exiting=1"));
    ALOGE_IF(result != OK, "Error when setting parameters on exit: %d", result);
}

// PlaybackThread::createTrack_l() must be called with AudioFlinger::mLock held