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

Commit ea30d032 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libaudiohal: Decrease mLastReplyLifeTimeNs to update the reply more often" into main

parents 3c903be5 dadaeae3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -84,8 +84,8 @@ StreamHalAidl::StreamHalAidl(
          mStream(stream),
          mVendorExt(vext),
          mLastReplyLifeTimeNs(
                  std::min(static_cast<size_t>(100),
                          2 * mContext.getBufferDurationMs(mConfig.sample_rate))
                  std::min(static_cast<size_t>(20),
                           mContext.getBufferDurationMs(mConfig.sample_rate))
                  * NANOS_PER_MILLISECOND)
{
    ALOGD("%p %s::%s", this, getClassName().c_str(), __func__);