Loading services/audioflinger/Threads.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -4450,7 +4450,7 @@ bool AudioFlinger::RecordThread::threadLoop() // make a stable copy of mActiveTrack activeTrack = mActiveTrack; if (activeTrack == 0) { standby(); standbyIfNotAlreadyInStandby(); // exitPending() can't become true here releaseWakeLock_l(); ALOGV("RecordThread: loop stopping"); Loading @@ -4470,7 +4470,7 @@ bool AudioFlinger::RecordThread::threadLoop() activeTrackState = activeTrack->mState; switch (activeTrackState) { case TrackBase::PAUSING: standby(); standbyIfNotAlreadyInStandby(); mActiveTrack.clear(); mStartStopCond.broadcast(); doSleep = true; Loading Loading @@ -4648,7 +4648,7 @@ bool AudioFlinger::RecordThread::threadLoop() // effectChains doesn't need to be cleared, since it is cleared by destructor at scope end } standby(); standbyIfNotAlreadyInStandby(); { Mutex::Autolock _l(mLock); Loading @@ -4666,7 +4666,7 @@ bool AudioFlinger::RecordThread::threadLoop() return false; } void AudioFlinger::RecordThread::standby() void AudioFlinger::RecordThread::standbyIfNotAlreadyInStandby() { if (!mStandby) { inputStandBy(); Loading services/audioflinger/Threads.h +1 −1 Original line number Diff line number Diff line Loading @@ -931,7 +931,7 @@ private: void clearSyncStartEvent(); // Enter standby if not already in standby, and set mStandby flag void standby(); void standbyIfNotAlreadyInStandby(); // Call the HAL standby method unconditionally, and don't change mStandby flag void inputStandBy(); Loading Loading
services/audioflinger/Threads.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -4450,7 +4450,7 @@ bool AudioFlinger::RecordThread::threadLoop() // make a stable copy of mActiveTrack activeTrack = mActiveTrack; if (activeTrack == 0) { standby(); standbyIfNotAlreadyInStandby(); // exitPending() can't become true here releaseWakeLock_l(); ALOGV("RecordThread: loop stopping"); Loading @@ -4470,7 +4470,7 @@ bool AudioFlinger::RecordThread::threadLoop() activeTrackState = activeTrack->mState; switch (activeTrackState) { case TrackBase::PAUSING: standby(); standbyIfNotAlreadyInStandby(); mActiveTrack.clear(); mStartStopCond.broadcast(); doSleep = true; Loading Loading @@ -4648,7 +4648,7 @@ bool AudioFlinger::RecordThread::threadLoop() // effectChains doesn't need to be cleared, since it is cleared by destructor at scope end } standby(); standbyIfNotAlreadyInStandby(); { Mutex::Autolock _l(mLock); Loading @@ -4666,7 +4666,7 @@ bool AudioFlinger::RecordThread::threadLoop() return false; } void AudioFlinger::RecordThread::standby() void AudioFlinger::RecordThread::standbyIfNotAlreadyInStandby() { if (!mStandby) { inputStandBy(); Loading
services/audioflinger/Threads.h +1 −1 Original line number Diff line number Diff line Loading @@ -931,7 +931,7 @@ private: void clearSyncStartEvent(); // Enter standby if not already in standby, and set mStandby flag void standby(); void standbyIfNotAlreadyInStandby(); // Call the HAL standby method unconditionally, and don't change mStandby flag void inputStandBy(); Loading