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