Loading services/audioflinger/Threads.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -7866,7 +7866,8 @@ void DuplicatingThread::removeOutputTrack(IAfPlaybackThread* thread) // caller must hold mutex() void DuplicatingThread::updateWaitTime_l() { mWaitTimeMs = UINT_MAX; // Initialize mWaitTimeMs according to the mixer buffer size. mWaitTimeMs = mNormalFrameCount * 2 * 1000 / mSampleRate; for (size_t i = 0; i < mOutputTracks.size(); i++) { const auto strong = mOutputTracks[i]->thread().promote(); if (strong != 0) { Loading Loading
services/audioflinger/Threads.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -7866,7 +7866,8 @@ void DuplicatingThread::removeOutputTrack(IAfPlaybackThread* thread) // caller must hold mutex() void DuplicatingThread::updateWaitTime_l() { mWaitTimeMs = UINT_MAX; // Initialize mWaitTimeMs according to the mixer buffer size. mWaitTimeMs = mNormalFrameCount * 2 * 1000 / mSampleRate; for (size_t i = 0; i < mOutputTracks.size(); i++) { const auto strong = mOutputTracks[i]->thread().promote(); if (strong != 0) { Loading