Loading services/audioflinger/Threads.cpp +7 −3 Original line number Diff line number Diff line Loading @@ -4065,7 +4065,13 @@ NO_THREAD_SAFETY_ANALYSIS // manual locking of AudioFlinger // FIXME could this be made local to while loop? writeFrames = 0; { audio_utils::lock_guard l(mutex()); cacheParameters_l(); checkSilentMode_l(); } mSleepTimeUs = mIdleSleepTimeUs; if (mType == MIXER || mType == SPATIALIZER) { Loading @@ -4090,8 +4096,6 @@ NO_THREAD_SAFETY_ANALYSIS // manual locking of AudioFlinger // suspended mode (for now) to help schedule the wait time until next iteration. nsecs_t timeLoopNextNs = 0; checkSilentMode_l(); audio_patch_handle_t lastDownstreamPatchHandle = AUDIO_PATCH_HANDLE_NONE; sendCheckOutputStageEffectsEvent(); Loading Loading
services/audioflinger/Threads.cpp +7 −3 Original line number Diff line number Diff line Loading @@ -4065,7 +4065,13 @@ NO_THREAD_SAFETY_ANALYSIS // manual locking of AudioFlinger // FIXME could this be made local to while loop? writeFrames = 0; { audio_utils::lock_guard l(mutex()); cacheParameters_l(); checkSilentMode_l(); } mSleepTimeUs = mIdleSleepTimeUs; if (mType == MIXER || mType == SPATIALIZER) { Loading @@ -4090,8 +4096,6 @@ NO_THREAD_SAFETY_ANALYSIS // manual locking of AudioFlinger // suspended mode (for now) to help schedule the wait time until next iteration. nsecs_t timeLoopNextNs = 0; checkSilentMode_l(); audio_patch_handle_t lastDownstreamPatchHandle = AUDIO_PATCH_HANDLE_NONE; sendCheckOutputStageEffectsEvent(); Loading